Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
added screen.c, removed layout.c and tag.c
[dwm.git]
/
client.c
diff --git
a/client.c
b/client.c
index
d94c0ed
..
9f46a0e
100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-182,7
+182,7
@@
killclient(const char *arg) {
}
Bool
}
Bool
-
load
props(Client *c) {
+
get
props(Client *c) {
unsigned int i;
Bool result = False;
unsigned int i;
Bool result = False;
@@
-242,11
+242,11
@@
manage(Window w, XWindowAttributes *wa) {
if(t)
for(i = 0; i < ntags; i++)
c->tags[i] = t->tags[i];
if(t)
for(i = 0; i < ntags; i++)
c->tags[i] = t->tags[i];
- if(!
load
props(c))
+ if(!
get
props(c))
applyrules(c);
if(!c->isfloating)
c->isfloating = (rettrans == Success) || c->isfixed;
applyrules(c);
if(!c->isfloating)
c->isfloating = (rettrans == Success) || c->isfixed;
- s
ave
props(c);
+ s
et
props(c);
attach(c);
attachstack(c);
XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); /* some windows require this */
attach(c);
attachstack(c);
XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); /* some windows require this */
@@
-318,7
+318,7
@@
resize(Client *c, int x, int y, int w, int h, Bool sizehints) {
}
void
}
void
-s
ave
props(Client *c) {
+s
et
props(Client *c) {
unsigned int i;
for(i = 0; i < ntags && i < sizeof prop - 1; i++)
unsigned int i;
for(i = 0; i < ntags && i < sizeof prop - 1; i++)