summaryrefslogtreecommitdiff
path: root/platform/macos/godot_window_delegate.h
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2022-09-22 12:06:11 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2022-09-22 23:09:56 +0300
commit0dab11afa4dca6bba7aba554ec4097de30200f73 (patch)
tree739cf5adb01fdaabbc14f6fa72800920a8f10462 /platform/macos/godot_window_delegate.h
parent62792eeb9fac4f44272f59f95ec8eb3abc0432a7 (diff)
[macOS extend-to-title] Add scene/project name to the editor title, fix incorrect window button position/order when system primary language is RTL.
Diffstat (limited to 'platform/macos/godot_window_delegate.h')
-rw-r--r--platform/macos/godot_window_delegate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/macos/godot_window_delegate.h b/platform/macos/godot_window_delegate.h
index 98c226aa2f..01cc13a016 100644
--- a/platform/macos/godot_window_delegate.h
+++ b/platform/macos/godot_window_delegate.h
@@ -38,6 +38,8 @@
@interface GodotWindowDelegate : NSObject <NSWindowDelegate> {
DisplayServer::WindowID window_id;
+ NSRect old_frame;
+ NSWindowStyleMask old_style_mask;
}
- (void)setWindowID:(DisplayServer::WindowID)wid;