[PATCH 3/5] Add monitor-number as configurable option

From: FRIGN <dev_AT_frign.de>
Date: Mon, 22 Dec 2014 15:47:26 +0100

---
 config.def.h | 1 +
 dmenu.c      | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.def.h b/config.def.h
index 79e55ef..205739f 100644
--- a/config.def.h
+++ b/config.def.h
_AT_@ -2,6 +2,7 @@
 /* Default settings; can be overridden by command line arguments. */
 
 static int          topbar       = 1;          /* -b  option; if 0, dmenu appears at bottom     */
+static int          mon          = -1;         /* -m  option; monitor number, -1 for default    */
 static const char   *font        = NULL;       /* -fn option; default X11 font or font set      */
 static const char   *prompt      = NULL;       /* -p  option; prompt to the elft of input field */
 static const char   *normbgcolor = "#222222";  /* -nb option; normal background                 */
diff --git a/dmenu.c b/dmenu.c
index c723c06..077c4ca 100644
--- a/dmenu.c
+++ b/dmenu.c
_AT_@ -56,7 +56,6 @@ static Item *matches, *matchend;
 static Item *prev, *curr, *next, *sel;
 static Window win;
 static XIC xic;
-static int mon = -1;
 
 #include "config.h"
 
-- 
1.8.5.5
--Multipart=_Mon__22_Dec_2014_18_40_59_+0100_ph7wbDS_mXmI_UXb
Content-Type: text/x-diff;
 name="0004-Refactor-to-style-9.patch"
Content-Disposition: attachment;
 filename="0004-Refactor-to-style-9.patch"
Content-Transfer-Encoding: quoted-printable
Received on Mon Sep 17 2001 - 00:00:00 CEST

This archive was generated by hypermail 2.3.0 : Mon Dec 22 2014 - 19:36:08 CET