From 40e4f954529dae76260b57a925355e94b4420c0f Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Wed, 28 Oct 2020 11:00:45 +0100 Subject: [PATCH] Platform/Unix/X11Display.cpp: minor stuff. --- source/Platform/Unix/X11Display.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/Platform/Unix/X11Display.cpp b/source/Platform/Unix/X11Display.cpp index 9b54150..b9e73ac 100644 --- a/source/Platform/Unix/X11Display.cpp +++ b/source/Platform/Unix/X11Display.cpp @@ -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);