eleminated all compile issues

This commit is contained in:
garbeam 2005-12-03 19:02:39 +02:00
parent e9cea1dba8
commit c09888f7a1
4 changed files with 35 additions and 11 deletions

View File

@ -11,7 +11,7 @@
#include <cext.h>
static Area zero_area = {0};
/*static Area zero_area = {0};*/
void
free_area(Area* a)
@ -46,3 +46,29 @@ focus_area(Area *a, int raise, int up, int down)
focus_page(p, raise, 0);
}
void
attach_frame_to_area(Area *a, Frame * f)
{
}
void
detach_frame_from_area(Frame * f, int ignore_focus_and_destroy)
{
}
void
draw_area(Area *a)
{
}
void
hide_area(Area *a)
{
}
void
show_area(Area *a)
{
}

View File

@ -147,12 +147,10 @@ handle_configurerequest(XEvent * e)
gravitate(c, tabh ? tabh : bw, bw, 0);
if (f) {
XRectangle *frect = rect_of_frame(f);
frect->x = wc.x = c->rect.x - bw;
frect->y = wc.y = c->rect.y - (tabh ? tabh : bw);
frect->width = wc.width = c->rect.width + 2 * bw;
frect->height = wc.height =
c->rect.height + bw + (tabh ? tabh : bw);
f->rect.x = wc.x = c->rect.x - bw;
f->rect.y = wc.y = c->rect.y - (tabh ? tabh : bw);
f->rect.width = wc.width = c->rect.width + 2 * bw;
f->rect.height = wc.height = c->rect.height + bw + (tabh ? tabh : bw);
wc.border_width = 1;
wc.sibling = None;
wc.stack_mode = ev->detail;

View File

@ -360,7 +360,7 @@ handle_frame_buttonpress(XButtonEvent * e, Frame * f)
}
void
attach_Cliento_frame(Frame * f, Client * c)
attach_client_to_frame(Frame * f, Client * c)
{
int size = count_items((void **) f->clients);
wmii_move_ixpfile(c->files[C_PREFIX], f->files[F_CLIENT_PREFIX]);

View File

@ -40,7 +40,7 @@ static Column zero_column = {0};
static Acme zero_acme = {0};
void
init_layout_col()
init_layout_column()
{
layouts =
(Layout **) attach_item_end((void **) layouts, &lcol,
@ -171,7 +171,7 @@ deinit_col(Area *a)
while (f->clients && f->clients[0])
detach_client_from_frame(f->clients[0], 0, 0);
detach_frame_from_area(f, 1);
free_frame(f);
destroy_frame(f);
}
free(col->frames);
}
@ -213,7 +213,7 @@ detach_col(Area *a, Client *c, int unmapped, int destroyed)
col->refresh = 1;
detach_client_from_frame(c, unmapped, destroyed);
detach_frame_from_area(f, 1);
free_frame(f);
destroy_frame(f);
arrange_col(a);
}