static void drawbars(void);
static void drawsquare(Bool filled, Bool empty, Bool invert, unsigned long col[ColLast]);
static void drawtext(const char *text, unsigned long col[ColLast], Bool invert);
+#ifndef M10K
static void enternotify(XEvent *e);
+#endif /* ! M10K */
static void expose(XEvent *e);
static void focus(Client *c);
static void focusin(XEvent *e);
static void mappingnotify(XEvent *e);
static void maprequest(XEvent *e);
static void monocle(Monitor *m);
+#ifndef M10K
static void motionnotify(XEvent *e);
+#endif /* ! M10K */
static void movemouse(const Arg *arg);
static Client *nexttiled(Client *c);
static void pop(Client *);
[ConfigureRequest] = configurerequest,
[ConfigureNotify] = configurenotify,
[DestroyNotify] = destroynotify,
+#ifndef M10K
[EnterNotify] = enternotify,
+#else
+ [EnterNotify] = NULL,
+#endif /* M10K */
[Expose] = expose,
[FocusIn] = focusin,
[KeyPress] = keypress,
[MappingNotify] = mappingnotify,
[MapRequest] = maprequest,
+#ifndef M10K
[MotionNotify] = motionnotify,
+#else
+ [MotionNotify] = NULL,
+#endif /* ! M10K */
[PropertyNotify] = propertynotify,
[ResizeRequest] = resizerequest,
[UnmapNotify] = unmapnotify
pango_layout_set_attributes(dc.font.layout, NULL);
}
+#ifndef M10K
void
enternotify(XEvent *e) {
Client *c;
return;
focus(c);
}
+#endif /* ! M10K */
void
expose(XEvent *e) {
resize(c, m->wx, m->wy, m->ww - 2 * c->bw, m->wh - 2 * c->bw, False);
}
+#ifndef M10K
void
motionnotify(XEvent *e) {
static Monitor *mon = NULL;
focus(NULL);
}
mon = m;
+ return;
}
+#endif /* ! M10K */
void
movemouse(const Arg *arg) {