mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-23 20:01:22 +00:00
* Source/x11/XGServerEvent.m (processEvent:): add space after comma in
XSync call. * Source/x11/XGServerWindow.m (boundsForScreen:): use NSZeroRect.
This commit is contained in:
parent
8d9223aa1e
commit
f38d8a33bd
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue