mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-23 20:01:22 +00:00
* Source/x11/XGServerWindow.m (placewindow::): use window->xframe
as current window frame instead of NSWindow's frame because `_frame` ivar may be already changed to target value.
This commit is contained in:
parent
230006323d
commit
4c9ca90eac
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2020-02-24 Sergii Stoian <stoyan255@gmail.com>
|
||||
|
||||
* Source/x11/XGServerWindow.m (placewindow::): use window->xframe
|
||||
as current window frame instead of NSWindow's frame because
|
||||
`_frame` ivar may be already changed to desired value.
|
||||
|
||||
2020-02-11 Sergii Stoian <stoyan255@gmail.com>
|
||||
|
||||
* Source/x11/XGServerWindow.m (screenList): Transform screen
|
||||
|
|
|
@ -3219,7 +3219,7 @@ swapColors(unsigned char *image_data, NSBitmapImageRep *rep)
|
|||
NSDebugLLog(@"XGTrace", @"DPSplacewindow: %@ : %d", NSStringFromRect(rect),
|
||||
win);
|
||||
nswin = GSWindowWithNumber(win);
|
||||
frame = [nswin frame];
|
||||
frame = [self _XFrameToOSFrame: window->xframe for: window];
|
||||
if (NSEqualRects(rect, frame) == YES)
|
||||
return;
|
||||
if (NSEqualSizes(rect.size, frame.size) == NO)
|
||||
|
|
Loading…
Reference in a new issue