diff options
| author | Premysl Hruby <dfenze@gmail.com> | 2008-08-12 21:24:40 +0200 |
|---|---|---|
| committer | Premysl Hruby <dfenze@gmail.com> | 2008-08-12 21:24:40 +0200 |
| commit | 15ce1436203c1400452a3bd789ac9e1775f19341 (patch) | |
| tree | dfeee1db354ce1bc59d137a1890e40cbdc5e2318 /dwm.c | |
| parent | applied Johannes Hofmann's patch, please test (diff) | |
| download | dwm-15ce1436203c1400452a3bd789ac9e1775f19341.tar.gz dwm-15ce1436203c1400452a3bd789ac9e1775f19341.zip | |
fixes using arg->i instead of arg->ui
Diffstat (limited to '')
| -rw-r--r-- | dwm.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -347,7 +347,7 @@ checkotherwm(void) { | |||
| 347 | 347 | ||
| 348 | void | 348 | void |
| 349 | cleanup(void) { | 349 | cleanup(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 | ||
| 1641 | void | 1641 | void |
| 1642 | view(const Arg *arg) { | 1642 | view(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 | } |
