1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-30 10:22:34 +01:00

added themable, pixmap background switch panel

This commit is contained in:
kojima
2004-10-25 00:07:51 +00:00
parent e3c67d55de
commit f274afdd1d
12 changed files with 723 additions and 334 deletions

View File

@@ -47,10 +47,12 @@ extern WShortKey wKeyBindings[WKBD_LAST];
static void raiseWindow(WSwitchPanel *swpanel, WWindow *wwin)
{
Window swwin= wSwitchPanelGetWindow(swpanel);
if (wwin->flags.mapped) {
Window win[2];
win[0]= wSwitchPanelGetWindow(swpanel);
win[0]= swwin;
win[1]= wwin->frame->core->window;
XRestackWindows(dpy, win, 2);
@@ -249,9 +251,11 @@ StartWindozeCycle(WWindow *wwin, XEvent *event, Bool next)
wSetFocusTo(scr, newFocused);
}
if (swpanel)
wSwitchPanelDestroy(swpanel);
if (!getenv("SWPDEBUG"))
{
if (swpanel)
wSwitchPanelDestroy(swpanel);
}
scr->flags.doing_alt_tab = 0;
if (somethingElse)