use client fullscreen flag to determine current fullscreen state

T834
This commit is contained in:
Mike Blumenkrantz 2014-01-22 16:28:14 -05:00
parent fdc3d29899
commit b363dc802d
1 changed files with 1 additions and 3 deletions

View File

@ -343,10 +343,8 @@ _e_comp_object_shadow_client_match(const E_Client *ec, E_Comp_Match *m)
}
if (m->fullscreen != 0)
{
int fullscreen = 0;
int fullscreen = ec->fullscreen;
if (ec->netwm.state.fullscreen)
fullscreen = 1;
if (!(((m->fullscreen == -1) && (!fullscreen)) ||
((m->fullscreen == 1) && (fullscreen))))
return EINA_FALSE;