Bug 70087 - Metacity 2.8.2 handling of new windows is problematic
Summary: Metacity 2.8.2 handling of new windows is problematic
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-06 19:20 UTC by Jean-Yves Lefort
Modified: 2004-08-06 21:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Yves Lefort 2004-08-06 19:20:18 UTC
Metacity 2.8.2 implements the new freedesktop.org EWMH specification,
but that causes new windows of applications not supporting that
specification to appear below existing ones.

The problem is extremely annoying. I recommend to add the following
patch to the port (see
http://bugzilla.gnome.org/show_bug.cgi?id=149028 for a detailed
discussion of the issue).

Fix: 

--- src/window.c	31 Jul 2004 21:26:05 -0000	1.333
+++ src/window.c	4 Aug 2004 15:55:42 -0000
@@ -1619,6 +1619,11 @@ window_takes_focus_on_map (MetaWindow *w
     case META_WINDOW_NORMAL:
     case META_WINDOW_DIALOG:
     case META_WINDOW_MODAL_DIALOG:
+      /* Don't do focus stealing stuff; lame cop-out while we work on
+       * fixing http://bugzilla.gnome.org/show_bug.cgi?id=149028
+       */
+      return TRUE;
+
       if (window->focus_despite_user_time)
 	return TRUE;
Comment 1 Joe Marcus Clarke freebsd_committer freebsd_triage 2004-08-06 21:04:46 UTC
State Changed
From-To: open->closed

I was testing this, too.  Committed.