aboutsummaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-08-19 10:57:02 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-08-19 10:57:02 +0200
commit47765f728614c348aa7dfc2eed6f754efc376922 (patch)
tree47f8667ef723767ec41df2403bdce1ee80dccd17 /client.c
parent96d7fe16eaf6b656800f08da3156bacd75ca3b08 (diff)
downloaddwm-47765f728614c348aa7dfc2eed6f754efc376922.tar
dwm-47765f728614c348aa7dfc2eed6f754efc376922.tar.gz
dwm-47765f728614c348aa7dfc2eed6f754efc376922.tar.bz2
added screen.c, removed layout.c and tag.c
Diffstat (limited to 'client.c')
-rw-r--r--client.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/client.c b/client.c
index d94c0ed..9f46a0e 100644
--- a/client.c
+++ b/client.c
@@ -182,7 +182,7 @@ killclient(const char *arg) {
}
Bool
-loadprops(Client *c) {
+getprops(Client *c) {
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(!loadprops(c))
+ if(!getprops(c))
applyrules(c);
if(!c->isfloating)
c->isfloating = (rettrans == Success) || c->isfixed;
- saveprops(c);
+ setprops(c);
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
-saveprops(Client *c) {
+setprops(Client *c) {
unsigned int i;
for(i = 0; i < ntags && i < sizeof prop - 1; i++)