Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No response to wmctrl -c command - specified window not closed #1396

Closed
i3bot opened this issue Nov 16, 2014 · 2 comments
Closed

No response to wmctrl -c command - specified window not closed #1396

i3bot opened this issue Nov 16, 2014 · 2 comments
Assignees
Labels

Comments

@i3bot
Copy link

i3bot commented Nov 16, 2014

[Originally reported by i3-new-ticket]
(Using wmctrl to close a window, e.g. via:

$ wmctrl -i -c <window-id>

silently fails. However, other commands, such as:

$ wmctrl -i -a <window-id>

or

$ wmctrl -i -r <window-id> -T "New name"

work as expected.

@i3bot
Copy link
Author

i3bot commented Nov 16, 2014

[Original comment by TonyC]

They are sending a client message we don't handle. It's called _NET_CLOSE_WINDOW.

@i3bot
Copy link
Author

i3bot commented Nov 17, 2014

[Original comment by Tony Crisci]

This ticket was fixed in commit http://c.i3wm.org/8d031bfb:

Handle _NET_CLOSE_WINDOW client message requests

> Pagers wanting to close a window MUST send a _NET_CLOSE_WINDOW client
> message request to the root window.

We interpret this message as a request to close the con for the given
window.

See: http://standards.freedesktop.org/wm-spec/wm-spec-latest.html#idm140200472668896

fixes #1396

@i3bot i3bot self-assigned this Nov 17, 2014
stapelberg pushed a commit that referenced this issue Feb 4, 2015
> Pagers wanting to close a window MUST send a _NET_CLOSE_WINDOW client
> message request to the root window.

We interpret this message as a request to close the con for the given
window.

See: http://standards.freedesktop.org/wm-spec/wm-spec-latest.html#idm140200472668896

fixes #1396
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant