diff options
author | Mykyta Holubakha <hilobakho@gmail.com> | 2016-07-12 13:58:24 +0000 |
---|---|---|
committer | Mykyta Holubakha <hilobakho@gmail.com> | 2016-07-21 21:51:20 +0300 |
commit | 976e48d79f46fbab02d7af0ae1b6804018774a63 (patch) | |
tree | f230178d62aff86bd83181b588e055aa7963d2a6 /sway/extensions.c | |
parent | Remove arrange_windows from post-render (diff) | |
download | sway-976e48d79f46fbab02d7af0ae1b6804018774a63.tar.gz sway-976e48d79f46fbab02d7af0ae1b6804018774a63.tar.zst sway-976e48d79f46fbab02d7af0ae1b6804018774a63.zip |
Initial work on window events
Diffstat (limited to 'sway/extensions.c')
-rw-r--r-- | sway/extensions.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/extensions.c b/sway/extensions.c index 1fe15ac5..4611f33e 100644 --- a/sway/extensions.c +++ b/sway/extensions.c | |||
@@ -8,6 +8,7 @@ | |||
8 | #include "log.h" | 8 | #include "log.h" |
9 | #include "input_state.h" | 9 | #include "input_state.h" |
10 | #include "extensions.h" | 10 | #include "extensions.h" |
11 | #include "ipc-server.h" | ||
11 | 12 | ||
12 | struct desktop_shell_state desktop_shell; | 13 | struct desktop_shell_state desktop_shell; |
13 | 14 | ||
@@ -128,6 +129,7 @@ static void set_lock_surface(struct wl_client *client, struct wl_resource *resou | |||
128 | } | 129 | } |
129 | wlc_view_set_state(view->handle, WLC_BIT_FULLSCREEN, true); | 130 | wlc_view_set_state(view->handle, WLC_BIT_FULLSCREEN, true); |
130 | workspace->fullscreen = view; | 131 | workspace->fullscreen = view; |
132 | ipc_event_window(view, "fullscreen_mode"); | ||
131 | desktop_shell.is_locked = true; | 133 | desktop_shell.is_locked = true; |
132 | // reset input state | 134 | // reset input state |
133 | input_init(); | 135 | input_init(); |