diff options
author | Drew DeVault <sir@cmpwn.com> | 2016-07-21 14:59:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-21 14:59:57 -0400 |
commit | 464239f7ac11d32a6f10b8517b8410a2eb9b493a (patch) | |
tree | 96929d8f1b16ad0b5773b1776484caba858c77a5 /sway/commands.c | |
parent | 095353d91db1467cb0366cfe68773d679d029370 (diff) | |
parent | f022628a2ef56ea296232b8e7bd7b73a6ce0df63 (diff) | |
download | sway-464239f7ac11d32a6f10b8517b8410a2eb9b493a.tar.xz |
Merge pull request #776 from Hummer12007/window-events
[RFC] Implement window events
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/commands.c b/sway/commands.c index aaacf0fc..5cf93c53 100644 --- a/sway/commands.c +++ b/sway/commands.c @@ -679,6 +679,7 @@ static struct cmd_results *cmd_floating(int argc, char **argv) { view->width = view->height = 0; arrange_windows(swayc_active_workspace(), -1, -1); remove_view_from_scratchpad(view); + ipc_event_window(view, "floating"); } set_focused_container(view); return cmd_results_new(CMD_SUCCESS, NULL, NULL); @@ -2495,6 +2496,7 @@ static struct cmd_results *cmd_fullscreen(int argc, char **argv) { arrange_windows(container, -1, -1); workspace->fullscreen = NULL; } + ipc_event_window(container, "fullscreen_mode"); return cmd_results_new(CMD_SUCCESS, NULL, NULL); } |