gtk2/gdk/x11
Havoc Pennington 75d79abf98 test the window state stuff
2001-02-26  Havoc Pennington  <hp@redhat.com>

	* gtk/testgtk.c: test the window state stuff

	* gtk/gtkwindow.c (gtk_window_present): new function, makes a
	window come to the user's attention as if it were just created
	(gtk_window_iconify): new function
	(gtk_window_deiconify): new function
	(gtk_window_stick): new function
	(gtk_window_unstick): new function
	(gtk_window_maximize): new function
	(gtk_window_unmaximize): new function

	* gtk/gtkwidget.h, gtk/gtkwidget.c: add window_state_event signal

	* gtk/gtkmain.c (gtk_main_do_event): handle GDK_WINDOW_STATE

	* gdk/x11/gdkevents-x11.c: create window state events when
	appropriate
	(gdk_wmspec_supported): new function

	* gdk/x11/gdkwindow-x11.c (gdk_window_iconify): handle
	iconification before showing the window
	(gdk_window_deiconify): new function
	(gdk_window_stick): new function
	(gdk_window_unstick): new function
	(gdk_window_maximize): new function
	(gdk_window_unmaximize): new function

	* gdk/gdkwindow.c: store the window state in the window;
	change to using the GDK_WINDOW_STATE_WITHDRAWN flag instead of
	window->mapped.
	(gdk_window_get_state): return the current window state

	* gdk/gdkevents.c (gdk_event_get_time): handle GDK_WINDOW_STATE
	(gdk_event_get_state): handle GDK_WINDOW_STATE
	(gdk_synthesize_window_state): function to create the window state
	events

	* gdk/gdkevents.h (struct _GdkEventWindowState): new type of
	event, for changes to "window state" such as maximized, sticky,
	etc.

	* gdk/x11/gdkwindow-x11.c (gdk_window_focus): new function,
	focuses a window

	* gdk/x11/gdkmain-x11.c (_gdk_wmspec_supported): new function,
	finds out if we support a given WM spec hint
2001-02-27 20:40:15 +00:00
..
.cvsignore Substitute gdkx.h => gdkprivate.h since we need to accesss only 1999-11-08 22:33:28 +00:00
gdkcolor-x11.c fix bug where it always set the foreground, even if we were only using a 2001-02-13 05:44:47 +00:00
gdkcursor-x11.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkdnd-x11.c Remove unused variable. 2001-01-17 20:05:08 +00:00
gdkdrawable-x11.c Adapt to uscore-ification of gtktextiterprivate 2001-01-04 17:48:43 +00:00
gdkdrawable-x11.h applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkevents-x11.c test the window state stuff 2001-02-27 20:40:15 +00:00
gdkfont-x11.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkgc-x11.c Add two virtualized functions gdk_drawable_get_clip_region - to get the 2000-12-15 01:46:41 +00:00
gdkgeometry-x11.c test the window state stuff 2001-02-27 20:40:15 +00:00
gdkglobals-x11.c Add gdk_window_iconify. 2000-10-04 16:51:42 +00:00
gdkim-x11.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkimage-x11.c Remove confusing comment about X11. 2001-02-03 16:31:35 +00:00
gdkinput-gxi.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkinput-none.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkinput-x11.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkinput-xfree.c applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkinput.c Doc comment fixing. (Mostly non-matching parameter names.) 2000-09-07 18:07:59 +00:00
gdkinputprivate.h applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkkeys-x11.c fix name of function, noticed by Alex 2000-12-07 14:30:07 +00:00
gdkmain-x11.c test the window state stuff 2001-02-27 20:40:15 +00:00
gdkpango-x11.c Add two virtualized functions gdk_drawable_get_clip_region - to get the 2000-12-15 01:46:41 +00:00
gdkpixmap-x11.c urg, removed implementation of gtk_marshal_VOID__INT_INT_INT_INT. if 2000-10-25 22:34:14 +00:00
gdkpixmap-x11.h applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkprivate-x11.h Add two virtualized functions gdk_drawable_get_clip_region - to get the 2000-12-15 01:46:41 +00:00
gdkproperty-x11.c If window == NULL, assume the root window. (restoring the behaviour that 2000-10-25 21:05:37 +00:00
gdkselection-x11.c Fix problem with using result of g_get_charset() backwards - pointed out 2000-11-12 19:16:11 +00:00
gdkvisual-x11.c GCompareFunc -> GEqualFunc where applicable. 2000-11-13 13:15:41 +00:00
gdkwindow-x11.c test the window state stuff 2001-02-27 20:40:15 +00:00
gdkwindow-x11.h applied patch from Andreas Persenius <ndap@swipnet.se> that updates the 2000-07-26 11:33:08 +00:00
gdkx.h test the window state stuff 2001-02-27 20:40:15 +00:00
gdkxid.c GCompareFunc -> GEqualFunc where applicable. 2000-11-13 13:15:41 +00:00
gxid_lib.c Removed DEFS "+=" mess that breaks recent automakes. INCLUDES is the 1998-11-24 05:58:53 +00:00
gxid_lib.h Initial revision 1997-11-24 22:37:52 +00:00
gxid_proto.h Initial revision 1997-11-24 22:37:52 +00:00
gxid.c Merges from gtk-1-2 2000-03-14 19:57:25 +00:00
Makefile.am better error message if you try to add a widget to a bin that already has 2001-02-09 00:40:48 +00:00
MwmUtil.h Account for the fact that Xlib expects format == 32 to be a long, even on 1999-02-21 20:55:04 +00:00