* [gentoo-commits] gentoo-x86 commit in app-i18n/scim/files: scim-fix-disappeared-status-icon.patch
@ 2010-02-16 15:39 Matsuu Takuto (matsuu)
0 siblings, 0 replies; only message in thread
From: Matsuu Takuto (matsuu) @ 2010-02-16 15:39 UTC (permalink / raw
To: gentoo-commits
matsuu 10/02/16 15:39:28
Added: scim-fix-disappeared-status-icon.patch
Log:
Fixed gnome-panel issue, bug #283317.
(Portage version: 2.1.7.17/cvs/Linux x86_64)
Revision Changes Path
1.1 app-i18n/scim/files/scim-fix-disappeared-status-icon.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/scim/files/scim-fix-disappeared-status-icon.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/scim/files/scim-fix-disappeared-status-icon.patch?rev=1.1&content-type=text/plain
Index: scim-fix-disappeared-status-icon.patch
===================================================================
diff --git a/extras/panel/scim_panel_gtk.cpp b/extras/panel/scim_panel_gtk.cpp
index 613613f..b53ef75 100644
--- a/extras/panel/scim_panel_gtk.cpp
+++ b/extras/panel/scim_panel_gtk.cpp
@@ -1072,11 +1072,13 @@ ui_initialize (void)
#ifdef GDK_WINDOWING_X11
// Add an event filter function to observe X root window's properties.
GdkWindow *root_window = gdk_get_default_root_window ();
+ GdkEventMask event_mask;
#if GDK_MULTIHEAD_SAFE
if (_current_screen)
root_window = gdk_screen_get_root_window (_current_screen);
#endif
- gdk_window_set_events (root_window, (GdkEventMask)GDK_PROPERTY_NOTIFY);
+ event_mask = (GdkEventMask) (gdk_window_get_events (root_window) | GDK_PROPERTY_NOTIFY);
+ gdk_window_set_events (root_window, event_mask);
gdk_window_add_filter (root_window, ui_event_filter, NULL);
#endif
@@ -1323,9 +1325,11 @@ ui_switch_screen (GdkScreen *screen)
#ifdef GDK_WINDOWING_X11
GdkWindow *root_window = gdk_get_default_root_window ();
+ GdkEventMask event_mask;
if (_current_screen)
root_window = gdk_screen_get_root_window (_current_screen);
- gdk_window_set_events (root_window, (GdkEventMask)GDK_PROPERTY_NOTIFY);
+ event_mask = (GdkEventMask) (gdk_window_get_events (root_window) | GDK_PROPERTY_NOTIFY);
+ gdk_window_set_events (root_window, event_mask);
gdk_window_add_filter (root_window, ui_event_filter, NULL);
#endif
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-02-16 15:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-16 15:39 [gentoo-commits] gentoo-x86 commit in app-i18n/scim/files: scim-fix-disappeared-status-icon.patch Matsuu Takuto (matsuu)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox