forked from enlightenment/enlightenment
Tiling2: Don't tile centred windows.
This commit is contained in:
parent
3914926b13
commit
3aa597c4af
|
@ -185,6 +185,9 @@ is_tilable(const E_Client *ec)
|
||||||
if (ec->icccm.gravity == ECORE_X_GRAVITY_STATIC)
|
if (ec->icccm.gravity == ECORE_X_GRAVITY_STATIC)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
if (ec->e.state.centered)
|
||||||
|
return false;
|
||||||
|
|
||||||
if (!tiling_g.config->tile_dialogs
|
if (!tiling_g.config->tile_dialogs
|
||||||
&& ((ec->icccm.transient_for != 0)
|
&& ((ec->icccm.transient_for != 0)
|
||||||
|| (ec->netwm.type == E_WINDOW_TYPE_DIALOG)))
|
|| (ec->netwm.type == E_WINDOW_TYPE_DIALOG)))
|
||||||
|
|
Loading…
Reference in New Issue