summary refs log tree commit diff
path: root/kbfunc.c
diff options
context:
space:
mode:
authorokan <okan>2014-08-25 12:49:19 +0000
committerokan <okan>2014-08-25 12:49:19 +0000
commit7314a3aefd33e901cfa1bd4a48eb4e75be4c01e2 (patch)
tree35bc0dd75f4e6dbd5072bbefd10d949e374b100d /kbfunc.c
parented164794cb3d375b24809f1f042124109ee1fbea (diff)
downloadcwm-7314a3aefd33e901cfa1bd4a48eb4e75be4c01e2.tar.gz
cwm-7314a3aefd33e901cfa1bd4a48eb4e75be4c01e2.tar.xz
cwm-7314a3aefd33e901cfa1bd4a48eb4e75be4c01e2.zip
Implement _NET_WM_STATE_STICKY, bound to CM-s by default; allows any
client to 'stick' to all desktops (ewmh speak) or groups - this
currently has the same affect as setting a client's group to 'nogroup',
with the exception that the client can also be in a group, so when
un-sticking, the client will go back to its original group/desktop.
Diffstat (limited to 'kbfunc.c')
-rw-r--r--kbfunc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/kbfunc.c b/kbfunc.c
index 813f8e6..241c0b4 100644
--- a/kbfunc.c
+++ b/kbfunc.c
@@ -433,6 +433,12 @@ kbfunc_client_movetogroup(struct client_ctx *cc, union arg *arg)
 }
 
 void
+kbfunc_client_sticky(struct client_ctx *cc, union arg *arg)
+{
+	client_sticky(cc);
+}
+
+void
 kbfunc_client_fullscreen(struct client_ctx *cc, union arg *arg)
 {
 	client_fullscreen(cc);