mirror of
https://github.com/labwc/labwc.git
synced 2026-02-09 10:07:31 -05:00
labwc.h: remove "extern struct server server"
This commit is contained in:
parent
84ebd2dae5
commit
e99d0bb34e
11 changed files with 62 additions and 47 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 = view_next(server->cycle_view);
|
||||
server->cycle_view = view_next(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