On Thu, Nov 30, 2006 at 12:16:13PM +0100, Anselm R. Garbe wrote:
> On Thu, Nov 30, 2006 at 12:00:36PM +0100, Sander van Dijk wrote:
> > On 11/30/06, Anselm R. Garbe <[EMAIL PROTECTED]> wrote:
> > >On Thu, Nov 30, 2006 at 11:54:20AM +0100, Sander van Dijk wrote:
> > >> I know, but where do these windows go in the meantime? Are they on
> > >> screen, or invisible? Tagging them with the first tag the user views
> > >
> > >They are invisible until a tag is selected again. However, I
> > >think it will be rare that one untoggles all tags.
> >
> > If it'll be rare, why allow it at all? What does it provide (besides a
> > conceptually ugly cornercase)?
>
> The old behavior can be achieved through untoggling the current
> tag and then toggling another, - at least to me it feels better
> than not getting rid of the last tag if there is no view() at
> all.
>
> But I'm not sure after using this approach, if it's a good idea,
> it needs further testing, before I will finally judge about it.
Gottox, after all I think, there is no need to change anything,
except your shortcuts. I don't think that toggleview() needs the
change that an empty view is necessary. I currently test
toggleview() as it is in dwm-2.4 with swapped shortcuts, and it
works quite fine.
See attached.
--
Anselm R. Garbe >< http://suckless.org/~arg/ >< GPG key: 0D73F361
diff -r c4ecdb5500f6 config.arg.h
--- a/config.arg.h Thu Nov 30 09:19:52 2006 +0100
+++ b/config.arg.h Thu Nov 30 12:25:03 2006 +0100
@@ -47,14 +47,14 @@ static Key key[] = { \
{ MODKEY, XK_space, togglemode, { 0 }
}, \
{ MODKEY|ShiftMask, XK_space, togglefloat, { 0 }
}, \
{ MODKEY, XK_0, viewall, { 0 }
}, \
- { MODKEY, XK_1, view, { .i =
0 } }, \
- { MODKEY, XK_2, view, { .i =
1 } }, \
- { MODKEY, XK_3, view, { .i =
2 } }, \
- { MODKEY, XK_4, view, { .i =
3 } }, \
- { MODKEY|ControlMask, XK_1, toggleview, { .i =
0 } }, \
- { MODKEY|ControlMask, XK_2, toggleview, { .i =
1 } }, \
- { MODKEY|ControlMask, XK_3, toggleview, { .i =
2 } }, \
- { MODKEY|ControlMask, XK_4, toggleview, { .i =
3 } }, \
+ { MODKEY, XK_1, toggleview, { .i =
0 } }, \
+ { MODKEY, XK_2, toggleview, { .i =
1 } }, \
+ { MODKEY, XK_3, toggleview, { .i =
2 } }, \
+ { MODKEY, XK_4, toggleview, { .i =
3 } }, \
+ { MODKEY|ControlMask, XK_1, view, { .i =
0 } }, \
+ { MODKEY|ControlMask, XK_2, view, { .i =
1 } }, \
+ { MODKEY|ControlMask, XK_3, view, { .i =
2 } }, \
+ { MODKEY|ControlMask, XK_4, view, { .i =
3 } }, \
{ MODKEY|ShiftMask, XK_q, quit, { 0 }
}, \
};