mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-24 04:11:28 +00:00
* Source/x11/XGServerWindow.m (placewindow::): move NSWindow fetching
code closer to its usage.
This commit is contained in:
parent
f080ecdf78
commit
70e4222ece
1 changed files with 1 additions and 1 deletions
|
@ -3234,7 +3234,6 @@ swapColors(unsigned char *image_data, NSBitmapImageRep *rep)
|
|||
|
||||
NSDebugLLog(@"XGTrace", @"DPSplacewindow: %@ : %d", NSStringFromRect(rect),
|
||||
win);
|
||||
nswin = GSWindowWithNumber(win);
|
||||
frame = [self _XFrameToOSFrame: window->xframe for: window];
|
||||
if (NSEqualRects(rect, frame) == YES)
|
||||
return;
|
||||
|
@ -3285,6 +3284,7 @@ swapColors(unsigned char *image_data, NSBitmapImageRep *rep)
|
|||
with min/max sizes and resizability in some window managers. */
|
||||
setNormalHints(dpy, window);
|
||||
|
||||
nswin = GSWindowWithNumber(win);
|
||||
if (resize == YES)
|
||||
{
|
||||
NSDebugLLog(@"Moving", @"Fake size %lu - %@", window->number,
|
||||
|
|
Loading…
Reference in a new issue