[gnome-shell/eos3.8: 13/255] ShellWindowTracker: Add a hack to hide JavaEmbeddedFrame icons



commit 0de5abb486efcf9aaf53be1873435ae95d48c8ec
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]