Files
Odin/core
Zach Clark 78d83288a0 Add missing SEL _cmd argument to objc class_addMethod IMPs
When trying to grab the window pointer off the notification in a
windowDidBecomeKey implementation, I kept getting segfaults calling
notification->object(). The second argument of these needs to be a SEL.

https://developer.apple.com/documentation/objectivec/class_addmethod(_:_:_:_:)?language=objc#Discussion

I imagine existing code is getting by by setting the window information
in the delegate's context userdata, which works fine when you only have
one window as you can avoid needing to call notification->object(),
until you want one delegate assigned to two windows, hard to work around.
2025-05-27 17:04:19 -07:00
..
2025-05-04 15:48:26 +10:00
2024-09-09 18:49:13 +02:00
2024-12-01 11:54:53 +11:00
2025-02-04 21:27:44 +01:00
int
2025-05-27 04:42:12 +02:00
2025-05-08 13:23:22 +01:00
2025-05-20 19:48:06 +02:00
2025-01-18 22:23:44 +01:00
2024-02-08 15:15:16 +00:00
2025-05-26 14:48:45 -04:00
2025-04-24 09:20:31 -04:00