Matt Zimmerman came up with this idea as well, he made a quick sketch
how it could look like:

------------------ 8< ------------------
zenity --title="Select window" --question --text="Please click on the window 
where you see the problem." &
zenity_pid=$!

window_pid=$(xprop _NET_WM_PID |cut -d= -f2)

kill $zenity_pid

if [ -z "$window_pid" ]; then
        echo "Sorry." >&2
        exit 1
fi

exec ubuntu-bug $window_pid

-- 
ubuntu-bug wish: allow to just point at the window of a buggy application
https://bugs.launchpad.net/bugs/357847
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to