Revert "ecore_evas: window does not go back to normal state if you set iconified...
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Tue, 15 Oct 2013 01:45:37 +0000 (10:45 +0900)
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>
Tue, 15 Oct 2013 01:45:37 +0000 (10:45 +0900)
This reverts commit 9bfb730ff57da3d8789f80256abedcbc19e98bfe.

wrong! on deiconify this will now FORCE a ACTIVATE request to the wm
(which asks the wm to focus the window/hilight it and make it active.
might switch desktops or whatever). this is wrong. de-icoifying a
windows does NOT mean ALSO activating it!. the log message also doesnt
say what "go back to normal state"... means.... do they expect/INSIST
windows MUSt be focused after de-iconification? that's wrong as it's a
window management FOCUS policy, not something to do in the lib.

src/modules/ecore_evas/engines/x/ecore_evas_x.c

index 20538dd..627dd15 100644 (file)
@@ -2738,10 +2738,7 @@ _ecore_evas_x_iconified_set(Ecore_Evas *ee, int on)
    if (on)
      ecore_x_icccm_iconic_request_send(ee->prop.window, edata->win_root);
    else
-     {
-       ecore_evas_activate(ee);
-       ecore_evas_show(ee);
-     }
+     ecore_evas_show(ee);
 }
 
 static void