---
 clients/simple-egl.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/clients/simple-egl.c b/clients/simple-egl.c
index c52c82c..5b77b9d 100644
--- a/clients/simple-egl.c
+++ b/clients/simple-egl.c
@@ -61,7 +61,7 @@ struct geometry {
 
 struct window {
        struct display *display;
-       struct geometry geometry, window_size, fullscreen_size;
+       struct geometry geometry, window_size;
        struct {
                GLuint fbo;
                GLuint color_rbo;
@@ -236,9 +236,7 @@ handle_configure(void *data, struct wl_shell_surface 
*shell_surface,
        window->geometry.width = width;
        window->geometry.height = height;
 
-       if (window->fullscreen)
-               window->fullscreen_size = window->geometry;
-       else
+       if (!window->fullscreen)
                window->window_size = window->geometry;
 }
 
-- 
1.7.11.4

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to