JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Add -bundle, from Erik Mugele <ejm@teuton.org>
[spectrwm.git] / scrotwm.c
index 1ddb08f..70dcb0d 100644 (file)
--- a/scrotwm.c
+++ b/scrotwm.c
@@ -52,7 +52,7 @@
 
 static const char      *cvstag = "$scrotwm$";
 
-#define        SWM_VERSION     "0.9.19"
+#define        SWM_VERSION     "0.9.22"
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -84,6 +84,10 @@ static const char    *cvstag = "$scrotwm$";
 #include <X11/Xutil.h>
 #include <X11/extensions/Xrandr.h>
 
+#ifdef __OSX__
+#include <osx.h>
+#endif
+
 #if RANDR_MAJOR < 1
 #  error XRandR versions less than 1.0 are not supported
 #endif
@@ -3982,10 +3986,12 @@ enternotify(XEvent *e)
 {
        XCrossingEvent          *ev = &e->xcrossing;
        XEvent                  cne;
-       struct ws_win           *win, *w;
+       struct ws_win           *win;
+#if 0
+       struct ws_win           *w;
        Window                  focus_return;
        int                     revert_to_return;
-
+#endif
        DNPRINTF(SWM_D_FOCUS, "enternotify: window: %lu mode %d detail %d root "
            "%lu subwindow %lu same_screen %d focus %d state %d\n",
            ev->window, ev->mode, ev->detail, ev->root, ev->subwindow,