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

fullscreen windows mess with the cycle order #4

Open
ehula opened this issue Aug 23, 2024 · 3 comments
Open

fullscreen windows mess with the cycle order #4

ehula opened this issue Aug 23, 2024 · 3 comments

Comments

@ehula
Copy link

ehula commented Aug 23, 2024

Great app! I've been looking for this for some time!

It's mostly working fine except when handling fullscreen windows. When it focuses a window that is fullscreen, on next execution, rather than focus another window on that workspace (if there are others), it focuses a window on a different workspace first.

Here is an example of what it does. Let's assume we have two workspaces that have the following windows:

  • workspaceA
    • window1
    • window2
    • window3
  • workspaceB
    • window4

If none of the windows are fullscreen, they cycle in this order: 1 2 3 4 1 2 3 4

Howver, if window1 is fullscreen, they cycle in this order: 1 4 2 4 3 4 1 4 2 4 3 4

@ehula ehula changed the title fullscreen windows messes with the cycle order fullscreen windows mess with the cycle order Aug 23, 2024
@svelterust
Copy link
Owner

Hmm interesting, haven't used fullscreen windows myself. The code is very short, are you familiar with Rust code and able debug it?

@svelterust
Copy link
Owner

Would probably need to modify this and check if window is fullscreen or something like that:

https://github.com/knarkzel/raise/blob/master/src/main.rs#L75-L83

@ehula
Copy link
Author

ehula commented Aug 23, 2024

Hmm interesting, haven't used fullscreen windows myself. The code is very short, are you familiar with Rust code and able debug it?

Unfortunately, I am not familiar with Rust.

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

No branches or pull requests

2 participants