X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=scrotwm.c;h=70dcb0d8217ccdaf6ef756bba4db2485c663e29a;hb=91c40c6b5e4af7f2a04f3fd9ec32a0a94c22ab27;hp=1ddb08f0bf2078ba327f8e12ff705adb8275d9c5;hpb=9f73a1279542c96aff7cbc6390a449cdcc66df06;p=spectrwm.git diff --git a/scrotwm.c b/scrotwm.c index 1ddb08f..70dcb0d 100644 --- 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 #include @@ -84,6 +84,10 @@ static const char *cvstag = "$scrotwm$"; #include #include +#ifdef __OSX__ +#include +#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,