[gnome-shell/T27795: 21/138] ShellWindowTracker: Add a hack to hide JavaEmbeddedFrame icons



commit 1c7c999429d3c6e60d6d2533daf9b55fa50c230c
Author: Cosimo Cecchi <cosimo endlessm com>
Date:   Tue Jul 23 18:25:13 2013 -0700

    ShellWindowTracker: Add a hack to hide JavaEmbeddedFrame icons
    
    [endlessm/eos-shell#548]

 src/shell-window-tracker.c | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/src/shell-window-tracker.c b/src/shell-window-tracker.c
index 29da98eec1..16abd42673 100644
--- a/src/shell-window-tracker.c
+++ b/src/shell-window-tracker.c
@@ -824,6 +824,12 @@ shell_window_tracker_is_window_interesting (MetaWindow *window)
   if (meta_window_is_skip_taskbar (window))
     return FALSE;
 
+  /* HACK: see https://github.com/endlessm/eos-shell/issues/548 and
+   * https://github.com/linuxmint/Cinnamon/issues/728
+   */
+  if (g_strcmp0 (meta_window_get_title (window), "JavaEmbeddedFrame") == 0)
+    return FALSE;
+
   return TRUE;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]