mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
Add desktop.c
Move from view.c functions which work on server->views
This commit is contained in:
parent
5181a0ac52
commit
fb6f7d42a5
9 changed files with 229 additions and 222 deletions
|
|
@ -11,7 +11,8 @@ 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 = view_next(server, server->cycle_view);
|
||||
server->cycle_view =
|
||||
desktop_next_view(server, 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