[gnome-settings-daemon/randr-osd: 57/60] Use a type-hint of NORMAL for the OSD window
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/randr-osd: 57/60] Use a type-hint of NORMAL for the OSD window
- Date: Wed, 3 Mar 2010 23:49:01 +0000 (UTC)
commit a3a82c679fff22985c445156ee1dfeeb22e3c7a9
Author: Federico Mena Quintero <federico novell com>
Date: Tue Mar 2 18:23:02 2010 -0600
Use a type-hint of NORMAL for the OSD window
Otherwise the window manager will not send mouse events to us.
Signed-off-by: Federico Mena Quintero <federico novell com>
plugins/xrandr/gsd-xrandr-manager.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/xrandr/gsd-xrandr-manager.c b/plugins/xrandr/gsd-xrandr-manager.c
index 8c2070b..022afb5 100644
--- a/plugins/xrandr/gsd-xrandr-manager.c
+++ b/plugins/xrandr/gsd-xrandr-manager.c
@@ -1206,6 +1206,7 @@ create_osd_window (GsdXrandrManager *manager)
priv->osd_window = gsd_osd_window_new ();
gsd_osd_window_set_auto_hide (GSD_OSD_WINDOW (priv->osd_window), FALSE);
+ gtk_window_set_type_hint (GTK_WINDOW (priv->osd_window), GDK_WINDOW_TYPE_HINT_NORMAL);
box = gtk_hbox_new (TRUE, 12);
gtk_container_add (GTK_CONTAINER (priv->osd_window), box);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]