Enlightenment CVS committal Author : sebastid Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_hints.h e_hints.c Log Message: Only iconify real iconified windows. =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_hints.h,v retrieving revision 1.13 retrieving revision 1.14 diff -u -3 -r1.13 -r1.14 --- e_hints.h 16 May 2005 15:43:09 -0000 1.13 +++ e_hints.h 17 May 2005 17:41:27 -0000 1.14 @@ -7,6 +7,7 @@ #define E_HINTS_H EAPI void e_hints_init(void); +EAPI void e_hints_manager_init(E_Manager *man); EAPI void e_hints_client_list_set(void); EAPI void e_hints_client_stacking_set(void); =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/bin/e_hints.c,v retrieving revision 1.26 retrieving revision 1.27 diff -u -3 -r1.26 -r1.27 --- e_hints.c 17 May 2005 13:13:30 -0000 1.26 +++ e_hints.c 17 May 2005 17:41:27 -0000 1.27 @@ -30,6 +30,8 @@ ecore_x_netwm_supported(roots[i], ECORE_X_ATOM_NET_CLIENT_LIST, 1); ecore_x_netwm_supported(roots[i], ECORE_X_ATOM_NET_CLIENT_LIST_STACKING, 1); + ecore_x_netwm_supported(roots[i], ECORE_X_ATOM_NET_DESKTOP_GEOMETRY, 1); + ecore_x_netwm_supported(roots[i], ECORE_X_ATOM_NET_SUPPORTED, 1); ecore_x_netwm_supported(roots[i], ECORE_X_ATOM_NET_SUPPORTING_WM_CHECK, 1); ecore_x_netwm_supported(roots[i], ECORE_X_ATOM_NET_VIRTUAL_ROOTS, 1); @@ -50,6 +52,12 @@ } } +void +e_hints_manager_init(E_Manager *man) +{ + ecore_x_netwm_desk_size_set(man->root, man->w, man->h); +} + /* FIXME, this should set the list in map order, not stack order */ void e_hints_client_list_set(void) @@ -327,7 +335,8 @@ e_border_maximize(bd); if (bd->client.netwm.state.fullscreen) e_border_fullscreen(bd); - if (bd->client.icccm.state == ECORE_X_WINDOW_STATE_HINT_ICONIC) + if ((bd->client.icccm.state == ECORE_X_WINDOW_STATE_HINT_ICONIC) + && (bd->client.netwm.state.hidden)) e_border_iconify(bd); /* If a window isn't iconic, and is one the current desk, * show it! */ ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs