raise
raise copied to clipboard
fullscreen windows mess with the cycle order
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
Hmm interesting, haven't used fullscreen windows myself. The code is very short, are you familiar with Rust code and able debug it?
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
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.