mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-26 08:22:37 +01:00
added some netwm support in WINGs
This commit is contained in:
@@ -72,7 +72,7 @@ StartWindozeCycle(WWindow *wwin, XEvent *event, Bool next)
|
||||
Bool somethingElse = False;
|
||||
XEvent ev;
|
||||
WSwitchPanel *swpanel = NULL;
|
||||
KeyCode leftKey, rightKey, homeKey, endKey;
|
||||
KeyCode leftKey, rightKey, homeKey, endKey, shiftLKey, shiftRKey;
|
||||
|
||||
if (!wwin)
|
||||
return;
|
||||
@@ -81,6 +81,8 @@ StartWindozeCycle(WWindow *wwin, XEvent *event, Bool next)
|
||||
rightKey = XKeysymToKeycode(dpy, XK_Right);
|
||||
homeKey = XKeysymToKeycode(dpy, XK_Home);
|
||||
endKey = XKeysymToKeycode(dpy, XK_End);
|
||||
shiftLKey = XKeysymToKeycode(dpy, XK_Shift_L);
|
||||
shiftRKey = XKeysymToKeycode(dpy, XK_Shift_R);
|
||||
|
||||
if (next)
|
||||
hasModifier = (wKeyBindings[WKBD_FOCUSNEXT].modifier != 0);
|
||||
@@ -179,7 +181,7 @@ StartWindozeCycle(WWindow *wwin, XEvent *event, Bool next)
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
} else if (ev.xkey.keycode != shiftLKey && ev.xkey.keycode != shiftRKey) {
|
||||
#ifdef DEBUG
|
||||
printf("Got something else\n");
|
||||
#endif
|
||||
|
||||
@@ -317,7 +317,7 @@ WSwitchPanel *wInitSwitchPanel(WScreen *scr, WWindow *curwin, int workspace)
|
||||
WMColor *color;
|
||||
WMFont *boldFont= WMBoldSystemFontOfSize(scr->wmscreen, 12);
|
||||
|
||||
WMSetLabelRelief(panel->label, WRSunken);
|
||||
WMSetLabelRelief(panel->label, WRSimple);
|
||||
WMSetLabelFont(panel->label, boldFont);
|
||||
color = WMDarkGrayColor(scr->wmscreen);
|
||||
WMSetWidgetBackgroundColor(panel->label, color);
|
||||
|
||||
Reference in New Issue
Block a user