discomfitor pushed a commit to branch master.

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

commit db264cca49dcf1894d87b1fb4c8b1192ea919074
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Aug 25 14:47:04 2017 -0400

    simplify placed flag setting during wl surface commit
    
    this should result in fewer cases of windows randomly warping around...
    
    ...
    
    maybe
---
 src/bin/e_comp_wl.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index a90594a5e..d5896adca 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1529,8 +1529,10 @@ _e_comp_wl_surface_state_commit(E_Client *ec, 
E_Comp_Wl_Surface_State *state)
 
         if ((!ec->comp_data->sub.data) && (!ec->comp_data->buffer_commit))
           {
-             if ((!ec->internal_elm_win) && (!ec->maximized) && 
(!ec->fullscreen))
-               ec->placed = (!e_client_has_xwindow(ec)) && (ec->netwm.type != 
E_WINDOW_TYPE_NORMAL);
+             if (e_client_has_xwindow(ec))
+               ec->placed = 0;
+             else if (!ec->placed)
+               ec->placed = ec->netwm.type != E_WINDOW_TYPE_NORMAL;
              ec->want_focus |= ec->icccm.accepts_focus && (!ec->override);
           }
      }

-- 


Reply via email to