forked from enlightenment/enlightenment
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
This commit is contained in:
parent
b94023c412
commit
5c0729221e
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue