After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 585979 - Load NET_WM_USER_TIME from the right window
Load NET_WM_USER_TIME from the right window
Status: RESOLVED FIXED
Product: mutter
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2009-06-16 13:16 UTC by Owen Taylor
Modified: 2009-06-30 13:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Load NET_WM_USER_TIME from the right window (993 bytes, patch)
2009-06-16 13:16 UTC, Owen Taylor
reviewed Details | Review

Description Owen Taylor 2009-06-16 13:16:10 UTC
This disabled most of the focus-stealing prevent operation, I noticed
in debug output that after notification the user-time was always being read
as 0, though it was read correctly initially.
Comment 1 Owen Taylor 2009-06-16 13:16:33 UTC
Created attachment 136717 [details] [review]
Load NET_WM_USER_TIME from the right window

On subsequent changes, if there is a NET_WM_USER_TIME_WINDOW, then
read the property from that rather than from the main window.
(Fix an accidental regression: the right Window was being computed
but no longer passed in.)
Comment 2 Dan Winship 2009-06-16 14:02:15 UTC
looks right. this appears to be broken in metacity head too
Comment 3 Tomas Frydrych 2009-06-22 08:34:57 UTC
Yes, please commit.
Comment 4 Owen Taylor 2009-06-30 13:53:30 UTC
Pushed, filed Bug 587425 against metacity.