mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-24 12:21:34 +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),
|
NSDebugLLog(@"XGTrace", @"DPSplacewindow: %@ : %d", NSStringFromRect(rect),
|
||||||
win);
|
win);
|
||||||
nswin = GSWindowWithNumber(win);
|
|
||||||
frame = [self _XFrameToOSFrame: window->xframe for: window];
|
frame = [self _XFrameToOSFrame: window->xframe for: window];
|
||||||
if (NSEqualRects(rect, frame) == YES)
|
if (NSEqualRects(rect, frame) == YES)
|
||||||
return;
|
return;
|
||||||
|
@ -3285,6 +3284,7 @@ swapColors(unsigned char *image_data, NSBitmapImageRep *rep)
|
||||||
with min/max sizes and resizability in some window managers. */
|
with min/max sizes and resizability in some window managers. */
|
||||||
setNormalHints(dpy, window);
|
setNormalHints(dpy, window);
|
||||||
|
|
||||||
|
nswin = GSWindowWithNumber(win);
|
||||||
if (resize == YES)
|
if (resize == YES)
|
||||||
{
|
{
|
||||||
NSDebugLLog(@"Moving", @"Fake size %lu - %@", window->number,
|
NSDebugLLog(@"Moving", @"Fake size %lu - %@", window->number,
|
||||||
|
|
Loading…
Reference in a new issue