Tiling2: Ifdef out ecore_x specific stuff when in Wayland Only.

This commit is contained in:
Tom Hacohen 2014-02-18 16:33:14 +00:00
parent 59d428b6e6
commit ce7da97d8e
1 changed files with 2 additions and 0 deletions

View File

@ -164,8 +164,10 @@ is_tilable(const E_Client *ec)
if (ec->icccm.min_h == ec->icccm.max_h && ec->icccm.max_h > 0)
return false;
#ifndef WAYLAND_ONLY
if (ec->icccm.gravity == ECORE_X_GRAVITY_STATIC)
return false;
#endif
if (ec->e.state.centered)
return false;