aMSN Forums
May 20, 2013, 09:55:56 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New forum for aMSN !!
 
   Home   Help Search Login Register  
Pages: 1 2 3 [4]
  Print  
Author Topic: Hardy flashing gnome panel  (Read 34513 times)
trv
Super Power User
**
Offline Offline

Posts: 154


View Profile WWW
« Reply #45 on: October 21, 2008, 07:26:47 pm »

Yesterday, Matthew Martin, on the bugzilla page about this metacity bug, added the following patch for metacity:
http://bugzilla.gnome.org/show_bug.cgi?id=528927
Code:
Index: src/core/window.c
===================================================================
--- src/core/window.c (revision 3967)
+++ src/core/window.c (working copy)
@@ -8062,6 +8062,10 @@
       /* windows on other workspaces are necessarily obscured */
       obscured = TRUE;
     }
+  else if (window->minimized)
+    {
+      obscured = TRUE;
+    }
   else
     {
       meta_window_get_outer_rect (window, &candidate_rect);
@@ -8087,11 +8091,14 @@
             }
         }
       /* If the window's in full view, there's no point setting the flag. */
-  
-      meta_topic (META_DEBUG_WINDOW_OPS,
-          "Not marking %s as needing attention because it's in full view\n",
-          window->desc);
-      return;
+
+      if (obscured == FALSE)
+        {  
+          meta_topic (META_DEBUG_WINDOW_OPS,
+              "Not marking %s as needing attention because it's in full view\n",
+              window->desc);
+          return;
+        }
     }
     
   /* Otherwise, go ahead and set the flag. */


I have tested the patch, and it works!

Finally, flashing works on gnome panel with metacity running for window manager.
Logged
sbubba
Newbie

Offline Offline

Posts: 2


View Profile
« Reply #46 on: December 03, 2008, 02:25:01 pm »

I've the same problem, but I don't understand.. where do I put the code?
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #47 on: December 03, 2008, 06:18:02 pm »

sbubba: you would need to download metacity's source code, patch it with the above patch and recompile and install metacity. If you don't know how to do it, either use google or forget about it, it's not a "simple task"...
Logged

KaKaRoTo
sbubba
Newbie

Offline Offline

Posts: 2


View Profile
« Reply #48 on: December 06, 2008, 01:46:37 pm »

ahà ok, I've understood Smiley
Logged
Pages: 1 2 3 [4]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!