source/Platform/Unix/X11Display.cpp: Whitespace fix.
This commit is contained in:
parent
605e0df902
commit
84f0a83bee
1 changed files with 3 additions and 3 deletions
|
|
@ -230,7 +230,7 @@ void X11Display::setIcon(unsigned int width, unsigned int height, const uint8_t
|
||||||
{
|
{
|
||||||
::Display* disp = Xlib::getDisplay();
|
::Display* disp = Xlib::getDisplay();
|
||||||
::Atom net_wm_icon = Xlib::getAtom("_NET_WM_ICON", False);
|
::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);
|
std::vector<uint64_t> buffer(2 + width * height);
|
||||||
uint64_t *ptr = &buffer[0];
|
uint64_t *ptr = &buffer[0];
|
||||||
|
|
||||||
|
|
@ -265,8 +265,8 @@ void X11Display::createHiddenCursor()
|
||||||
::XDrawPoint(disp, pix, gc, 0, 0);
|
::XDrawPoint(disp, pix, gc, 0, 0);
|
||||||
|
|
||||||
c.red = c.green = c.blue = 0;
|
c.red = c.green = c.blue = 0;
|
||||||
c.flags = DoRed | DoGreen | DoBlue;
|
c.flags = DoRed | DoGreen | DoBlue;
|
||||||
m_cur_hidden = XCreatePixmapCursor(disp, pix, pix, &c, &c, 0, 0);
|
m_cur_hidden = XCreatePixmapCursor(disp, pix, pix, &c, &c, 0, 0);
|
||||||
|
|
||||||
// Free GC and pixmap.
|
// Free GC and pixmap.
|
||||||
::XFreePixmap(disp, pix);
|
::XFreePixmap(disp, pix);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue