parent
814241cc54
commit
3305143854
|
@ -273,7 +273,7 @@ IPC_Screen(const char *params, Client * c __UNUSED__)
|
||||||
{
|
{
|
||||||
ScreenShowInfo(p);
|
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);
|
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
|
#else
|
||||||
XCloseDisplay(disp);
|
XCloseDisplay(disp);
|
||||||
#endif
|
#endif
|
||||||
XSetErrorHandler((XErrorHandler) NULL);
|
XSetErrorHandler(NULL);
|
||||||
XSetIOErrorHandler((XIOErrorHandler) NULL);
|
XSetIOErrorHandler(NULL);
|
||||||
disp = NULL;
|
disp = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1653,8 +1653,8 @@ EDisplayDisconnect(void)
|
||||||
#else
|
#else
|
||||||
close(ConnectionNumber(disp));
|
close(ConnectionNumber(disp));
|
||||||
#endif
|
#endif
|
||||||
XSetErrorHandler((XErrorHandler) NULL);
|
XSetErrorHandler(NULL);
|
||||||
XSetIOErrorHandler((XIOErrorHandler) NULL);
|
XSetIOErrorHandler(NULL);
|
||||||
|
|
||||||
disp = NULL;
|
disp = NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue