gdk/macos: fix warning about _coreCursorType

This commit is contained in:
Christian Hergert 2023-01-12 13:22:47 -08:00
parent fb12ad807a
commit 958ecf2855

View File

@ -23,6 +23,10 @@
#include "gdkmacoscursor-private.h"
@interface NSCursor()
-(long long)_coreCursorType;
@end
/* OS X only exports a number of cursor types in its public NSCursor interface.
* By overriding the private _coreCursorType method, we can tell OS X to load
* one of its internal cursors instead (since cursor images are loaded on demand