xwayland: fix fullscreening
set_fullscreen has been sending configure before changing the state
and xwayland windows added border to the fullscreen size.
This fixes the bug:
https://bugs.freedesktop.org/show_bug.cgi?id=83502
Signed-off-by: Marek Chalupa <mchqwerty@gmail.com>
Reviewed-by: Ryo Munakata <ryomnktml@gmail.com>
Tested-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
diff --git a/xwayland/window-manager.c b/xwayland/window-manager.c
index 4acb534..bdfac23 100644
--- a/xwayland/window-manager.c
+++ b/xwayland/window-manager.c
@@ -2192,7 +2192,7 @@
struct theme *t = window->wm->theme;
int vborder, hborder;
- if (window->decorate) {
+ if (window->decorate && !window->fullscreen) {
hborder = 2 * t->width;
vborder = t->titlebar_height + t->width;
} else {