Ted Gould has proposed merging 
lp:~ted/indicator-appmenu/user-visible-bamf-windows into lp:indicator-appmenu.

Requested reviews:
  Indicator Applet Developers (indicator-applet-developers)


Check to ensure the windows are user visible.
-- 
https://code.launchpad.net/~ted/indicator-appmenu/user-visible-bamf-windows/+merge/32899
Your team ayatana-commits is subscribed to branch lp:indicator-appmenu.
=== modified file 'src/indicator-appmenu.c'
--- src/indicator-appmenu.c	2010-07-15 18:26:31 +0000
+++ src/indicator-appmenu.c	2010-08-17 16:56:40 +0000
@@ -650,6 +650,10 @@
 	guint32 xid = 0;
 
 	while (window != NULL && menus == NULL) {
+		if (!bamf_view_user_visible(BAMF_VIEW(window))) {
+			window = NULL;
+		}
+
 		xid = bamf_window_get_xid(window);
 	
 		menus = g_hash_table_lookup(appmenu->apps, GUINT_TO_POINTER(xid));

_______________________________________________
Mailing list: https://launchpad.net/~ayatana-commits
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ayatana-commits
More help   : https://help.launchpad.net/ListHelp

Reply via email to