mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-22 15:00:04 +01:00
Use xcb_disconnect instead of XCloseDisplay.
This commit is contained in:
parent
f3d9fabb7b
commit
f16d7aeb6a
1 changed files with 1 additions and 3 deletions
|
|
@ -328,9 +328,7 @@ void dmxCloseDisplay(DMXScreenInfo *dmxScreen)
|
||||||
if (dmxScreen->beAtomTable)
|
if (dmxScreen->beAtomTable)
|
||||||
xfree (dmxScreen->beAtomTable);
|
xfree (dmxScreen->beAtomTable);
|
||||||
|
|
||||||
XLIB_PROLOGUE (dmxScreen);
|
xcb_disconnect (dmxScreen->connection);
|
||||||
XCloseDisplay (dmxScreen->beDisplay);
|
|
||||||
XLIB_EPILOGUE (dmxScreen);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void dmxSetErrorHandler(DMXScreenInfo *dmxScreen)
|
void dmxSetErrorHandler(DMXScreenInfo *dmxScreen)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue