aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-02-29 16:24:45 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-02-29 16:24:45 +0000
commitd6f0a47fb8f4392438e0210d8f9068183e054966 (patch)
tree61cc7ab16ad278d052e9d11c5dbdf38c2d79573d
parentwayland: don't resize when we're not mapped anywhere (diff)
wayland: always update window->is_fullscreen, not just when using CSDs
-rw-r--r--wayland.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wayland.c b/wayland.c
index b694e23c..957f736e 100644
--- a/wayland.c
+++ b/wayland.c
@@ -588,8 +588,8 @@ xdg_surface_configure(void *data, struct xdg_surface *xdg_surface,
csd_destroy(win);
else
csd_instantiate(win);
- win->is_fullscreen = win->configure.is_fullscreen;
}
+ win->is_fullscreen = win->configure.is_fullscreen;
xdg_surface_ack_configure(xdg_surface, serial);
bool resized = render_resize(term, win->configure.width, win->configure.height);