r3417 - trunk/src/target/OM-2007.2/daemons/neod/src

mickey at sita.openmoko.org mickey at sita.openmoko.org
Wed Nov 14 11:09:33 CET 2007


Author: mickey
Date: 2007-11-14 11:09:32 +0100 (Wed, 14 Nov 2007)
New Revision: 3417

Modified:
   trunk/src/target/OM-2007.2/daemons/neod/src/buttonactions.c
Log:
neod: use _MB_CURRENT_APP_WINDOW for now to detect the current active window


Modified: trunk/src/target/OM-2007.2/daemons/neod/src/buttonactions.c
===================================================================
--- trunk/src/target/OM-2007.2/daemons/neod/src/buttonactions.c	2007-11-14 09:58:53 UTC (rev 3416)
+++ trunk/src/target/OM-2007.2/daemons/neod/src/buttonactions.c	2007-11-14 10:09:32 UTC (rev 3417)
@@ -493,7 +493,10 @@
     static int is_fullscreen = 0;
 
     gtk_widget_hide( aux_menu );
-    Window xwindow = get_window_property( gdk_x11_get_default_root_xwindow(), gdk_x11_get_xatom_by_name("_NET_ACTIVE_WINDOW") );
+    
+
+    Window xwindow = get_window_property( gdk_x11_get_default_root_xwindow(), //gdk_x11_get_xatom_by_name("_NET_ACTIVE_WINDOW") );
+    gdk_x11_get_xatom_by_name("_MB_CURRENT_APP_WINDOW") );
     const char* title = get_text_property( xwindow, gdk_x11_get_xatom_by_name("_NET_WM_NAME") );
     g_debug( "active Window = %d ('%s')", (int) xwindow, title );
 





More information about the commitlog mailing list