Remove TimJ's checks for already being mapped or hidden. See the ICCCM's

Tue Jan 26 14:02:50 1999  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdkwindow.c (gdk_window_show/hide): Remove TimJ's
	checks for already being mapped or hidden. See
	the ICCCM's section on state changes for why this
	is a bad idea.
This commit is contained in:
Owen Taylor 1999-01-27 23:49:34 +00:00 committed by Owen Taylor
parent 607949ed5e
commit 7934cf9aea
9 changed files with 53 additions and 4 deletions

View File

@ -1,3 +1,10 @@
Tue Jan 26 14:02:50 1999 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_show/hide): Remove TimJ's
checks for already being mapped or hidden. See
the ICCCM's section on state changes for why this
is a bad idea.
Wed Jan 27 17:05:40 1999 Owen Taylor <otaylor@redhat.com> Wed Jan 27 17:05:40 1999 Owen Taylor <otaylor@redhat.com>
* Separate out GLIB_LIBS and GLIB_DEPLIBS. This * Separate out GLIB_LIBS and GLIB_DEPLIBS. This

View File

@ -1,3 +1,10 @@
Tue Jan 26 14:02:50 1999 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_show/hide): Remove TimJ's
checks for already being mapped or hidden. See
the ICCCM's section on state changes for why this
is a bad idea.
Wed Jan 27 17:05:40 1999 Owen Taylor <otaylor@redhat.com> Wed Jan 27 17:05:40 1999 Owen Taylor <otaylor@redhat.com>
* Separate out GLIB_LIBS and GLIB_DEPLIBS. This * Separate out GLIB_LIBS and GLIB_DEPLIBS. This

View File

@ -1,3 +1,10 @@
Tue Jan 26 14:02:50 1999 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_show/hide): Remove TimJ's
checks for already being mapped or hidden. See
the ICCCM's section on state changes for why this
is a bad idea.
Wed Jan 27 17:05:40 1999 Owen Taylor <otaylor@redhat.com> Wed Jan 27 17:05:40 1999 Owen Taylor <otaylor@redhat.com>
* Separate out GLIB_LIBS and GLIB_DEPLIBS. This * Separate out GLIB_LIBS and GLIB_DEPLIBS. This

View File

@ -1,3 +1,10 @@
Tue Jan 26 14:02:50 1999 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_show/hide): Remove TimJ's
checks for already being mapped or hidden. See
the ICCCM's section on state changes for why this
is a bad idea.
Wed Jan 27 17:05:40 1999 Owen Taylor <otaylor@redhat.com> Wed Jan 27 17:05:40 1999 Owen Taylor <otaylor@redhat.com>
* Separate out GLIB_LIBS and GLIB_DEPLIBS. This * Separate out GLIB_LIBS and GLIB_DEPLIBS. This

View File

@ -1,3 +1,10 @@
Tue Jan 26 14:02:50 1999 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_show/hide): Remove TimJ's
checks for already being mapped or hidden. See
the ICCCM's section on state changes for why this
is a bad idea.
Wed Jan 27 17:05:40 1999 Owen Taylor <otaylor@redhat.com> Wed Jan 27 17:05:40 1999 Owen Taylor <otaylor@redhat.com>
* Separate out GLIB_LIBS and GLIB_DEPLIBS. This * Separate out GLIB_LIBS and GLIB_DEPLIBS. This

View File

@ -1,3 +1,10 @@
Tue Jan 26 14:02:50 1999 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_show/hide): Remove TimJ's
checks for already being mapped or hidden. See
the ICCCM's section on state changes for why this
is a bad idea.
Wed Jan 27 17:05:40 1999 Owen Taylor <otaylor@redhat.com> Wed Jan 27 17:05:40 1999 Owen Taylor <otaylor@redhat.com>
* Separate out GLIB_LIBS and GLIB_DEPLIBS. This * Separate out GLIB_LIBS and GLIB_DEPLIBS. This

View File

@ -1,3 +1,10 @@
Tue Jan 26 14:02:50 1999 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c (gdk_window_show/hide): Remove TimJ's
checks for already being mapped or hidden. See
the ICCCM's section on state changes for why this
is a bad idea.
Wed Jan 27 17:05:40 1999 Owen Taylor <otaylor@redhat.com> Wed Jan 27 17:05:40 1999 Owen Taylor <otaylor@redhat.com>
* Separate out GLIB_LIBS and GLIB_DEPLIBS. This * Separate out GLIB_LIBS and GLIB_DEPLIBS. This

View File

@ -742,7 +742,7 @@ gdk_window_show (GdkWindow *window)
g_return_if_fail (window != NULL); g_return_if_fail (window != NULL);
private = (GdkWindowPrivate*) window; private = (GdkWindowPrivate*) window;
if (!private->destroyed && !private->mapped) if (!private->destroyed)
{ {
private->mapped = TRUE; private->mapped = TRUE;
XRaiseWindow (private->xdisplay, private->xwindow); XRaiseWindow (private->xdisplay, private->xwindow);
@ -758,7 +758,7 @@ gdk_window_hide (GdkWindow *window)
g_return_if_fail (window != NULL); g_return_if_fail (window != NULL);
private = (GdkWindowPrivate*) window; private = (GdkWindowPrivate*) window;
if (!private->destroyed && private->mapped) if (!private->destroyed)
{ {
private->mapped = FALSE; private->mapped = FALSE;
XUnmapWindow (private->xdisplay, private->xwindow); XUnmapWindow (private->xdisplay, private->xwindow);

View File

@ -742,7 +742,7 @@ gdk_window_show (GdkWindow *window)
g_return_if_fail (window != NULL); g_return_if_fail (window != NULL);
private = (GdkWindowPrivate*) window; private = (GdkWindowPrivate*) window;
if (!private->destroyed && !private->mapped) if (!private->destroyed)
{ {
private->mapped = TRUE; private->mapped = TRUE;
XRaiseWindow (private->xdisplay, private->xwindow); XRaiseWindow (private->xdisplay, private->xwindow);
@ -758,7 +758,7 @@ gdk_window_hide (GdkWindow *window)
g_return_if_fail (window != NULL); g_return_if_fail (window != NULL);
private = (GdkWindowPrivate*) window; private = (GdkWindowPrivate*) window;
if (!private->destroyed && private->mapped) if (!private->destroyed)
{ {
private->mapped = FALSE; private->mapped = FALSE;
XUnmapWindow (private->xdisplay, private->xwindow); XUnmapWindow (private->xdisplay, private->xwindow);