Ticket #57036: gtk3-nswindow-1.patch

File gtk3-nswindow-1.patch, 779 bytes (added by rmottola (Riccardo), 6 years ago)
  • gdk/quartz/gdkwindow-quartz.c

    old new  
    5555
    5656#ifndef AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER
    5757static FullscreenSavedGeometry *get_fullscreen_geometry (GdkWindow *window);
     58NSWindowCollectionBehaviorFullScreenPrimary = NSWindowCollectionBehaviorDefault;
     59
     60#ifndef AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER
     61typedef NSUInteger NSWindowCollectionBehavior;
     62
     63@interface NSWindow (GTKExtensions)
     64- (void)setCollectionBehavior:(NSWindowCollectionBehavior)behavior;
     65@end
     66
     67@implementation NSWindow (GTKExtensions)
     68- (void)setCollectionBehavior:(NSWindowCollectionBehavior)behavior
     69{
     70}
     71@end
     72#endif
     73
    5874#endif
    5975
    6076#define FULLSCREEN_DATA "fullscreen-data"