diff options
author | Drew DeVault <[email protected]> | 2016-07-21 14:59:57 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2016-07-21 14:59:57 -0400 |
commit | 464239f7ac11d32a6f10b8517b8410a2eb9b493a (patch) | |
tree | 96929d8f1b16ad0b5773b1776484caba858c77a5 /sway/layout.c | |
parent | 095353d91db1467cb0366cfe68773d679d029370 (diff) | |
parent | f022628a2ef56ea296232b8e7bd7b73a6ce0df63 (diff) |
Merge pull request #776 from Hummer12007/window-events
[RFC] Implement window events
Diffstat (limited to 'sway/layout.c')
-rw-r--r-- | sway/layout.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/layout.c b/sway/layout.c index 2e0bf0bb..d32b4139 100644 --- a/sway/layout.c +++ b/sway/layout.c @@ -91,6 +91,7 @@ void add_floating(swayc_t *ws, swayc_t *child) { if (!ws->focused) { ws->focused = child; } + ipc_event_window(child, "floating"); } swayc_t *add_sibling(swayc_t *fixed, swayc_t *active) { @@ -305,6 +306,7 @@ void move_container(swayc_t *container, enum movement_direction dir) { parent = child->parent; } arrange_windows(parent->parent, -1, -1); + ipc_event_window(container, "move"); set_focused_container_for(parent->parent, container); } |