summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wayland
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2015-03-04 16:46:39 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-03-04 16:46:39 -0500
commitdaaca897904bb1450fe3d59c6d12bbe0abd18a45 (patch)
tree322636e5aa2227aa0990e822b242bba3af89abe5 /src/lib/ecore_wayland
parent50da07d0268de21025a811c3a30f32bea6769bcb (diff)
ecore-wl windows now emit 0x0 configure sizes more reliably when fs/maximized
Diffstat (limited to 'src/lib/ecore_wayland')
-rw-r--r--src/lib/ecore_wayland/ecore_wl_window.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/ecore_wayland/ecore_wl_window.c b/src/lib/ecore_wayland/ecore_wl_window.c
index 40cf0cb..3f6d40e 100644
--- a/src/lib/ecore_wayland/ecore_wl_window.c
+++ b/src/lib/ecore_wayland/ecore_wl_window.c
@@ -1039,11 +1039,10 @@ _ecore_xdg_handle_surface_configure(void *data, struct xdg_surface *xdg_surface
1039 } 1039 }
1040 if ((width > 0) && (height > 0)) 1040 if ((width > 0) && (height > 0))
1041 _ecore_wl_window_configure_send(win, width, height, 0); 1041 _ecore_wl_window_configure_send(win, width, height, 0);
1042 else if (win->fullscreen || win->maximized)
1043 _ecore_wl_window_configure_send(win, 0, 0, 0);
1042 else 1044 else
1043 { 1045 _ecore_wl_window_configure_send(win, win->saved.w, win->saved.h, 0);
1044 if ((win->saved.w != 1) || (win->saved.h != 1))
1045 _ecore_wl_window_configure_send(win, win->saved.w, win->saved.h, 0);
1046 }
1047 1046
1048 if (win->xdg_surface) 1047 if (win->xdg_surface)
1049 xdg_surface_ack_configure(win->xdg_surface, serial); 1048 xdg_surface_ack_configure(win->xdg_surface, serial);