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

create_workspace_on_output: send workspace init event #3632

Merged
merged 1 commit into from Feb 23, 2019

Conversation

orestisfl
Copy link
Member

@orestisfl orestisfl commented Feb 22, 2019

Fixes #3595
Fixes #3631

Didn't test it much yet, can do it tomorrow.

@orestisfl orestisfl marked this pull request as ready for review February 23, 2019 09:43
@orestisfl
Copy link
Member Author

Added some tests

Fixes i3#3595
Like the issue mentions:
> instead of the newly created workspace (not referenced by variable
> here) the `"init"` event is fired with the current workspace (`ws`).

Plus, there was another issue where duplicate workspace init events
where being sent because of workspace_get().

304-ipc-workspace-init.t: Subtest "move workspace to output" fails with
current next.

Fixes i3#3631
No event was being sent here:
https://github.com/i3/i3/blob/2d6e09a66ad9b3e01588c515ae66476de8903754/src/randr.c#L487

533-randr15.t: I confirmed that SKIP still works if the xrandr command
fails.
Added test fails with current next.
@Airblader Airblader merged commit 9d9b552 into i3:next Feb 23, 2019
@orestisfl orestisfl deleted the workspace_init branch February 23, 2019 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants