Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » TopWindow&PopUp, TrayIcon » Problems with CursorImage/Popups/Frames on X11
Re: Problems with CursorImage/Popups/Frames on X11 [message #13380 is a reply to message #13378] Thu, 03 January 2008 18:29 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
That was the first thing I tried Smile

Problem is that Upp (or indeed any client app) doesn't get notified of mouse events in the title bar since it's technically a different window. The only alternative is to call XQueryPointer which has two further problems:
- Knowing the mouse state wouldn't be enough since there is no way of telling if the XConfigureNotify is from a user action. You would have to guess at the size of the decoration and see if the mouse is in it.
- It requires Server<-->Client communication, which I believe should be avoided on such a frequent event.

Please suggest any other ideas, but I'm reasonably sure it's not possible. I've spent quite a lot of time looking at this, logging events etc.

James

[Updated on: Thu, 03 January 2008 18:32]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Painting below your window, not bleeding into your window...
Next Topic: Toolbox inside a TopWindow
Goto Forum:
  


Current Time: Fri Jun 06 21:32:34 CEST 2025

Total time taken to generate the page: 0.50183 seconds