Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
sanitized names
[dwm.git]
/
screen.c
diff --git
a/screen.c
b/screen.c
index
f2891cf
..
d313955
100644
(file)
--- a/
screen.c
+++ b/
screen.c
@@
-15,9
+15,9
@@
view(Arg *arg)
tsel = arg->i;
arrange(NULL);
tsel = arg->i;
arrange(NULL);
- for(c = clients; c; c = next(c->next))
- draw
_client
(c);
- draw
_bar
();
+ for(c = clients; c; c =
get
next(c->next))
+ draw
title
(c);
+ draw
status
();
}
void
}
void
@@
-30,15
+30,15
@@
floating(Arg *arg)
if(c->tags[tsel])
resize(c, True);
else
if(c->tags[tsel])
resize(c, True);
else
- ban
_client
(c);
+ ban(c);
}
if(sel && !sel->tags[tsel]) {
}
if(sel && !sel->tags[tsel]) {
- if((sel = next(clients))) {
-
craise
(sel);
+ if((sel =
get
next(clients))) {
+
higher
(sel);
focus(sel);
}
}
focus(sel);
}
}
- draw
_bar
();
+ draw
status
();
}
void
}
void
@@
-61,7
+61,7
@@
tiling(Arg *arg)
for(i = 0, c = clients; c; c = c->next) {
if(c->tags[tsel]) {
if(c->floating) {
for(i = 0, c = clients; c; c = c->next) {
if(c->tags[tsel]) {
if(c->floating) {
-
craise
(c);
+
higher
(c);
resize(c, True);
continue;
}
resize(c, True);
continue;
}
@@
-87,14
+87,14
@@
tiling(Arg *arg)
i++;
}
else
i++;
}
else
- ban
_client
(c);
+ ban(c);
}
if(!sel || (sel && !sel->tags[tsel])) {
}
if(!sel || (sel && !sel->tags[tsel])) {
- if((sel = next(clients))) {
-
craise
(sel);
+ if((sel =
get
next(clients))) {
+
higher
(sel);
focus(sel);
}
}
focus(sel);
}
}
- draw
_bar
();
+ draw
status
();
}
}