From 3a7749b0fca471717d2a6067bbcdf98feec1b078 Mon Sep 17 00:00:00 2001 From: kojima Date: Wed, 20 Oct 2004 06:11:30 +0000 Subject: [PATCH] allow omnipresent iconized windows to be focused on empty workspaces --- src/cycling.c | 9 +++++++-- src/geomview.c | 1 - src/wconfig.h.in | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/cycling.c b/src/cycling.c index 05fd2a4a..bd00cb87 100644 --- a/src/cycling.c +++ b/src/cycling.c @@ -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); diff --git a/src/geomview.c b/src/geomview.c index 58abe5e7..f1ce2581 100644 --- a/src/geomview.c +++ b/src/geomview.c @@ -40,7 +40,6 @@ WCreateGeometryView(WMScreen *scr) WGeometryView *gview; char buffer[64]; static W_Class widgetClass = 0; - WMColor *color; if (!widgetClass) { widgetClass = W_RegisterUserWidget(); diff --git a/src/wconfig.h.in b/src/wconfig.h.in index 4e97d554..6bb9e8d0 100644 --- a/src/wconfig.h.in +++ b/src/wconfig.h.in @@ -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 */ -- 2.11.4.GIT