diff options
author | crupest <crupest@outlook.com> | 2023-10-18 22:55:18 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-10-18 22:55:18 +0800 |
commit | e8abfdb0c1d3e918bfaac2077cc7e5332c1cfaf9 (patch) | |
tree | 9f90a0ca3d49cb33ba9ad28568d5e400ceeffce7 /src/platform/gui/osx/WindowPrivate.h | |
parent | 0a67b1c862954d0d18d4fbf322c31ea0faf065d7 (diff) | |
download | cru-e8abfdb0c1d3e918bfaac2077cc7e5332c1cfaf9.tar.gz cru-e8abfdb0c1d3e918bfaac2077cc7e5332c1cfaf9.tar.bz2 cru-e8abfdb0c1d3e918bfaac2077cc7e5332c1cfaf9.zip |
Fix input method bugs on macos.
There are a lot of problems about input methods and we will definitely
spend more on this. And the bug made me awkward on today's interview
when showing the demo.
Diffstat (limited to 'src/platform/gui/osx/WindowPrivate.h')
-rw-r--r-- | src/platform/gui/osx/WindowPrivate.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/platform/gui/osx/WindowPrivate.h b/src/platform/gui/osx/WindowPrivate.h index 49cc0154..00e15084 100644 --- a/src/platform/gui/osx/WindowPrivate.h +++ b/src/platform/gui/osx/WindowPrivate.h @@ -2,9 +2,9 @@ #include "cru/platform/gui/osx/Window.h" #include "cru/common/Event.h" -#include "cru/platform/gui/osx/Cursor.h" #include "cru/platform/gui/TimerHelper.h" #include "cru/platform/gui/Window.h" +#include "cru/platform/gui/osx/Cursor.h" #import <AppKit/AppKit.h> @@ -64,9 +64,9 @@ class OsxWindowPrivate { OsxWindow* GetWindow() { return osx_window_; } NSWindow* GetNSWindow() { return window_; } - private: Size GetScreenSize(); + private: void CreateWindow(); void UpdateCursor(); |