mirror of https://github.com/0intro/wmii
removed crap
This commit is contained in:
parent
2db3a303b2
commit
a4799e2148
11
cmd/wm/wm.c
11
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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue