1
0
Fork 0

source/Platform/Unix/X11Display.cpp: Whitespace fix.

This commit is contained in:
Henrik Hautakoski 2022-10-02 17:11:27 +02:00
parent 605e0df902
commit 84f0a83bee

View file

@ -230,7 +230,7 @@ void X11Display::setIcon(unsigned int width, unsigned int height, const uint8_t
{
::Display* disp = Xlib::getDisplay();
::Atom net_wm_icon = Xlib::getAtom("_NET_WM_ICON", False);
::Atom cardinal = Xlib::getAtom("CARDINAL", False);
::Atom cardinal = Xlib::getAtom("CARDINAL", False);
std::vector<uint64_t> buffer(2 + width * height);
uint64_t *ptr = &buffer[0];
@ -265,8 +265,8 @@ void X11Display::createHiddenCursor()
::XDrawPoint(disp, pix, gc, 0, 0);
c.red = c.green = c.blue = 0;
c.flags = DoRed | DoGreen | DoBlue;
m_cur_hidden = XCreatePixmapCursor(disp, pix, pix, &c, &c, 0, 0);
c.flags = DoRed | DoGreen | DoBlue;
m_cur_hidden = XCreatePixmapCursor(disp, pix, pix, &c, &c, 0, 0);
// Free GC and pixmap.
::XFreePixmap(disp, pix);