1
0
Fork 0

Platform/Unix/X11SharedDisplay: pass a pointer to the display to XReleaseDisplay() just to be sure client code has a valid pointer

This commit is contained in:
Henrik Hautakoski 2020-10-17 14:18:41 +02:00
parent 782f116d7c
commit 10e1a9071e
8 changed files with 12 additions and 9 deletions

View file

@ -9,7 +9,7 @@ namespace sp {
::Display* XGetDisplay();
void XReleaseDisplay();
void XReleaseDisplay(::Display* disp);
Atom getAtom(const std::string& name, bool onlyIfExists = false);