summaryrefslogtreecommitdiff
path: root/xwayland
diff options
context:
space:
mode:
authorMarek Chalupa <mchqwerty@gmail.com>2014-10-29 13:44:44 +0100
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2014-11-21 15:14:55 +0200
commite9fe46745302e4add242078d00408ef6ecae3fb6 (patch)
tree29b321e743c307f39865b12a13d3e6854245769c /xwayland
parentc47931e0f95f30b03f085dc5b2faf92a865b1312 (diff)
downloadweston-e9fe46745302e4add242078d00408ef6ecae3fb6.tar.gz
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>
Diffstat (limited to 'xwayland')
-rw-r--r--xwayland/window-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xwayland/window-manager.c b/xwayland/window-manager.c
index 4acb5343..bdfac23e 100644
--- a/xwayland/window-manager.c
+++ b/xwayland/window-manager.c
@@ -2192,7 +2192,7 @@ send_configure(struct weston_surface *surface, int32_t width, int32_t height)
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 {