mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
session-lock: clear focused surface on lock
Before this commit, keyboard events were sent to the focused surface before the session-lock client maps its surfaces.
This commit is contained in:
parent
6bc93cf468
commit
1b122422f5
1 changed files with 1 additions and 0 deletions
|
|
@ -318,6 +318,7 @@ handle_new_session_lock(struct wl_listener *listener, void *data)
|
|||
|
||||
/* Remember the focused view to restore it on unlock */
|
||||
manager->last_active_view = manager->server->active_view;
|
||||
seat_focus_surface(&manager->server->seat, NULL);
|
||||
|
||||
struct output *output;
|
||||
wl_list_for_each(output, &manager->server->outputs, link) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue