This commit is contained in:
Branimir Karadžić 2018-03-28 20:35:37 -07:00
parent 7f36cb1164
commit 3272efe2f5
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ namespace entry
int32_t run(int _argc, const char* const* _argv)
{
XInitThreads();
m_display = XOpenDisplay(0);
m_display = XOpenDisplay(NULL);
int32_t screen = DefaultScreen(m_display);
m_depth = DefaultDepth(m_display, screen);