[totem] browser-plugin: Parent the fullscreen window correctly
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [totem] browser-plugin: Parent the fullscreen window correctly
- Date: Mon, 11 Jul 2011 15:23:43 +0000 (UTC)
commit e30b80376104fc89185509af4b2334920eca689e
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 83fde2d..51214d4 100644
--- a/browser-plugin/totem-plugin-viewer.c
+++ b/browser-plugin/totem-plugin-viewer.c
@@ -771,6 +771,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]