track current nocomp client

This commit is contained in:
Mike Blumenkrantz 2014-02-26 11:40:17 -05:00
parent a22181c0da
commit a52ede0c66
2 changed files with 6 additions and 1 deletions

View File

@ -228,6 +228,7 @@ _e_comp_cb_nocomp_begin(E_Comp *c)
ecf = _e_comp_fullscreen_check(c);
if (!ecf) return;
c->nocomp_ec = ecf;
E_CLIENT_FOREACH(c, ec)
if (ec != ecf) e_client_redirected_set(ec, 0);
@ -472,7 +473,10 @@ nocomp:
c->nocomp_want = 0;
E_FREE_FUNC(c->nocomp_delay_timer, ecore_timer_del);
if (c->nocomp)
_e_comp_cb_nocomp_end(c);
{
_e_comp_cb_nocomp_end(c);
c->nocomp_ec = NULL;
}
}
return ECORE_CALLBACK_RENEW;

View File

@ -99,6 +99,7 @@ struct _E_Comp
int block_count; //number of times block window has been requested
Ecore_Window cm_selection; //FIXME: move to comp_x ?
E_Client *nocomp_ec;
int depth;
unsigned int input_key_grabs;