[totem/gnome-3-0] browser-plugin: Parent the fullscreen window correctly



commit 2c07399718a1495e99fcd9b588d40433a77c13d4
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Jul 11 16:16:55 2011 +0100

    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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/browser-plugin/totem-plugin-viewer.c b/browser-plugin/totem-plugin-viewer.c
index 2b5b92c..29e789f 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]