Don't send MODALITY_ON/OFF if socket->same_app (More fixes for #69735)

Sat Jan 26 19:27:23 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtksocket.c (gtk_socket_grab_notify): Don't
        send MODALITY_ON/OFF if socket->same_app (More fixes for #69735)
This commit is contained in:
Owen Taylor 2002-01-27 00:36:38 +00:00 committed by Owen Taylor
parent 887c5ad832
commit 1a60d00ed9
8 changed files with 41 additions and 3 deletions

View File

@ -1,3 +1,8 @@
Sat Jan 26 19:27:23 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (gtk_socket_grab_notify): Don't
send MODALITY_ON/OFF if socket->same_app (More fixes for #69735)
Sat Jan 26 19:04:37 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (check_is_grabbed): Return FALSE not true

View File

@ -1,3 +1,8 @@
Sat Jan 26 19:27:23 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (gtk_socket_grab_notify): Don't
send MODALITY_ON/OFF if socket->same_app (More fixes for #69735)
Sat Jan 26 19:04:37 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (check_is_grabbed): Return FALSE not true

View File

@ -1,3 +1,8 @@
Sat Jan 26 19:27:23 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (gtk_socket_grab_notify): Don't
send MODALITY_ON/OFF if socket->same_app (More fixes for #69735)
Sat Jan 26 19:04:37 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (check_is_grabbed): Return FALSE not true

View File

@ -1,3 +1,8 @@
Sat Jan 26 19:27:23 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (gtk_socket_grab_notify): Don't
send MODALITY_ON/OFF if socket->same_app (More fixes for #69735)
Sat Jan 26 19:04:37 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (check_is_grabbed): Return FALSE not true

View File

@ -1,3 +1,8 @@
Sat Jan 26 19:27:23 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (gtk_socket_grab_notify): Don't
send MODALITY_ON/OFF if socket->same_app (More fixes for #69735)
Sat Jan 26 19:04:37 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (check_is_grabbed): Return FALSE not true

View File

@ -1,3 +1,8 @@
Sat Jan 26 19:27:23 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (gtk_socket_grab_notify): Don't
send MODALITY_ON/OFF if socket->same_app (More fixes for #69735)
Sat Jan 26 19:04:37 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (check_is_grabbed): Return FALSE not true

View File

@ -1,3 +1,8 @@
Sat Jan 26 19:27:23 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (gtk_socket_grab_notify): Don't
send MODALITY_ON/OFF if socket->same_app (More fixes for #69735)
Sat Jan 26 19:04:37 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmain.c (check_is_grabbed): Return FALSE not true

View File

@ -677,9 +677,12 @@ static void
gtk_socket_grab_notify (GtkWidget *widget,
gboolean was_grabbed)
{
send_xembed_message (GTK_SOCKET (widget),
was_grabbed ? XEMBED_MODALITY_OFF : XEMBED_MODALITY_ON,
0, 0, 0, gtk_get_current_event_time ());
GtkSocket *socket = GTK_SOCKET (widget);
if (!socket->same_app)
send_xembed_message (GTK_SOCKET (widget),
was_grabbed ? XEMBED_MODALITY_OFF : XEMBED_MODALITY_ON,
0, 0, 0, gtk_get_current_event_time ());
}
static gboolean