diff options
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) { | |||
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; |