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

Fixed output focusing on workspace switch #32

Merged
merged 1 commit into from
Aug 15, 2015
Merged

Fixed output focusing on workspace switch #32

merged 1 commit into from
Aug 15, 2015

Conversation

Luminarys
Copy link
Collaborator

Also renamed var parent to ws_output for clarity.

@ddevault
Copy link
Contributor

Does this fix the problem I was talking about in IRC? Or what does it fix?

@Luminarys
Copy link
Collaborator Author

Should fix glitchiness where workspaces aren't properly focused on workspace switching. Previously, wlc_output_set_mask(wlc_get_focused_output(), 2); was used after workspace switching was done. This meant that if you did a workspace switch for a workspace in an output you weren't currently in, wlc wouldn't properly focus the workspace. That line is not changed to wlc_output_set_mask(ws_output->handle, 2); so that the output where the workspace was changed gets focused, rather than the output of whatever workspace is currently focused.

@ddevault
Copy link
Contributor

Alright, thanks.

ddevault added a commit that referenced this pull request Aug 15, 2015
Fixed output focusing on workspace switch
@ddevault ddevault merged commit 322989c into swaywm:master Aug 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants