* Headers/Additions/GNUstepGUI/GSWindowDecorationView.h:

Move new addon methods for Wayland to correct class
GSStandardWindowDecorationView.
* Source/GSWindowDecorationView.m: Keep variables declarations together.
This commit is contained in:
Fred Kiefer 2021-12-28 17:23:48 +01:00
parent bc9d477a9f
commit b84d8cc3fd
3 changed files with 12 additions and 5 deletions

View file

@ -323,10 +323,10 @@ calc_new_frame(NSRect frame, NSPoint point, NSPoint firstPoint,
NSRect newFrame, frame;
NSSize minSize, maxSize;
int num = 0;
GSResizeEdgeMode mode = [self resizeModeForPoint: firstPoint];
firstPoint = [event locationInWindow];
GSResizeEdgeMode mode = [self resizeModeForPoint: firstPoint];
frame = [window frame];
minSize = [window minSize];