ports/70087: Metacity 2.8.2 handling of new windows is problematic

Jean-Yves Lefort jylefort at brutele.be
Fri Aug 6 18:20:18 UTC 2004


>Number:         70087
>Category:       ports
>Synopsis:       Metacity 2.8.2 handling of new windows is problematic
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 06 18:20:18 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Jean-Yves Lefort
>Release:        FreeBSD 4.10-RELEASE i386
>Organization:
>Environment:
System: FreeBSD jsite.lefort.net 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Thu Jul 1 14:25:43 CEST 2004 jylefort at jsite.lefort.net:/usr/obj/usr/src/sys/JSITE i386
>Description:
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).
>How-To-Repeat:
>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;
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list