summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2011-07-11 16:16:55 +0100
committerBastien Nocera <hadess@hadess.net>2011-07-11 16:22:26 +0100
commit2c07399718a1495e99fcd9b588d40433a77c13d4 (patch)
tree20dd74b96c0b4ed283b75adf1e07622db5e9a0bd
parentdb4963a798ea1ff1efc51b3ad7ec04c8e07580a1 (diff)
downloadtotem-2c07399718a1495e99fcd9b588d40433a77c13d4.tar.gz
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
-rw-r--r--browser-plugin/totem-plugin-viewer.c1
1 files changed, 1 insertions, 0 deletions
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);