forked from enlightenment/efl
oh and also fix up properties to not update until event comes back
from x telling us they did. :) SVN revision: 82558
This commit is contained in:
parent
e2243e6c55
commit
ede2faa1aa
|
@ -2672,7 +2672,7 @@ static void
|
||||||
_ecore_evas_x_withdrawn_set(Ecore_Evas *ee, int withdrawn)
|
_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)
|
if (withdrawn)
|
||||||
ecore_evas_hide(ee);
|
ecore_evas_hide(ee);
|
||||||
|
@ -2692,7 +2692,7 @@ _ecore_evas_x_sticky_set(Ecore_Evas *ee, int sticky)
|
||||||
* property change event.
|
* property change event.
|
||||||
* ee->prop.sticky = sticky;
|
* ee->prop.sticky = sticky;
|
||||||
*/
|
*/
|
||||||
edata->state.sticky = sticky;
|
// edata->state.sticky = sticky;
|
||||||
if (ee->should_be_visible)
|
if (ee->should_be_visible)
|
||||||
ecore_x_netwm_state_request_send(ee->prop.window, edata->win_root,
|
ecore_x_netwm_state_request_send(ee->prop.window, edata->win_root,
|
||||||
ECORE_X_WINDOW_STATE_STICKY, -1, sticky);
|
ECORE_X_WINDOW_STATE_STICKY, -1, sticky);
|
||||||
|
@ -2762,7 +2762,7 @@ _ecore_evas_x_maximized_set(Ecore_Evas *ee, int on)
|
||||||
if (ee->prop.maximized == on) return;
|
if (ee->prop.maximized == on) return;
|
||||||
edata->state.maximized_h = 1;
|
edata->state.maximized_h = 1;
|
||||||
edata->state.maximized_v = 1;
|
edata->state.maximized_v = 1;
|
||||||
ee->prop.maximized = on;
|
// ee->prop.maximized = on;
|
||||||
if (ee->should_be_visible)
|
if (ee->should_be_visible)
|
||||||
{
|
{
|
||||||
ecore_x_netwm_state_request_send(ee->prop.window, edata->win_root,
|
ecore_x_netwm_state_request_send(ee->prop.window, edata->win_root,
|
||||||
|
|
Loading…
Reference in New Issue