[Bug 2185] New: xprop does not select correct client window in WM's
using virtual roots
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Jan 1 02:55:39 PST 2005
Please do not reply to this email: if you want to comment on the bug, go to
the URL shown below and enter yourcomments there.
https://bugs.freedesktop.org/show_bug.cgi?id=2185
Summary: xprop does not select correct client window in WM's
using virtual roots
Product: xorg
Version: 6.8.1
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: App/other
AssignedTo: xorg-bugzilla-noise at freedesktop.org
ReportedBy: kim at woelders.dk
When manually selecting a window, xprop finds the top-level window containing
the pointer and uses XmuClientWindow to attempt to find a client window having
WM_STATE set.
In a WM using virtual roots (e.g. enlightenment, desks other than first) this
fails beacuse the top-level window is a virtual root, and XmuClientWindow seems
to find the first client having WM_STATE set, which only by coincidence will be
the one the user intended to select (i.e. containing the pointer).
The solution is to descend the window hierarchy at the pointer location to find
a window with WM_STATE set.
xwd and xwininfo have the same problem, as they use the same function (in
xlsfonts/dsimple.c) to pick the window.
Will attach patch.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the xorg-bugzilla-noise
mailing list