aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-02-25 17:23:36 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2018-02-25 17:23:36 -0500
commit8ad26c8afd2aed460ea70088b0aa98f65bf21de7 (patch)
tree1b6dbcc5e7d9cdf88c56af6a1f3267bc0febf74b /sway/desktop
parentUse focus for new windows xwayland/wl_shell (diff)
downloadsway-8ad26c8afd2aed460ea70088b0aa98f65bf21de7.tar.gz
sway-8ad26c8afd2aed460ea70088b0aa98f65bf21de7.tar.zst
sway-8ad26c8afd2aed460ea70088b0aa98f65bf21de7.zip
Send surface enter/leave events
Diffstat (limited to 'sway/desktop')
-rw-r--r--sway/desktop/xdg_shell_v6.c1
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) {
72 wl_container_of(listener, sway_surface, commit); 72 wl_container_of(listener, sway_surface, commit);
73 struct sway_view *view = sway_surface->view; 73 struct sway_view *view = sway_surface->view;
74 // NOTE: We intentionally discard the view's desired width here 74 // NOTE: We intentionally discard the view's desired width here
75 // TODO: Store this for restoration when moving to floating plane
75 // TODO: Let floating views do whatever 76 // TODO: Let floating views do whatever
76 view->width = sway_surface->pending_width; 77 view->width = sway_surface->pending_width;
77 view->height = sway_surface->pending_height; 78 view->height = sway_surface->pending_height;