aboutsummaryrefslogtreecommitdiffstats
path: root/src/DocumentWindowController.h
diff options
context:
space:
mode:
authorTeddy Wing2023-09-29 21:19:48 +0200
committerTeddy Wing2023-09-29 21:19:48 +0200
commit67b864b6e13ad7e4746b1d4f5b5c0fa6607689e4 (patch)
tree53c1a11e5cb594556b7b46d8b4289a3dd4572427 /src/DocumentWindowController.h
parent5a1c43d54396b9251a5181335532eca2a8f15be9 (diff)
downloadBase-Windowed-Application-67b864b6e13ad7e4746b1d4f5b5c0fa6607689e4.tar.bz2
Document: Fix window cascade
Removing the pointer fixed the cascade, and now new document windows open shifted by a full titlebar height. Did a bit of searching on GitHub for `-cascadeTopLeftFromPoint:` and found this code that does what I was trying to do: https://github.com/dsa28s/android-studio-apple-m1/blob/c555e84728bfd82a0f9e705af012da37fb52291f/src/java.desktop/macosx/native/libawt_lwawt/awt/AWTWindow.m#L1399 The above code taught me about the `NSEqualPoints` function, which is basically what I wanted to initialise the variable. But now I suppose I don't actually need to do an initialisation of the variable.
Diffstat (limited to 'src/DocumentWindowController.h')
0 files changed, 0 insertions, 0 deletions