discomfitor pushed a commit to branch enlightenment-0.20.

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

commit f129b0d7d5698e1220a13d895964fc7dd82691e4
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Tue Jan 19 13:52:07 2016 -0500

    |= instead of = flag setting for want_focus during wayland surface commit
    
    if want_focus has already been set, this check should not unset it
---
 src/bin/e_comp_wl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 0d8eacf..a7dc24d 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1143,7 +1143,7 @@ _e_comp_wl_surface_state_commit(E_Client *ec, 
E_Comp_Wl_Surface_State *state)
         if (ec->new_client)
           {
              ec->placed = placed;
-             ec->want_focus = ec->icccm.accepts_focus && (!ec->override);
+             ec->want_focus |= ec->icccm.accepts_focus && (!ec->override);
           }
         else if ((first) && (ec->placed) && (!ec->internal) && (!ec->override))
           {

-- 


Reply via email to