Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
if client is focused, the emptysquare don't needs to be drawed
[dwm.git]
/
view.c
diff --git
a/view.c
b/view.c
index
c11e349
..
14cfc1d
100644
(file)
--- a/
view.c
+++ b/
view.c
@@
-233,20
+233,11
@@
view(Arg *arg) {
unsigned int i;
for(i = 0; i < ntags; i++)
unsigned int i;
for(i = 0; i < ntags; i++)
- seltag[i] = False;
+ seltag[i] =
(arg->i == -1) ? True :
False;
seltag[arg->i] = True;
arrange();
}
seltag[arg->i] = True;
arrange();
}
-void
-viewall(Arg *arg) {
- unsigned int i;
-
- for(i = 0; i < ntags; i++)
- seltag[i] = True;
- arrange();
-}
-
void
zoom(Arg *arg) {
unsigned int n;
void
zoom(Arg *arg) {
unsigned int n;