aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/xdg_shell_v6.c
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-05-25 09:26:23 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-06-01 23:14:58 +1000
commitaaba7642b3e4e9a63aea49412b10221f399b17af (patch)
tree7e7c2f6fcd80a6a48e07e07e03c5f2dc0d248240 /sway/desktop/xdg_shell_v6.c
parentUse L_FLOATING instead of reapable boolean (diff)
downloadsway-aaba7642b3e4e9a63aea49412b10221f399b17af.tar.gz
sway-aaba7642b3e4e9a63aea49412b10221f399b17af.tar.zst
sway-aaba7642b3e4e9a63aea49412b10221f399b17af.zip
Replace is_floating boolean with function
Diffstat (limited to 'sway/desktop/xdg_shell_v6.c')
-rw-r--r--sway/desktop/xdg_shell_v6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/xdg_shell_v6.c b/sway/desktop/xdg_shell_v6.c
index 47e4162a..f3df2fe8 100644
--- a/sway/desktop/xdg_shell_v6.c
+++ b/sway/desktop/xdg_shell_v6.c
@@ -184,7 +184,7 @@ static void handle_commit(struct wl_listener *listener, void *data) {
184 view->natural_width = geometry->width; 184 view->natural_width = geometry->width;
185 view->natural_height = geometry->height; 185 view->natural_height = geometry->height;
186 } 186 }
187 if (view->swayc && view->swayc->is_floating) { 187 if (view->swayc && container_is_floating(view->swayc)) {
188 view_update_size(view, geometry->width, geometry->height); 188 view_update_size(view, geometry->width, geometry->height);
189 } else { 189 } else {
190 view_update_size(view, xdg_shell_v6_view->pending_width, 190 view_update_size(view, xdg_shell_v6_view->pending_width,