-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: implementation of xdg_activation_v1 because I want my auto f…
…ocuses (#3639) [Screencast from 2024-10-16 16-21-05.webm](https://github.com/user-attachments/assets/86f9b0bf-181c-4aab-acfd-4ceb1e4e2c38) ## What's new? - Added the xdg_activation_v1 protocol - Implemented the xdg_activation_v1 protocol ## To test - Run `miral-shell` - Open `gnome-terminal` - Run `gedit` - Focus `gnome-terminal` again - Run `gedit` again - Note that `gedit` gets focus 🪄 Similarly: - Open up `emacs` - Open up `firefox` - In emacs, write `https://google.com` - Ctrl + Click the link - Watch as firefox gets focus! ## Open questions - The "timeout" is not configurable at the moment, but perhaps it should be. However, I don't think we do per-protocol options AFAICT ## Todos - I should probably write some WLCS tests!
- Loading branch information
Showing
8 changed files
with
714 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.