View Single Post
thp's Avatar
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#777
Originally Posted by SaiKo View Post
If i do 'xwininfo -root -children -int' camera-ui is listed 3 times although the app isn't activated.

How would python get the truly active windows?
This function:

https://github.com/harmattan/camerra...camerra.py#L41

returns True if the camera UI is on top, False otherwise.