mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
view: refactor view_next()
This commit is contained in:
parent
b8fd4fed53
commit
afaf78aa72
7 changed files with 50 additions and 65 deletions
|
|
@ -11,7 +11,7 @@ void action(struct server *server, struct keybind *keybind)
|
|||
if (!strcasecmp(keybind->action, "Exit")) {
|
||||
wl_display_terminate(server->wl_display);
|
||||
} else if (!strcasecmp(keybind->action, "NextWindow")) {
|
||||
server->cycle_view = next_toplevel(view_front_toplevel(server));
|
||||
server->cycle_view = view_next(server->cycle_view);
|
||||
} else if (!strcasecmp(keybind->action, "Execute")) {
|
||||
spawn_async_no_shell(keybind->command);
|
||||
} else if (!strcasecmp(keybind->action, "debug-views")) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue