wlr_foreign_toplevel_management_unstable_v1 ↗
Copyright
Copyright © 2018 Ilia Bozhinov Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of the copyright holders not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. The copyright holders make no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- zwlr_foreign_toplevel_manager_v1 — list and control opened apps
- zwlr_foreign_toplevel_handle_v1 — an opened toplevel
wlr_foreign_toplevel_management_unstable_v1
zwlr_foreign_toplevel_manager_v1
Version 3
- toplevel — a toplevel has been created
- stop — stop sending events
- finished — the compositor has finished with the toplevel manager
Compositor Support
Version 3
cage 0.3.0
hyprland 0.52.1
jay 1.14.0
labwc 0.20.2
louvre 2.14.1
niri 26.04
phoc 0.55
river 0.3.13
sway 1.11
treeland 0.8.0
wayfire 0.9.0
Version 2
mir 2.26
list and control opened apps
The purpose of this protocol is to enable the creation of taskbars and docks by providing them with a list of opened applications and letting them request certain actions on them, like maximizing, etc.
After a client binds the zwlr_foreign_toplevel_manager_v1, each opened toplevel window will be sent via the toplevel event
wlr_foreign_toplevel_management_unstable_v1
zwlr_foreign_toplevel_handle_v1
Version 3
- title — title change
- app_id — app-id change
- output_enter — toplevel entered an output
- output_leave — toplevel left an output
- set_maximized — requests that the toplevel be maximized
- unset_maximized — requests that the toplevel be unmaximized
- set_minimized — requests that the toplevel be minimized
- unset_minimized — requests that the toplevel be unminimized
- activate — activate the toplevel
- state — types of states on the toplevel
- state — the toplevel state changed
- done — all information about the toplevel has been sent
- close — request that the toplevel be closed
- set_rectangle — the rectangle which represents the toplevel
- error
- closed — this toplevel has been destroyed
- destroy — destroy the zwlr_foreign_toplevel_handle_v1 object
- set_fullscreen — request that the toplevel be fullscreened
- unset_fullscreen — request that the toplevel be unfullscreened
- parent — parent change
an opened toplevel
A zwlr_foreign_toplevel_handle_v1 object represents an opened toplevel window. Each app may have multiple opened toplevels.
Each toplevel has a list of outputs it is visible on, conveyed to the client with the output_enter and output_leave events.