static const char *cvstag = "$scrotwm$";
-#define SWM_VERSION "0.9.19"
+#define SWM_VERSION "0.9.22"
#include <stdio.h>
#include <stdlib.h>
#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
{
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,
* if we have more enternotifies let them handle it in due time
*/
if (XCheckTypedEvent(display, EnterNotify, &cne) == True) {
- DNPRINT(SWM_D_EVENT,
+ DNPRINTF(SWM_D_EVENT,
"ignoring enternotify: got more enternotify\n");
XPutBackEvent(display, &cne);
return;