Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
fixes using arg->i instead of arg->ui
[dwm.git]
/
dwm.c
diff --git
a/dwm.c
b/dwm.c
index
5cbb59b
..
e3b8833
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-347,7
+347,7
@@
checkotherwm(void) {
void
cleanup(void) {
void
cleanup(void) {
- Arg a = {.i = ~0};
+ Arg a = {.
u
i = ~0};
Layout foo = { "", NULL };
close(STDIN_FILENO);
Layout foo = { "", NULL };
close(STDIN_FILENO);
@@
-1640,11
+1640,11
@@
updatewmhints(Client *c) {
void
view(const Arg *arg) {
void
view(const Arg *arg) {
- if(arg && (arg->i & TAGMASK) == tagset[seltags])
+ if(arg && (arg->
u
i & TAGMASK) == tagset[seltags])
return;
seltags ^= 1; /* toggle sel tagset */
if(arg && (arg->ui & TAGMASK))
return;
seltags ^= 1; /* toggle sel tagset */
if(arg && (arg->ui & TAGMASK))
- tagset[seltags] = arg->i & TAGMASK;
+ tagset[seltags] = arg->
u
i & TAGMASK;
clearurgent();
arrange();
}
clearurgent();
arrange();
}