Hack around a window focus problem in the new metacity. This is a messy hack,
but it will do until the bug can be fixed for real. See http://bugzilla.gnome.org/show_bug.cgi?id=149028 for more details. PR: 70087 Obtained from: http://bugzilla.gnome.org/show_bug.cgi?id=149276
This commit is contained in:
parent
6c52274886
commit
385e808375
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=115523
2 changed files with 14 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= metacity
|
||||
PORTVERSION= 2.8.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11-wm
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME}
|
||||
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R}
|
||||
|
|
13
x11-wm/metacity/files/patch-src_window.c
Normal file
13
x11-wm/metacity/files/patch-src_window.c
Normal file
|
@ -0,0 +1,13 @@
|
|||
--- 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;
|
Loading…
Reference in a new issue