Tiling2: Fix handling windows that become untilable after we've added them.

This fixes T946.
This commit is contained in:
Tom Hacohen 2014-02-20 15:56:07 +00:00
parent 5bf441960d
commit 652392beff
1 changed files with 3 additions and 1 deletions

View File

@ -1150,7 +1150,9 @@ static Eina_Bool
_property_hook(void *data EINA_UNUSED, int type EINA_UNUSED,
E_Event_Client_Property *event)
{
if (event->property & E_CLIENT_PROPERTY_STICKY)
E_Client_Property mask = E_CLIENT_PROPERTY_STICKY |
E_CLIENT_PROPERTY_NETWM_STATE;
if (event->property & mask)
{
_toggle_tiling_based_on_state(event->ec, EINA_TRUE);
}