Platform/Unix/X11Display.cpp: minor stuff.
This commit is contained in:
parent
0c76864b40
commit
40e4f95452
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue