aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorsthen2009-05-17 17:04:59 +0000
committersthen2009-05-17 17:04:59 +0000
commit45b1bd6c4ea47f222e9473807ed7ae379d1abe06 (patch)
tree835dee4d53088109a42f931c360e8af7bdf5bf36 /calmwm.h
parent51a0c06ae5fd3c3c2698460f51dae1fb9af03310 (diff)
downloadcwm-45b1bd6c4ea47f222e9473807ed7ae379d1abe06.tar.gz
add a "movetogroup" function, which hides the current window from
display and moves it to another group. useful with the recently added "grouponly" function, giving the ability to use groups as simple virtual desktops (similar to e.g. xmonad, dwm and scrotwm). this doesn't have default keyboard bindings; cwmrc(5) now shows how you could use these functions (use M-1...9 for grouponly1...9 and MS-1...9 for movetogroup1...9 to emulate the default dwm bindings). ok oga@
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/calmwm.h b/calmwm.h
index 8ffb1fb..1b19641 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: calmwm.h,v 1.86 2009/05/14 16:29:58 oga Exp $
+ * $Id: calmwm.h,v 1.87 2009/05/17 17:04:59 sthen Exp $
*/
#ifndef _CALMWM_H_
@@ -446,6 +446,8 @@ void kbfunc_client_nogroup(struct client_ctx *,
union arg *);
void kbfunc_client_grouptoggle(struct client_ctx *,
union arg *);
+void kbfunc_client_movetogroup(struct client_ctx *,
+ union arg *);
void kbfunc_client_maximize(struct client_ctx *,
union arg *);
void kbfunc_client_vmaximize(struct client_ctx *,
@@ -488,6 +490,7 @@ void group_alltoggle(void);
void group_sticky_toggle_enter(struct client_ctx *);
void group_sticky_toggle_exit(struct client_ctx *);
void group_autogroup(struct client_ctx *);
+void group_movetogroup(struct client_ctx *, int);
void font_init(struct screen_ctx *);
int font_width(const char *, int);