diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-02-25 17:23:36 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-02-25 17:23:36 -0500 |
commit | 8ad26c8afd2aed460ea70088b0aa98f65bf21de7 (patch) | |
tree | 1b6dbcc5e7d9cdf88c56af6a1f3267bc0febf74b /sway/desktop/xdg_shell_v6.c | |
parent | 61c1c3e7afd431de08e037205c4849b5f485ff4f (diff) |
Send surface enter/leave events
Diffstat (limited to 'sway/desktop/xdg_shell_v6.c')
-rw-r--r-- | sway/desktop/xdg_shell_v6.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/desktop/xdg_shell_v6.c b/sway/desktop/xdg_shell_v6.c index b44d9e54..7371b829 100644 --- a/sway/desktop/xdg_shell_v6.c +++ b/sway/desktop/xdg_shell_v6.c @@ -72,6 +72,7 @@ static void handle_commit(struct wl_listener *listener, void *data) { wl_container_of(listener, sway_surface, commit); struct sway_view *view = sway_surface->view; // NOTE: We intentionally discard the view's desired width here + // TODO: Store this for restoration when moving to floating plane // TODO: Let floating views do whatever view->width = sway_surface->pending_width; view->height = sway_surface->pending_height; |