mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
desktop: refactor desktop_focus_view()
This commit is contained in:
parent
aa0b2b8e9e
commit
f752610e0b
6 changed files with 23 additions and 35 deletions
|
|
@ -52,7 +52,7 @@ keyboard_key_notify(struct wl_listener *listener, void *data)
|
|||
if ((syms[0] == XKB_KEY_Alt_L) &&
|
||||
event->state == WLR_KEY_RELEASED) {
|
||||
/* end cycle */
|
||||
desktop_focus_view(server->cycle_view);
|
||||
desktop_focus_view(&server->seat, server->cycle_view);
|
||||
server->cycle_view = NULL;
|
||||
} else if (event->state == WLR_KEY_PRESSED) {
|
||||
/* cycle to next */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue