summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPremysl Hruby <dfenze@gmail.com>2008-08-12 21:24:40 +0200
committerPremysl Hruby <dfenze@gmail.com>2008-08-12 21:24:40 +0200
commit15ce1436203c1400452a3bd789ac9e1775f19341 (patch)
treedfeee1db354ce1bc59d137a1890e40cbdc5e2318
parentapplied Johannes Hofmann's patch, please test (diff)
downloaddwm-15ce1436203c1400452a3bd789ac9e1775f19341.tar.gz
dwm-15ce1436203c1400452a3bd789ac9e1775f19341.zip
fixes using arg->i instead of arg->ui
-rw-r--r--dwm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/dwm.c b/dwm.c
index 5cbb59b..e3b8833 100644
--- a/dwm.c
+++ b/dwm.c
@@ -347,7 +347,7 @@ checkotherwm(void) {
347 347
348void 348void
349cleanup(void) { 349cleanup(void) {
350 Arg a = {.i = ~0}; 350 Arg a = {.ui = ~0};
351 Layout foo = { "", NULL }; 351 Layout foo = { "", NULL };
352 352
353 close(STDIN_FILENO); 353 close(STDIN_FILENO);
@@ -1640,11 +1640,11 @@ updatewmhints(Client *c) {
1640 1640
1641void 1641void
1642view(const Arg *arg) { 1642view(const Arg *arg) {
1643 if(arg && (arg->i & TAGMASK) == tagset[seltags]) 1643 if(arg && (arg->ui & TAGMASK) == tagset[seltags])
1644 return; 1644 return;
1645 seltags ^= 1; /* toggle sel tagset */ 1645 seltags ^= 1; /* toggle sel tagset */
1646 if(arg && (arg->ui & TAGMASK)) 1646 if(arg && (arg->ui & TAGMASK))
1647 tagset[seltags] = arg->i & TAGMASK; 1647 tagset[seltags] = arg->ui & TAGMASK;
1648 clearurgent(); 1648 clearurgent();
1649 arrange(); 1649 arrange();
1650} 1650}