From 2c07399718a1495e99fcd9b588d40433a77c13d4 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Mon, 11 Jul 2011 16:16:55 +0100 Subject: browser-plugin: Parent the fullscreen window correctly So that it doesn't show up as a separate application in gnome-shell. https://bugzilla.gnome.org/show_bug.cgi?id=654404 --- browser-plugin/totem-plugin-viewer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/browser-plugin/totem-plugin-viewer.c b/browser-plugin/totem-plugin-viewer.c index 2b5b92cac..29e789f5c 100644 --- a/browser-plugin/totem-plugin-viewer.c +++ b/browser-plugin/totem-plugin-viewer.c @@ -773,6 +773,7 @@ totem_embedded_set_fullscreen (TotemEmbedded *emb, gdk_screen_get_monitor_geometry (gtk_widget_get_screen (GTK_WIDGET (emb->bvw)), monitor, &rect); gtk_window_move (GTK_WINDOW (emb->fs_window), rect.x, rect.y); + totem_interface_set_transient_for (GTK_WINDOW (emb->fs_window), GTK_WINDOW (emb->window)); gtk_widget_reparent (GTK_WIDGET (emb->bvw), emb->fs_window); bacon_video_widget_set_fullscreen (emb->bvw, TRUE); -- cgit v1.2.1