parent
814241cc54
commit
3305143854
|
@ -273,7 +273,7 @@ IPC_Screen(const char *params, Client * c __UNUSED__)
|
|||
{
|
||||
ScreenShowInfo(p);
|
||||
}
|
||||
else if (!p || !strncmp(param, "size", 2))
|
||||
else if (!strncmp(param, "size", 2))
|
||||
{
|
||||
IpcPrintf("Screen %d size %dx%d\n", VRoot.scr, VRoot.w, VRoot.h);
|
||||
}
|
||||
|
|
8
src/x.c
8
src/x.c
|
@ -1638,8 +1638,8 @@ EDisplayClose(void)
|
|||
#else
|
||||
XCloseDisplay(disp);
|
||||
#endif
|
||||
XSetErrorHandler((XErrorHandler) NULL);
|
||||
XSetIOErrorHandler((XIOErrorHandler) NULL);
|
||||
XSetErrorHandler(NULL);
|
||||
XSetIOErrorHandler(NULL);
|
||||
disp = NULL;
|
||||
}
|
||||
|
||||
|
@ -1653,8 +1653,8 @@ EDisplayDisconnect(void)
|
|||
#else
|
||||
close(ConnectionNumber(disp));
|
||||
#endif
|
||||
XSetErrorHandler((XErrorHandler) NULL);
|
||||
XSetIOErrorHandler((XIOErrorHandler) NULL);
|
||||
XSetErrorHandler(NULL);
|
||||
XSetIOErrorHandler(NULL);
|
||||
|
||||
disp = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue