diff options
author | okan | 2014-08-25 12:49:19 +0000 |
---|---|---|
committer | okan | 2014-08-25 12:49:19 +0000 |
commit | 69a4c46eec5a14a1d2e31092a91056655acdf8d5 (patch) | |
tree | c10c50866a4c73f0d0b589095ba3f9699563983e /kbfunc.c | |
parent | ae4c24de00ab3e9be5c41678e10d4f38d97274b2 (diff) | |
download | cwm-69a4c46eec5a14a1d2e31092a91056655acdf8d5.tar.gz |
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.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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. * - * $OpenBSD: kbfunc.c,v 1.95 2014/01/30 15:41:11 okan Exp $ + * $OpenBSD: kbfunc.c,v 1.96 2014/08/25 12:49:19 okan Exp $ */ #include <sys/param.h> @@ -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); |