forked from enlightenment/efl
elm win throttle/norender auto... eocre-evas got a few things wrong.
no - not planning a backport of this at this stage. small thing. maybe backport (and chlog/news) if this doesnt cause any new issues? SVN revision: 82549
This commit is contained in:
parent
aad1b1ed4e
commit
e2243e6c55
|
@ -837,7 +837,7 @@ _ecore_evas_x_event_property_change(void *data EINA_UNUSED, int type EINA_UNUSED
|
||||||
else if (e->atom == ECORE_X_ATOM_WM_STATE)
|
else if (e->atom == ECORE_X_ATOM_WM_STATE)
|
||||||
{
|
{
|
||||||
Ecore_X_Window_State_Hint state;
|
Ecore_X_Window_State_Hint state;
|
||||||
|
|
||||||
// handle WM_STATE changes
|
// handle WM_STATE changes
|
||||||
state = ecore_x_icccm_state_get(e->win);
|
state = ecore_x_icccm_state_get(e->win);
|
||||||
switch (state)
|
switch (state)
|
||||||
|
@ -2499,6 +2499,7 @@ _ecore_evas_x_activate(Ecore_Evas *ee)
|
||||||
{
|
{
|
||||||
Ecore_Evas_Engine_Data_X11 *edata = ee->engine.data;
|
Ecore_Evas_Engine_Data_X11 *edata = ee->engine.data;
|
||||||
|
|
||||||
|
ecore_evas_show(ee);
|
||||||
ecore_x_netwm_client_active_request(edata->win_root,
|
ecore_x_netwm_client_active_request(edata->win_root,
|
||||||
ee->prop.window, 2, 0);
|
ee->prop.window, 2, 0);
|
||||||
}
|
}
|
||||||
|
@ -2673,6 +2674,10 @@ _ecore_evas_x_withdrawn_set(Ecore_Evas *ee, int withdrawn)
|
||||||
if (ee->prop.withdrawn == withdrawn) return;
|
if (ee->prop.withdrawn == withdrawn) return;
|
||||||
ee->prop.withdrawn = withdrawn;
|
ee->prop.withdrawn = withdrawn;
|
||||||
_ecore_evas_x_hints_update(ee);
|
_ecore_evas_x_hints_update(ee);
|
||||||
|
if (withdrawn)
|
||||||
|
ecore_evas_hide(ee);
|
||||||
|
else
|
||||||
|
ecore_evas_show(ee);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue