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

Add workspace to information given in window event from ipc #3534

Open
nlgranger opened this Issue Nov 28, 2018 · 1 comment

Comments

Projects
None yet
3 participants
@nlgranger

nlgranger commented Nov 28, 2018

I'm submitting a…

[ ] Bug
[x] Feature Request
[ ] Documentation Request
[ ] Other (Please describe in detail)

Current Behavior

Currently, the payload for window event does not contain information about the workspace. That information must be queried via a TREE message, which is quite overkill.

Desired Behavior

Indicate the parent workspace of a window for WINDOW::new, WINDOW::close, maybe the origin and the destination for a WINDOW::move, and possibly other cases.
A typical use-case is the tracking of windows for automatic renaming of workspaces depending on their content.

Environment

(i3-gaps)

Output of i3 --moreversion 2>&-:

Binary i3 version:  4.16 (2018-11-04) © 2009 Michael Stapelberg and contributors
Running i3 version: 4.16 (2018-11-04) (pid 26214) abort…)
- Linux Distribution & Version: Archlinux (up to date)
- Are you using a compositor (e.g., xcompmgr or compton): compton

@i3bot i3bot added the enhancement label Nov 28, 2018

@Airblader Airblader added the 4.16 label Nov 29, 2018

@Airblader

This comment has been minimized.

Member

Airblader commented Nov 29, 2018

Sounds good to me

@Airblader Airblader added the accepted label Nov 29, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment