[Gambas-user] Request for new property z-order of the DesktopWindow object

John Rose john.aaron.rose at gmail.com
Fri May 29 10:57:40 CEST 2020


Bruce said:
I doubt whether that would help you, Benoit would have a better grasp on 
this but depending on the DE and WM involved the z-order handling could 
be very different.
As a quick example, on my DE/WM environment if a widow is rolled up but 
has its' "Always On Top" feature set the it will always appear on top 
but "only occasionally" has focus. If there are more than one "AOT" 
windows then the stacking order and focus is generally in-determinant.
Your xprop approach is probably the best solution.
Although the stacking order could be considered a property of the 
window, it is actually in the domain of the WM so ??? WMx counts up/ WMy 
counts down ??? where would you be.

I'm not interested (in my app) in which window has focus. I'm only 
interested in a window being on top of another window (i.e. its stacking 
has a higher priority than the other window's stacking) when the user 
clicks on a point in the overlapping area. Not sure if I understood the 
last sentence in regard to WMx counts up & WMy counts down. I presume 
that those terms mean that they're like Gambas Left & Top properties. If 
so, IMO it doesn't obviate my need for a z-order property.




More information about the User mailing list