1
0
Fork 0

Platform/Unix/X11Display.cpp: minor stuff.

This commit is contained in:
Henrik Hautakoski 2020-10-28 11:00:45 +01:00
parent 0c76864b40
commit 40e4f95452

View file

@ -46,9 +46,9 @@ bool X11Display::create(DisplayDescription description)
| ButtonPressMask | ButtonReleaseMask | PointerMotionMask
| StructureNotifyMask | ExposureMask;
m_win = XCreateWindow(m_disp, root_win,
0, 0,
m_size.x, m_size.y, 0, DefaultDepth(m_disp, m_screen),
m_win = ::XCreateWindow(m_disp, root_win,
0, 0, /* Position */
m_size.x, m_size.y, 0 /* Border width */, DefaultDepth(m_disp, m_screen),
InputOutput, visual,
CWBackPixel | CWColormap | CWBorderPixel | CWEventMask, &attr);