Y
Y
yarushin_a2019-10-29 17:42:47
linux
yarushin_a, 2019-10-29 17:42:47

Qt. Xlib. mouse event. How to catch mouse / focus?

It is necessary globally, in any windows, to catch the type of the element receiving focus. I found examples where the click event is caught, but there is an infinite loop and it hangs the application. Is there a way to subscribe to the global focus change event and get the type of the element that receives this focus from there?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question