summaryrefslogtreecommitdiff
path: root/clients
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2014-01-11 13:10:21 -0800
committerKristian Høgsberg <krh@bitplanet.net>2014-01-11 13:58:33 -0800
commit211b517e8c62d64e7500194af5b9a0b0e331f27c (patch)
treedf67482bf3e940e5179bc147348a21a31620fad8 /clients
parentb637a40df950398cb0b4ab7f77f73fc7e7886fe8 (diff)
downloadweston-211b517e8c62d64e7500194af5b9a0b0e331f27c.tar.gz
shell: Move maximize and fullscreen bindings to mod + SHIFT
mod + f and mod + m conflict with too many application bindings, in particular if mod is mapped to ALT.
Diffstat (limited to 'clients')
-rw-r--r--clients/window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/clients/window.c b/clients/window.c
index d59b9c7f..dddfc670 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -2934,6 +2934,7 @@ keyboard_handle_key(void *data, struct wl_keyboard *keyboard,
if (num_syms == 1)
sym = syms[0];
+
if (sym == XKB_KEY_F5 && input->modifiers == MOD_ALT_MASK) {
if (state == WL_KEYBOARD_KEY_STATE_PRESSED)
window_set_maximized(window,