discomfitor pushed a commit to branch master.

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

commit 5c0729221e7d671b208f510d033032d5c19e42a3
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Apr 22 12:49:07 2016 -0400

    only set "dialog" border for transient clients if window type is unset
    
    fix T3157
    
    from https://specifications.freedesktop.org/wm-spec/wm-spec-latest.html :
    _NET_WM_WINDOW_TYPE_DIALOG indicates that this is a dialog window.
    If _NET_WM_WINDOW_TYPE is not set, then managed windows with
    WM_TRANSIENT_FOR set MUST be taken as this type
---
 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 e901551..8bc5969 100644
--- a/src/bin/e_client.c
+++ b/src/bin/e_client.c
@@ -2160,7 +2160,7 @@ _e_client_frame_update(E_Client *ec)
      bordername = "nofocus";
    else if (ec->urgent)
      bordername = "urgent";
-   else if (((ec->icccm.transient_for != 0) || (ec->dialog)) && 
+   else if (((ec->icccm.transient_for && (!ec->netwm.type)) || (ec->dialog)) 
&& 
             (e_pixmap_is_x(ec->pixmap)))
      bordername = "dialog";
    else if (ec->netwm.state.modal)

-- 


Reply via email to