discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=a38a34d5999d090c68c321f6af465787ee573e91

commit a38a34d5999d090c68c321f6af465787ee573e91
Author: Mike Blumenkrantz <[email protected]>
Date:   Wed Mar 4 15:52:16 2015 -0500

    set ec->fullscreen before applying fullscreen geometry
---
 src/bin/e_client.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_client.c b/src/bin/e_client.c
index ab0681c..d0770e3 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -3824,6 +3824,7 @@ e_client_fullscreen(E_Client *ec, E_Fullscreen policy)
    else if (e_config->mode.presentation)
      evas_object_layer_set(ec->frame, E_LAYER_CLIENT_TOP);
 
+   ec->fullscreen = 1;
 #ifndef HAVE_WAYLAND_ONLY
    if ((eina_list_count(ec->comp->zones) > 1) ||
        (policy == E_FULLSCREEN_RESIZE) || (!ecore_x_randr_query()))
@@ -3839,7 +3840,6 @@ e_client_fullscreen(E_Client *ec, E_Fullscreen policy)
         /* compositor backends! */
         evas_object_smart_callback_call(ec->frame, "fullscreen_zoom", NULL);
      }
-   ec->fullscreen = 1;
 
    e_hints_window_fullscreen_set(ec, 1);
    e_hints_window_size_unset(ec);

-- 


Reply via email to