raise icon indicating copy to clipboard operation
raise copied to clipboard

fullscreen windows mess with the cycle order

Open ehula opened this issue 1 year ago • 3 comments
trafficstars

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 avatar Aug 23 '24 19:08 ehula

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

svelterust avatar Aug 23 '24 22:08 svelterust

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

svelterust avatar Aug 23 '24 22:08 svelterust

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.

ehula avatar Aug 23 '24 22:08 ehula