Well this is already in the code of the window menu for example. When you have a dialog all iconify, maximize, resize options are disabled, so i guess this shouldn't be possible via keybindings.
On Tue, Mar 22, 2011 at 11:52:38AM -0300, Gustavo Lima Chaves wrote: > * Enlightenment SVN <no-re...@enlightenment.org> [2011-03-22 07:05:53 -0700]: > > > Log: > > Dialogs aren't allowed to be iconified or maximized, even don't allow via > > keybinding > > > > Eh?? Who said that? Why? > > > Author: morlenxus > > Date: 2011-03-22 07:05:53 -0700 (Tue, 22 Mar 2011) > > New Revision: 57990 > > Trac: http://trac.enlightenment.org/e/changeset/57990 > > > > Modified: > > trunk/e/src/bin/e_actions.c > > > > Modified: trunk/e/src/bin/e_actions.c > > =================================================================== > > --- trunk/e/src/bin/e_actions.c 2011-03-22 13:44:29 UTC (rev 57989) > > +++ trunk/e/src/bin/e_actions.c 2011-03-22 14:05:53 UTC (rev 57990) > > @@ -434,6 +434,8 @@ > > > > /***************************************************************************/ > > ACT_FN_GO(window_iconic_toggle, __UNUSED__) > > { > > + E_Border *bd; > > + > > if (!obj) obj = E_OBJECT(e_border_focused_get()); > > if (!obj) return; > > if (obj->type != E_BORDER_TYPE) > > @@ -441,11 +443,12 @@ > > obj = E_OBJECT(e_border_focused_get()); > > if (!obj) return; > > } > > - if (!((E_Border *)obj)->lock_user_iconify) > > + bd = (E_Border *)obj; > > + > > + if ((!bd->lock_user_iconify) && (!bd->fullscreen) && > > + ((bd->client.netwm.type == ECORE_X_WINDOW_TYPE_NORMAL) || > > + (bd->client.netwm.type == ECORE_X_WINDOW_TYPE_UNKNOWN))) > > { > > - E_Border *bd; > > - > > - bd = (E_Border *)obj; > > if (bd->iconic) e_border_uniconify(bd); > > else e_border_iconify(bd); > > } > > @@ -544,6 +547,8 @@ > > > > /***************************************************************************/ > > ACT_FN_GO(window_maximized_toggle, ) > > { > > + E_Border *bd; > > + > > if (!obj) obj = E_OBJECT(e_border_focused_get()); > > if (!obj) return; > > if (obj->type != E_BORDER_TYPE) > > @@ -551,11 +556,12 @@ > > obj = E_OBJECT(e_border_focused_get()); > > if (!obj) return; > > } > > - if (!((E_Border *)obj)->lock_user_maximize) > > + bd = (E_Border *)obj; > > + > > + if ((!bd->lock_user_maximize) && (!bd->fullscreen) && > > + ((bd->client.netwm.type == ECORE_X_WINDOW_TYPE_NORMAL) || > > + (bd->client.netwm.type == ECORE_X_WINDOW_TYPE_UNKNOWN))) > > { > > - E_Border *bd; > > - > > - bd = (E_Border *)obj; > > if ((bd->maximized & E_MAXIMIZE_TYPE) != E_MAXIMIZE_NONE) > > { > > if (!params) > > > > > > ------------------------------------------------------------------------------ > > Enable your software for Intel(R) Active Management Technology to meet the > > growing manageability and security demands of your customers. Businesses > > are taking advantage of Intel(R) vPro (TM) technology - will your software > > be a part of the solution? Download the Intel(R) Manageability Checker > > today! http://p.sf.net/sfu/intel-dev2devmar > > _______________________________________________ > > enlightenment-svn mailing list > > enlightenment-...@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > > -- > Gustavo Lima Chaves > Computer Engineer @ ProFUSION Embedded Systems > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel