Introduction
Introduction Statistics Contact Development Disclaimer Help
tsome minor fix if xinerama is disabled, still some odd behavior in there - dwm…
git clone git://src.adamsgaard.dk/dwm
Log
Files
Refs
README
LICENSE
---
commit 25c1eb28f955adf241226596335f5d73b28620a0
parent d719cc9a0e4bc75b555993f1526b24a5f82222a8
Author: Anselm R Garbe <[email protected]>
Date: Wed, 1 Jul 2009 17:08:10 +0100
some minor fix if xinerama is disabled, still some odd behavior in there
Diffstat:
M config.mk | 4 ++--
M dwm.c | 4 +++-
2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/config.mk b/config.mk
t@@ -11,8 +11,8 @@ X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib
# Xinerama, un-comment if you want it
-XINERAMALIBS = -L${X11LIB} -lXinerama
-XINERAMAFLAGS = -DXINERAMA
+#XINERAMALIBS = -L${X11LIB} -lXinerama
+#XINERAMAFLAGS = -DXINERAMA
# includes and libs
INCS = -I. -I/usr/include -I${X11INC}
diff --git a/dwm.c b/dwm.c
t@@ -179,7 +179,6 @@ static long getstate(Window w);
static Bool gettextprop(Window w, Atom atom, char *text, unsigned int size);
static void grabbuttons(Client *c, Bool focused);
static void grabkeys(void);
-static Monitor *idxtomon(unsigned int n);
static void initfont(const char *fontstr);
static Bool isprotodel(Client *c);
static void keypress(XEvent *e);
t@@ -233,6 +232,7 @@ static int xerrorstart(Display *dpy, XErrorEvent *ee);
static void zoom(const Arg *arg);
#ifdef XINERAMA
static void focusmon(const Arg *arg);
+static Monitor *idxtomon(unsigned int n);
static void tagmon(const Arg *arg);
#endif /* XINERAMA */
t@@ -943,6 +943,7 @@ grabkeys(void) {
}
}
+#ifdef XINERAMA
Monitor *
idxtomon(unsigned int n) {
unsigned int i;
t@@ -951,6 +952,7 @@ idxtomon(unsigned int n) {
for(m = mons, i = 0; m && i != n; m = m->next, i++);
return m;
}
+#endif /* XINERAMA */
void
initfont(const char *fontstr) {
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.