From: Kim Woelders Date: Wed, 7 Apr 2004 13:16:04 +0000 (+0000) Subject: Added the de-iconify (request). X-Git-Tag: submit/efl/20131015.063327~21917 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8e6c56ab8d021276b56d2e1d82b91fc6724f8cb7;p=platform%2Fupstream%2Fefl.git Added the de-iconify (request). Please put it elsewhere if this is not the proper location, but this is what the client must do one way or the other. SVN revision: 9632 --- diff --git a/legacy/ecore/src/lib/ecore_x/ecore_x_window_prop.c b/legacy/ecore/src/lib/ecore_x/ecore_x_window_prop.c index 856281ad59..abaad87f18 100644 --- a/legacy/ecore/src/lib/ecore_x/ecore_x_window_prop.c +++ b/legacy/ecore/src/lib/ecore_x/ecore_x_window_prop.c @@ -853,8 +853,13 @@ ecore_x_window_prop_state_request(Ecore_X_Window win, Ecore_X_Window_State state switch (state) { case ECORE_X_WINDOW_STATE_ICONIFIED: - if (action != 1) /* Only "do iconify" makes sense */ - return; + if (action == 0) + { + XMapWindow(_ecore_x_disp, win); + return; + } + if (action != 1) + return; xev.xclient.message_type = _ecore_x_atom_wm_change_state; xev.xclient.format = 32; xev.xclient.data.l[0] = IconicState;