forked from enlightenment/enlightenment
Tiling: tile windows with "Static" gravity.
I can't find anything in the specs that would imply those shouldn't be tiled. This may cause placement bugs, but I don't think that'd be the case, as we ignore application placement when tiling anyway. @fix
This commit is contained in:
parent
291f4404f7
commit
0381a7b06f
|
@ -182,11 +182,6 @@ is_tilable(const E_Client *ec)
|
||||||
if (ec->icccm.min_h == ec->icccm.max_h && ec->icccm.max_h > 0)
|
if (ec->icccm.min_h == ec->icccm.max_h && ec->icccm.max_h > 0)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
#ifndef HAVE_WAYLAND_ONLY
|
|
||||||
if (ec->icccm.gravity == ECORE_X_GRAVITY_STATIC)
|
|
||||||
return false;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (ec->e.state.centered || e_win_centered_get(ec->internal_elm_win))
|
if (ec->e.state.centered || e_win_centered_get(ec->internal_elm_win))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue