mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
osd: refactor to not write server->osd_state outside osd.c
This commit is contained in:
parent
8f8e734405
commit
6fe688b3e4
4 changed files with 47 additions and 33 deletions
|
|
@ -497,10 +497,7 @@ handle_cycle_view_key(struct server *server, struct keyinfo *keyinfo)
|
|||
|
||||
/* Only one direction modifier is allowed, either arrow keys OR shift */
|
||||
miss_shift_toggle:
|
||||
|
||||
server->osd_state.cycle_view = desktop_cycle_view(server,
|
||||
server->osd_state.cycle_view, direction);
|
||||
osd_update(server);
|
||||
osd_cycle(server, direction);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue