Add a --screen option for setting the default screen. (Based on a patch
Thu Oct 31 12:40:39 2002 Owen Taylor <otaylor@redhat.com> * gdk/gdk.[ch] gdk/gdkglobals.c gdk/gdkinternals.h gdk/{x11,win32,linux-fb}/gdkscreen-{x11,win32,linux-fb}.c: Add a --screen option for setting the default screen. (Based on a patch from Balamurali Viswanathan, #81145) * gdk/gdk.c gdkdisplay.h gtk/gtkmain.c: Add gdk_display_open_default_libgtk_only(), so gtk_init_check() and gdk_init_check() can share the same behavior w.r.t. --screen. * gdk/gdk.[ch]: Make gdk_get_display_arg_name() G_CONST_RETURN. * gdk/x11/gdkselection-x11.c (gdk_selection_property_get): Suppress a spurious warning. * tests/testgtkrc: Remove someleft-over commented out includes that could be confusing.
This commit is contained in:
		| @ -146,6 +146,8 @@ GdkWindow *      gdk_display_get_window_at_pointer (GdkDisplay             *disp | ||||
| GdkDisplayPointerHooks *gdk_display_set_pointer_hooks (GdkDisplay                   *display, | ||||
| 						       const GdkDisplayPointerHooks *new_hooks); | ||||
|  | ||||
| GdkDisplay *gdk_display_open_default_libgtk_only (void); | ||||
|  | ||||
| G_END_DECLS | ||||
|  | ||||
| #endif				/* __GDK_DISPLAY_H__ */ | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Owen Taylor
					Owen Taylor