commit a4799e2148c8323077f9dd1d9a7f55539dc16ec2
parent 2db3a303b2bdf79e0dfecaab6fd4fa3045f27464
Author: garbeam <garbeam@mmv.wmii.de>
Date: Tue, 13 Dec 2005 03:08:09 +0200
removed crap
Diffstat:
2 files changed, 2 insertions(+), 14 deletions(-)
diff --git a/cmd/wm/wm.c b/cmd/wm/wm.c
@@ -486,17 +486,6 @@ void *get_func(void *acttbl[][2], int rows, char *fname)
return 0;
}
-void update_areas_sizes(Window ignore_win)
-{
- XWindowAttributes wa;
-
- fprintf(stderr, "%s", "update_areas_sizes: \n");
- if(!XGetWindowAttributes(dpy, ignore_win, &wa))
- return;
- fprintf(stderr, "update_areas_sizes: %d, %d, %d, %d\n",
- wa.x, wa.y, wa.width, wa.height);
-}
-
int win_proto(Window w)
{
Atom *protocols;
diff --git a/cmd/wm/wm.h b/cmd/wm/wm.h
@@ -118,8 +118,8 @@ struct Layout {
void (*detach) (Area *, Client *, Bool unmap); /* called on detach */
void (*resize) (Frame *, XRectangle *, XPoint *); /* called after resize */
void (*select) (Frame *, Bool raise); /* selection */
- Container *(*get_frames) (Area *); /* called after resize */
- Action *(*get_actions) (Area *);
+ Container *(*get_frames) (Area *); /* called for drawing */
+ Action *(*get_actions) (Area *); /* local action table */
};
struct Area {
@@ -285,4 +285,3 @@ int win_state(Window w);
void handle_after_write(IXPServer * s, File * f);
void detach(Frame * f, int client_destroyed);
void set_client_state(Client * c, int state);
-void update_areas_sizes(Window ignore_win);