* Source/x11/XGServerEvent.m (processEvent:): add space after comma in

XSync call.
* Source/x11/XGServerWindow.m (boundsForScreen:): use NSZeroRect.
This commit is contained in:
Sergii Stoian 2020-01-28 12:04:03 +02:00
parent 8d9223aa1e
commit f38d8a33bd
2 changed files with 2 additions and 2 deletions

View file

@ -1905,7 +1905,7 @@ posixFileDescriptor: (NSPosixFileDescriptor*)fileDescriptor
&& (xEvent.xconfigure.window == RootWindow(dpy, defScreen)))
{
// Check if other RandR events are waiting in the queue.
XSync(dpy,0);
XSync(dpy, 0);
while (XCheckTypedEvent(dpy, randr_event_type, &xEvent)) {;}
XRRUpdateConfiguration(event);

View file

@ -4512,7 +4512,7 @@ _computeDepth(int class, int bpp)
- (NSRect) boundsForScreen: (int)screen
{
NSRect boundsRect = {{0,0},{0,0}};
NSRect boundsRect = NSZeroRect;
if (screen < 0 || screen >= ScreenCount(dpy))
{