amin-ahmadi.com
How to Get the Topmost Window Title using Qt/C++ (in Linux) - Amin
Below I have described the method to get active (focused) windows title using Qt in Linux systems (Such as Ubuntu, CentOS etc.) Basically you use xdotool with two parameters mentioned below to get the title of current window which has the focus. Parameter 1 needs to be getwindowfocus and param 2 should be getwindowname. See … Continue reading "How to Get the Topmost Window Title using Qt/C++ (in Linux)"
Amin