aboutsummaryrefslogtreecommitdiffstats
path: root/sway/handlers.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/handlers.c')
-rw-r--r--sway/handlers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/handlers.c b/sway/handlers.c
index 24e8e014..0157d466 100644
--- a/sway/handlers.c
+++ b/sway/handlers.c
@@ -252,7 +252,7 @@ static void handle_view_state_request(wlc_handle view, enum wlc_view_state_bit s
252static bool handle_key(wlc_handle view, uint32_t time, const struct wlc_modifiers 252static bool handle_key(wlc_handle view, uint32_t time, const struct wlc_modifiers
253 *modifiers, uint32_t key, uint32_t sym, enum wlc_key_state state) { 253 *modifiers, uint32_t key, uint32_t sym, enum wlc_key_state state) {
254 enum { QSIZE = 32 }; 254 enum { QSIZE = 32 };
255 if (locked_view_focus) { 255 if (locked_view_focus && state == WLC_KEY_STATE_PRESSED) {
256 return false; 256 return false;
257 } 257 }
258 static uint8_t head = 0; 258 static uint8_t head = 0;