forked from enlightenment/enlightenment
track current nocomp client
This commit is contained in:
parent
a22181c0da
commit
a52ede0c66
|
@ -228,6 +228,7 @@ _e_comp_cb_nocomp_begin(E_Comp *c)
|
||||||
|
|
||||||
ecf = _e_comp_fullscreen_check(c);
|
ecf = _e_comp_fullscreen_check(c);
|
||||||
if (!ecf) return;
|
if (!ecf) return;
|
||||||
|
c->nocomp_ec = ecf;
|
||||||
E_CLIENT_FOREACH(c, ec)
|
E_CLIENT_FOREACH(c, ec)
|
||||||
if (ec != ecf) e_client_redirected_set(ec, 0);
|
if (ec != ecf) e_client_redirected_set(ec, 0);
|
||||||
|
|
||||||
|
@ -472,7 +473,10 @@ nocomp:
|
||||||
c->nocomp_want = 0;
|
c->nocomp_want = 0;
|
||||||
E_FREE_FUNC(c->nocomp_delay_timer, ecore_timer_del);
|
E_FREE_FUNC(c->nocomp_delay_timer, ecore_timer_del);
|
||||||
if (c->nocomp)
|
if (c->nocomp)
|
||||||
_e_comp_cb_nocomp_end(c);
|
{
|
||||||
|
_e_comp_cb_nocomp_end(c);
|
||||||
|
c->nocomp_ec = NULL;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return ECORE_CALLBACK_RENEW;
|
return ECORE_CALLBACK_RENEW;
|
||||||
|
|
|
@ -99,6 +99,7 @@ struct _E_Comp
|
||||||
int block_count; //number of times block window has been requested
|
int block_count; //number of times block window has been requested
|
||||||
|
|
||||||
Ecore_Window cm_selection; //FIXME: move to comp_x ?
|
Ecore_Window cm_selection; //FIXME: move to comp_x ?
|
||||||
|
E_Client *nocomp_ec;
|
||||||
|
|
||||||
int depth;
|
int depth;
|
||||||
unsigned int input_key_grabs;
|
unsigned int input_key_grabs;
|
||||||
|
|
Loading…
Reference in New Issue