From 843661c28abc8d2bca24007005e1972a0d12c377 Mon Sep 17 00:00:00 2001 From: Some Chinese Guy Date: Mon, 11 May 2020 13:52:55 +0300 Subject: [PATCH] minor fixes --- seat.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/seat.c b/seat.c index cc34bfceb..fdadf8d81 100644 --- a/seat.c +++ b/seat.c @@ -62,12 +62,6 @@ static void keyboard_key(void *data, struct wl_keyboard *wl_keyboard, if (key_state == WL_KEYBOARD_KEY_STATE_RELEASED) { codepoint = 0; } - /*if (key_state == WL_KEYBOARD_KEY_STATE_PRESSED) { - swaylock_handle_key(state, sym, codepoint); - } else { - state->touch.current_pressed = -1; //CRUTCH - state->touch.pressed = false; - }*/ swaylock_handle_key(state, sym, codepoint); }