]> Pileus Git - ~andy/gtk/commit
Some fixes for modal hint setting based on a patch from Arvind Samptur
authorOwen Taylor <otaylor@redhat.com>
Mon, 16 Dec 2002 00:05:26 +0000 (00:05 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Mon, 16 Dec 2002 00:05:26 +0000 (00:05 +0000)
commit6669d0c581baced1feed0c0df587b96d72c386f1
tree5084ad70f513a6720043fab4526ef303edb5e31d
parent0c9448f07fc197e619eaceee6096c60feebd3c2c
Some fixes for modal hint setting based on a patch from Arvind Samptur

Sun Dec 15 18:47:30 2002  Owen Taylor  <otaylor@redhat.com>

Some fixes for modal hint setting based on a patch
from Arvind Samptur (#100416)

* gtk/gtkdialog.c (gtk_dialog_run): Call gtk_window_set_modal
before showing the window for efficiency.

* gtk/gtkwindow.c (gtk_window_realize): Ignore the EWMH
constraint that the transient-for hint must always be
set on windows with the modal hint and just always set
the modal hint.

* gtk/gtkwindow.c (gtk_window_set_modal): Update the
modal hint on the GdkWindow when the window is realized.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkdialog.c
gtk/gtkwindow.c