Sfoglia il codice sorgente

similiar change as in dwm

master
Anselm R Garbe 16 anni fa
parent
commit
698ec259af
1 ha cambiato i file con 4 aggiunte e 5 eliminazioni
  1. +4
    -5
      dmenu.c

+ 4
- 5
dmenu.c Vedi File

@@ -587,11 +587,12 @@ run(void) {
void
setup(Bool topbar) {
int i, j, x, y;
XModifierKeymap *modmap;
XSetWindowAttributes wa;
#if XINERAMA
int n;
XineramaScreenInfo *info = NULL;
#endif
XModifierKeymap *modmap;
XSetWindowAttributes wa;

/* init modifier map */
modmap = XGetModifierMapping(dpy);
@@ -618,10 +619,8 @@ setup(Bool topbar) {
/* menu window geometry */
mh = dc.font.height + 2;
#if XINERAMA
if(XineramaIsActive(dpy)) {
int n;
if(XineramaIsActive(dpy) && (info = XineramaQueryScreens(dpy, &n))) {
i = 0;
info = XineramaQueryScreens(dpy, &n);
if(n > 1) {
int di;
unsigned int dui;


Caricamento…
Annulla
Salva