From 8e6c56ab8d021276b56d2e1d82b91fc6724f8cb7 Mon Sep 17 00:00:00 2001 From: Kim Woelders Date: Wed, 7 Apr 2004 13:16:04 +0000 Subject: [PATCH] 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 --- legacy/ecore/src/lib/ecore_x/ecore_x_window_prop.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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; -- 2.34.1