Re: help needed: window focus bugs



On Wed, 2004-08-11 at 22:34 -0400, Havoc Pennington wrote:

> A possible global fix is to change GTK+, but I'm not sure that's right.

I think I just figured out what you might be referring to.  Yes, we
could have gtk+ not set _NET_WM_USER_TIME for windows beyond the first
prior to mapping (so that almost all apps would be breaking the spec),
which would force Metacity to fallback to the old always-focus-new-
windows behavior due to not having timestamps to compare.  It's a two
line gtk+ patch (removing an "else if" section), and it would actually
work pretty well, but...it's a little unsettling to disable focus-
stealing-prevention for windows beyond the first of an app just because
we don't have it working in a couple circumstances yet.


Elijah



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]