Commit e5b2bb20 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx/windows: don't access AppKit instance variables directly

Access to those will be removed in a future update of macOS
parent 37ba6702
......@@ -342,7 +342,7 @@
bottom edge is on the screen or can be on the screen when the user moves
the window */
difference = NSMaxY (screenRect) - NSMaxY (frameRect);
if (_styleMask & NSResizableWindowMask) {
if (self.styleMask & NSResizableWindowMask) {
CGFloat difference2;
difference2 = screenRect.origin.y - frameRect.origin.y;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment