diff options
author | nyorain <nyorain@gmail.com> | 2017-06-22 17:23:17 +0200 |
---|---|---|
committer | nyorain <nyorain@gmail.com> | 2017-06-22 17:23:31 +0200 |
commit | 0813c1dd39942613d9dd47a60922820b6f1610ef (patch) | |
tree | 2ced93162e0fedadf0ce754eabb90a7ade307738 /example/rotation.c | |
parent | d26a9ba968472cb5c78d9ea0aea3d8f5ff02fbf5 (diff) | |
parent | bb16025318e1c3d3844e71e6e8f29b1e8634ec3e (diff) |
Merge branch 'master' into wayland-input
Diffstat (limited to 'example/rotation.c')
-rw-r--r-- | example/rotation.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/example/rotation.c b/example/rotation.c index b795b438..7eed1c2e 100644 --- a/example/rotation.c +++ b/example/rotation.c @@ -107,9 +107,6 @@ static void handle_keyboard_key(struct keyboard_state *kbstate, // Also, key repeat if (key_state == WLR_KEY_PRESSED) { switch (sym) { - case XKB_KEY_Escape: - kbstate->compositor->exit = true; - break; case XKB_KEY_Left: update_velocities(kbstate->compositor, -16, 0); break; @@ -123,10 +120,6 @@ static void handle_keyboard_key(struct keyboard_state *kbstate, update_velocities(kbstate->compositor, 0, 16); break; } - - if (sym >= XKB_KEY_F1 && sym <= XKB_KEY_F12) { - wlr_session_change_vt(kbstate->compositor->session, sym - XKB_KEY_F1 + 1); - } } } |