From: Enlightenment S. <no-...@en...> - 2011-03-06 22:43:09
|
Log: e-modules/comp-scale: selecting windows is only possible in slotted layout mode currently Author: jeffdameth Date: 2011-03-06 14:43:02 -0800 (Sun, 06 Mar 2011) New Revision: 57543 Trac: http://trac.enlightenment.org/e/changeset/57543 Modified: trunk/E-MODULES-EXTRA/comp-scale/src/e_mod_scale.c Modified: trunk/E-MODULES-EXTRA/comp-scale/src/e_mod_scale.c =================================================================== --- trunk/E-MODULES-EXTRA/comp-scale/src/e_mod_scale.c 2011-03-06 19:02:10 UTC (rev 57542) +++ trunk/E-MODULES-EXTRA/comp-scale/src/e_mod_scale.c 2011-03-06 22:43:02 UTC (rev 57543) @@ -1373,7 +1373,11 @@ _scale_out(1); return; } - else if (!strcmp(params, "_next")) + + if ((!sel->next) || (!sel->prev)) + return; + + if (!strcmp(params, "_next")) { it = sel->next; } @@ -1785,7 +1789,6 @@ init_method = _init_method; - /* FIXME means: if keyboard use slotted layout */ if (init_method == GO_KEY) scale_layout = 1; |