Explorar el Código

Properly quit when window gets closed; fixes issue #27

master
Bert Münnich hace 7 años
padre
commit
1fb3ec576c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      main.c

+ 1
- 1
main.c Ver fichero

@@ -739,7 +739,7 @@ void run(void)
break;
case ClientMessage:
if ((Atom) ev.xclient.data.l[0] == atoms[ATOM_WM_DELETE_WINDOW])
return;
cmds[g_quit].func(0);
break;
case ConfigureNotify:
if (win_configure(&win, &ev.xconfigure)) {


Cargando…
Cancelar
Guardar