[Bug 10359] Steam with incorrect cursor position.

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Feb 28 01:37:29 CST 2008


http://bugs.winehq.org/show_bug.cgi?id=10359


Dan Roberts <Ademan555 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Ademan555 at gmail.com




--- Comment #27 from Dan Roberts <Ademan555 at gmail.com>  2008-02-28 01:37:28 ---
I just tested to confirm the source.

With my top panel set to 24px, the offset into the steam window was about 24px.
 When i set the height to 48, the offset was ~48.  With no top panel at all,
there was indeed no offset.

As someone said before, we're probably missing a message we need.  For anyone
unfamiliar, programs can only send position REQUESTS to the window manager, and
they may grant them, they may not, whatever, in this case it looks like the
window manager *sorta* grants it, and there should be a message associated with
this.

I did a bit of reading.  http://tronche.com/gui/x/icccm/sec-4.html   
section 4.1.5 covers this behavior.  A ConfigureNotify event should be recieved
so long as the window was setup with the StructureNotify mask.  But you'll
notice that they mention the TranslateCoordinate() function, which will ask the
window manager to change the coordinate from one space to another (i assume
"absolute" space to the toplevel window's space)


I guess what you were saying earlier Vitaliy was that we ARE in fact recieving
the ConfigureNotify event, but it's in a different process that's not available
to this window somehow...
But this brings me to my point really... why do we need to know where windows
are?  The window manager is supposed to handle all pointer redirection not
client windows... (I'm sure there's a good reason for it, and I'll look into
it, but it doesn't make sense to me at the moment)


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list