Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Cancellable selectwindow #136

@wavexx

Description

@wavexx

In a script I wrote, I'm using selectwindow to let the user select the window to operate on.
However, I'd like the user to be able to cancel the action in some way or another.

There seems no way to do that from the user's perspective. Any button press will return from windowselect. I would have expected that only button1 works, with other buttons canceling the action instead.

Just to follow an example from the manpage, xdotool selectwindow windowkill is not abortable unless by killing xdotool itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions