-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
client-toolkit/toplevel-info: Work with only ext foreign toplevel
With this, `toplevel-monitor` works on Sway, but doesn't have the information exposed through the Cosmic protocol, naturally. The API is changed to use `ExtForeignToplevelHandleV1`. For convenience, `ToplevelInfo` contains the foreign handle, and the optional cosmic handle. I assume `identifier` is meant to be mandatory, so that is no longer an `Option` here. Though there's no check that the server sends this (is server-side code, this would send a protocol error; I guess cctk could panic, or log an error.)
- Loading branch information
Showing
2 changed files
with
52 additions
and
38 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