sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit ceb0ef64c2e32ed9e1246a8730032ebbc44b730a
parent 79bfd620d6f7a3d089898ec6391411c2c6b22668
Author: Mikkel Oscar Lyderik <mikkeloscar@gmail.com>
Date:   Fri,  4 Mar 2016 17:10:43 +0100

Reset input state when locking compositor

Fix #498

Diffstat:
Msway/extensions.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/sway/extensions.c b/sway/extensions.c @@ -5,6 +5,7 @@ #include "wayland-swaylock-server-protocol.h" #include "layout.h" #include "log.h" +#include "input_state.h" #include "extensions.h" struct desktop_shell_state desktop_shell; @@ -123,6 +124,8 @@ static void set_lock_surface(struct wl_client *client, struct wl_resource *resou wlc_view_set_state(view->handle, WLC_BIT_FULLSCREEN, true); workspace->fullscreen = view; desktop_shell.is_locked = true; + // reset input state + input_init(); set_focused_container(view); arrange_windows(workspace, -1, -1); list_add(desktop_shell.lock_surfaces, surface);