gtk/gdk/quartz
Philip Chimento ec37fbe2e2 quartz: NSWindow NULL check in get_scale_factor
Sending backingScaleFactor to a NULL NSWindow will silently give the
value 0 for the scale factor, causing insidious divide-by-zero bugs down
the line. This checks if the NSWindow is NULL first, as seems to happen
throughout the rest of the file.

Note that I don't have a hi-DPI OS X machine to test this on, though.

https://bugzilla.gnome.org/show_bug.cgi?id=738338
2014-12-24 14:57:40 -08:00
..
gdkcursor-quartz.c
gdkdevice-core-quartz.c
gdkdevicemanager-core-quartz.c
gdkdevicemanager-core-quartz.h
gdkdisplay-quartz.c
gdkdisplaymanager-quartz.c
gdkdnd-quartz.c
gdkdnd-quartz.h
gdkeventloop-quartz.c
gdkevents-quartz.c
gdkglobals-quartz.c
gdkkeys-quartz.c
gdkprivate-quartz.h
gdkproperty-quartz.c
gdkquartz.h
gdkquartzcursor.h
gdkquartzdevice-core.h
gdkquartzdevicemanager-core.h
gdkquartzdisplay.h
gdkquartzdisplaymanager.h
gdkquartzdnd.h
gdkquartzkeys.h
GdkQuartzNSWindow.c
GdkQuartzNSWindow.h
gdkquartzscreen.h
gdkquartzutils.h
GdkQuartzView.c
GdkQuartzView.h
gdkquartzvisual.h
gdkquartzwindow.h
gdkscreen-quartz.c
gdkscreen-quartz.h
gdkselection-quartz.c
gdktestutils-quartz.c
gdkutils-quartz.c
gdkvisual-quartz.c
gdkwindow-quartz.c
gdkwindow-quartz.h
Makefile.am
xcursors.h