Implement type hints and use them to determine which windows should be

2006-07-19  Richard Hult  <richard@imendio.com>

	* gdk/quartz/gdkwindow-quartz.c (gdk_window_impl_quartz_init)
	(gdk_window_set_type_hint, gdk_window_get_type_hint):
	* gdk/quartz/GdkQuartzWindow.c
	([GdkQuartzWindow -canBecomeMainWindow])
	([GdkQuartzWindow -canBecomeKeyWindow]): Implement type hints and
	use them to determine which windows should be allowed to become
	main and key windows.
This commit is contained in:
Richard Hult
2006-07-19 09:13:24 +00:00
committed by Richard Hult
parent 53b0354823
commit 7f15d73769
5 changed files with 86 additions and 12 deletions

View File

@ -52,6 +52,8 @@ struct _GdkWindowImplQuartz
NSTrackingRectTag tracking_rect;
GdkQuartzView *view;
GdkWindowTypeHint type_hint;
/* This is the autorelease pool which is retained
* while the context is being held
*/