mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-21 05:18:06 +01:00
allow omnipresent iconized windows to be focused on empty workspaces
This commit is contained in:
@@ -78,7 +78,7 @@ StartWindozeCycle(WWindow *wwin, XEvent *event, Bool next)
|
||||
WSwitchPanel *swpanel = NULL;
|
||||
KeyCode leftKey, rightKey, homeKey, endKey;
|
||||
|
||||
if (!wwin || wwin->frame->workspace != scr->current_workspace)
|
||||
if (!wwin)
|
||||
return;
|
||||
|
||||
leftKey = XKeysymToKeycode(dpy, XK_Left);
|
||||
@@ -117,7 +117,12 @@ StartWindozeCycle(WWindow *wwin, XEvent *event, Bool next)
|
||||
}
|
||||
}
|
||||
else
|
||||
newFocused= wwin;
|
||||
{
|
||||
if (wwin->frame->workspace == scr->current_workspace)
|
||||
newFocused= wwin;
|
||||
else
|
||||
newFocused= NULL;
|
||||
}
|
||||
|
||||
while (hasModifier && !done) {
|
||||
WMMaskEvent(dpy, KeyPressMask|KeyReleaseMask|ExposureMask|PointerMotionMask, &ev);
|
||||
|
||||
@@ -40,7 +40,6 @@ WCreateGeometryView(WMScreen *scr)
|
||||
WGeometryView *gview;
|
||||
char buffer[64];
|
||||
static W_Class widgetClass = 0;
|
||||
WMColor *color;
|
||||
|
||||
if (!widgetClass) {
|
||||
widgetClass = W_RegisterUserWidget();
|
||||
|
||||
@@ -276,7 +276,7 @@
|
||||
#define DEF_CLIP_TITLE_FONT "\"Trebuchet MS,Luxi Sans:bold:pixelsize=10\""
|
||||
#define DEF_INFO_TEXT_FONT "\"Trebuchet MS,Luxi Sans:pixelsize=12\""
|
||||
|
||||
#define DEF_WORKSPACE_NAME_FONT "Trebuchet MS,Luxi Sans:bold:pixelsize=24"
|
||||
#define DEF_WORKSPACE_NAME_FONT "\"Trebuchet MS,Luxi Sans:bold:pixelsize=24\""
|
||||
|
||||
|
||||
#define DEF_FRAME_THICKNESS 1 /* linewidth of the move/resize frame */
|
||||
|
||||
Reference in New Issue
Block a user