Ver a proveniência

removed compiler warning if XINERAMA is disabled

master
Anselm R Garbe há 16 anos
ascendente
cometimento
88efbf3dd1
1 ficheiros alterados com 2 adições e 1 eliminações
  1. +2
    -1
      dmenu.c

+ 2
- 1
dmenu.c Ver ficheiro

@@ -586,7 +586,7 @@ run(void) {

void
setup(Bool topbar) {
int i, j, n, x, y;
int i, j, x, y;
XModifierKeymap *modmap;
XSetWindowAttributes wa;
#if XINERAMA
@@ -619,6 +619,7 @@ setup(Bool topbar) {
mh = dc.font.height + 2;
#if XINERAMA
if(XineramaIsActive(dpy)) {
int n;
i = 0;
info = XineramaQueryScreens(dpy, &n);
if(n > 1) {


Carregando…
Cancelar
Guardar