mirror of
https://github.com/labwc/labwc.git
synced 2026-03-03 01:40:37 -05:00
layer: move the "locked" check to seat_force_focus_surface()
This commit is contained in:
parent
a277c35c3d
commit
00ad5a03f2
2 changed files with 4 additions and 3 deletions
|
|
@ -762,6 +762,9 @@ seat_reconfigure(struct server *server)
|
|||
void
|
||||
seat_force_focus_surface(struct seat *seat, struct wlr_surface *surface)
|
||||
{
|
||||
if (seat->server->session_lock_manager->locked) {
|
||||
return;
|
||||
}
|
||||
uint32_t *pressed_sent_keycodes = key_state_pressed_sent_keycodes();
|
||||
int nr_pressed_sent_keycodes = key_state_nr_pressed_sent_keycodes();
|
||||
struct wlr_keyboard *kb = &seat->keyboard_group->keyboard;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue