treeland_dde_shell_v1 ↗
Copyright
SPDX-FileCopyrightText: 2024 UnionTech Software Technology Co., Ltd. SPDX-License-Identifier: MIT
- treeland_dde_shell_manager_v1 — dde shell manager
- treeland_window_overlap_checker — A window overlap checker
- treeland_dde_shell_surface_v1 — metadata interface
- treeland_dde_active_v1 — metadata interface
- treeland_multitaskview_v1 — multitaskview context interface
- treeland_window_picker_v1 — window picker interface
- treeland_lockscreen_v1 — lockscreen interface
DDE shell integration for treeland
Warning! This protocol is EXPERIMENTAL and under active development. It may change at any time, including in backward-incompatible ways, without incrementing the interface major version and without prior notice. No compatibility guarantees of any kind are provided. Clients and compositors must track the upstream definition in treeland-protocols and must not rely on the current interface names, requests, events, or semantics remaining stable across releases.
treeland_dde_shell_v1
treeland_dde_shell_manager_v1
- get_window_overlap_checker — create a window overlap checker
- get_shell_surface — create a shell surface from a surface
- get_treeland_dde_active — create a new dde active
- get_treeland_multitaskview — create a new multitaskview context
- get_treeland_window_picker — create a new window picker
- get_treeland_lockscreen — create a new lockscreen context
- set_xwindow_position_relative — Move a XWayland surface to a position relative to a wl_surface
- destroy — destroy the dde shell manager
dde shell manager
This interface allows DDE to configure some treeland functions.
treeland_dde_shell_v1
treeland_window_overlap_checker
- enter — detected window has become overlapped
- leave — detected window is no longer overlapped
- anchor — same layershell
- update — Register the detected surface
- destroy — destroy the treeland_window_overlap_checker object
A window overlap checker
Deprecated: this interface is non-functional. Apart from the destroy request, all requests have no effect and no events are ever emitted. New code must not use it.
Superseded by the treeland_region_watch_manager_v1 global of the treeland-region-watch-unstable-v1 protocol.
treeland_dde_shell_v1
treeland_dde_shell_surface_v1
- destroy — destroy the treeland_dde_shell_surface_v1 object
- set_surface_position — change the shell surface position
- role — available roles for surfaces
- set_role — assign a role to this surface
- set_auto_placement — Place the surface at the bottom of the cursor area
- set_skip_switcher — make the window not appear in a switcher
- set_skip_dock_preview — make the window not appear in a dock preview
- set_skip_muti_task_view — make the window not appear in a mutitask view
- set_accept_keyboard_focus — control whether the surface accepts keyboard focus
metadata interface
An interface that may be implemented by a wl_surface, for implementations that provide the shell user interface.
It provides requests to set surface role, set skip, set the position set auto placement in output coordinates.
On the server side the object is automatically destroyed when the related wl_surface is destroyed. On client side, treeland_dde_shell_surface_v1.destroy() must be called before destroying the wl_surface object.
treeland_dde_shell_v1
treeland_dde_active_v1
- destroy — destroy the treeland_dde_active_v1 object
- reason — event reason
- active_in — active in event was triggered
- active_out — active out event was triggered
- start_drag — sent when the compositor starts a drag operation
- drop — sent when the compositor completes a drop operation
metadata interface
Deprecated: this interface is non-functional. Apart from the destroy request, all requests have no effect and no events are ever emitted. New code must not use it.
Superseded by the treeland_active_notify_manager_v1 global of the treeland-active-notify-unstable-v1 protocol.
treeland_dde_shell_v1
treeland_multitaskview_v1
multitaskview context interface
An interface used to control multitaskview.
Deprecated: superseded by the open_multitask_view, close_multitask_view, and toggle_multitask_view actions of the treeland_compositor_action_v1 global of the treeland-compositor-action-unstable-v1 protocol. The interface must not be used in new code.
treeland_dde_shell_v1
treeland_window_picker_v1
window picker interface
An interface used to pick window and return credentials.
treeland_dde_shell_v1
treeland_lockscreen_v1
- destroy — destroy the treeland_lockscreen_v1 object
- lock — lock screen
- shutdown — show shutdown
- switch_user — switch user
lockscreen interface
An interface used to operate lockscreen.
Deprecated: superseded by the lockscreen, shutdown_menu, and show_user_switch actions of the treeland_compositor_action_v1 global of the treeland-compositor-action-unstable-v1 protocol. The interface must not be used in new code.