Tiling2: Don't tile centred windows.

This commit is contained in:
Tom Hacohen 2014-01-14 15:29:27 +00:00
parent 3914926b13
commit 3aa597c4af
1 changed files with 3 additions and 0 deletions

View File

@ -185,6 +185,9 @@ is_tilable(const E_Client *ec)
if (ec->icccm.gravity == ECORE_X_GRAVITY_STATIC)
return false;
if (ec->e.state.centered)
return false;
if (!tiling_g.config->tile_dialogs
&& ((ec->icccm.transient_for != 0)
|| (ec->netwm.type == E_WINDOW_TYPE_DIALOG)))