summaryrefslogtreecommitdiffstats
path: root/dwm.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwm.c')
-rw-r--r--dwm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 5c27113..61ac193 100644
--- a/dwm.c
+++ b/dwm.c
@@ -179,7 +179,6 @@ static long getstate(Window w);
179static Bool gettextprop(Window w, Atom atom, char *text, unsigned int size); 179static Bool gettextprop(Window w, Atom atom, char *text, unsigned int size);
180static void grabbuttons(Client *c, Bool focused); 180static void grabbuttons(Client *c, Bool focused);
181static void grabkeys(void); 181static void grabkeys(void);
182static Monitor *idxtomon(unsigned int n);
183static void initfont(const char *fontstr); 182static void initfont(const char *fontstr);
184static Bool isprotodel(Client *c); 183static Bool isprotodel(Client *c);
185static void keypress(XEvent *e); 184static void keypress(XEvent *e);
@@ -233,6 +232,7 @@ static int xerrorstart(Display *dpy, XErrorEvent *ee);
233static void zoom(const Arg *arg); 232static void zoom(const Arg *arg);
234#ifdef XINERAMA 233#ifdef XINERAMA
235static void focusmon(const Arg *arg); 234static void focusmon(const Arg *arg);
235static Monitor *idxtomon(unsigned int n);
236static void tagmon(const Arg *arg); 236static void tagmon(const Arg *arg);
237#endif /* XINERAMA */ 237#endif /* XINERAMA */
238 238
@@ -943,6 +943,7 @@ grabkeys(void) {
943 } 943 }
944} 944}
945 945
946#ifdef XINERAMA
946Monitor * 947Monitor *
947idxtomon(unsigned int n) { 948idxtomon(unsigned int n) {
948 unsigned int i; 949 unsigned int i;
@@ -951,6 +952,7 @@ idxtomon(unsigned int n) {
951 for(m = mons, i = 0; m && i != n; m = m->next, i++); 952 for(m = mons, i = 0; m && i != n; m = m->next, i++);
952 return m; 953 return m;
953} 954}
955#endif /* XINERAMA */
954 956
955void 957void
956initfont(const char *fontstr) { 958initfont(const char *fontstr) {