mirror of https://github.com/0intro/wmii
changed page flip policy
This commit is contained in:
parent
7c7e43b6bf
commit
03f7aacd1f
|
@ -62,17 +62,17 @@ void hide_area(Area * a)
|
|||
{
|
||||
Frame *f;
|
||||
for (f = a->layout->frames(a); f; f = f->next)
|
||||
XUnmapWindow(dpy, f->win);
|
||||
XMoveWindow(dpy, f->win, 2 * rect.width, 2 * rect.height);
|
||||
}
|
||||
|
||||
void show_area(Area *a, Bool raise)
|
||||
{
|
||||
Frame *f;
|
||||
for (f = a->layout->frames(a); f; f = f->next)
|
||||
for (f = a->layout->frames(a); f; f = f->next) {
|
||||
XMoveWindow(dpy, f->win, f->rect.x, f->rect.y);
|
||||
if (raise)
|
||||
XMapRaised(dpy, f->win);
|
||||
else
|
||||
XMapWindow(dpy, f->win);
|
||||
XRaiseWindow(dpy, f->win);
|
||||
}
|
||||
}
|
||||
|
||||
Area *sel_area()
|
||||
|
|
|
@ -273,12 +273,11 @@ void center_pointer(Frame * f);
|
|||
/* page.c */
|
||||
Page *pageat(unsigned int idx);
|
||||
Page *alloc_page();
|
||||
void free_page(Page * p);
|
||||
void destroy_page(Page * p);
|
||||
void destroy_page(Page *p);
|
||||
void focus_page(Page *p);
|
||||
XRectangle *rectangles(unsigned int *num);
|
||||
void hide_page(Page * p);
|
||||
void show_page(Page * p);
|
||||
void hide_page(Page *p);
|
||||
void show_page(Page *p);
|
||||
|
||||
/* layout.c */
|
||||
Layout *match_layout(char *name);
|
||||
|
|
Loading…
Reference in New Issue