-
Notifications
You must be signed in to change notification settings - Fork 42
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
[WaylandWindow] Unmap surface before sending activation request #118
Conversation
Nice, thanks a lot! After a quick test I think it works again with Hyprland. I just added a small comment on the code organization, let me know what you think. @LorenzoBettini do you fancy a test as well? :) |
@lbonn yes, I'd like to test it :) |
Then follow the instructions in https://github.com/lbonn/rofi/blob/wayland/INSTALL.md (only meson will work, not autotools) eg |
0eabb36
to
c7472ec
Compare
here's what I've done:
Then I tried (with a few windows in separate hyprland workspaces):
and selecting the window now correctly switches to it (in case, also switching to the corresponding workspaces). Well done! :) |
Great! Thanks for your help. @alebastr is it fine by you if we merge this now? |
Thanks for testing! @lbonn from a brief look, the only public method that touches the surface and does not check it is Feel free to merge. |
Thanks! |
Just want to show my appreciation that running Thank you for fixing it! I really appreciate it! |
Thanks again! |
@LorenzoBettini true, maybe not a bad idea. There have been quite a few fixes since last version. |
Not tested on Hyprland. Lightly tested on Sway.
Let's hope that everything that can happen after
mode_result
doesn't cause a redraw or is sufficiently protected against not having a surface. Asynchronous list updates, queued events, etc...Fixes #117