On 08/16/2011 10:03 PM, Enlightenment SVN wrote: > Log: > e-modules/comp-scale: > - ignore illume windows, fade keyboard and home > - make gadget scale all applications > > > Author: jeffdameth > Date: 2011-08-16 19:03:24 -0700 (Tue, 16 Aug 2011) > New Revision: 62525 > Trac: http://trac.enlightenment.org/e/changeset/62525 > > Modified: > trunk/E-MODULES-EXTRA/comp-scale/src/e_mod_main.c > trunk/E-MODULES-EXTRA/comp-scale/src/e_mod_main.h > trunk/E-MODULES-EXTRA/comp-scale/src/e_mod_pager.c > trunk/E-MODULES-EXTRA/comp-scale/src/e_mod_scale.c > > Modified: trunk/E-MODULES-EXTRA/comp-scale/src/e_mod_main.c > =================================================================== > --- trunk/E-MODULES-EXTRA/comp-scale/src/e_mod_main.c 2011-08-17 01:12:52 UTC > (rev 62524) > +++ trunk/E-MODULES-EXTRA/comp-scale/src/e_mod_main.c 2011-08-17 02:03:24 UTC > (rev 62525) > @@ -67,7 +67,37 @@ > return EINA_TRUE; > } > > +Eina_Bool > +e_mod_border_ignore(E_Border *bd) > +{ > + /* ignore some borders */ > + if (bd->client.netwm.type == ECORE_X_WINDOW_TYPE_DOCK) > + return EINA_TRUE; > + if (bd->client.vkbd.vkbd) > + return EINA_TRUE; > + if (bd->client.qtopia.soft_menu) > + return EINA_TRUE; > + if (bd->client.icccm.class) > + { > + if (!strncmp(bd->client.icccm.class, "Illume-", 7)) > + return EINA_TRUE; > > + if (!strcmp(bd->client.icccm.class, "Virtual-Keyboard")) > + return EINA_TRUE; > + } > + if (bd->client.icccm.name) > + { > + /* legacy code from illume 1 */ > + if (((!strcmp(bd->client.icccm.name, "multitap-pad")))&& > + (bd->client.netwm.state.skip_taskbar)&& > + (bd->client.netwm.state.skip_pager)) > + return EINA_TRUE; > + } > + > + return EINA_FALSE; > +} > +
Not entirely sure what your goals are here, but you may also want to ignore illume quickpanel windows too. (bd->client.illume.quickpanel.quickpanel) They are small popups that appear/disappear from the Indicator bar. dh ------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel