xdg_popup support: right-click menus in client apps (Konsole etc.)
CI / test (push) Failing after 37s
CI / test (push) Failing after 37s
- server: xdg_positioner state, get_popup placement + configure, popup commits, popup_done; popups share the toplevel table so pointer/keyboard routing is reused - compositor: popups drawn above windows and panel, input goes to the popup under the pointer, keyboard focus follows the popup, a click outside dismisses them - test: a client opens a popup, clicks inside it, and is told to dismiss it Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3b2e19ace5
commit
bc1e3dfdbd
5 files changed
+491
-5
No files matched your search
@@ -314,6 +314,8 @@ pub(all) struct SceneGraph {
|
||||
mut windows : Array[WindowSceneNode]
|
||||
mut panel_ops : Array[DrawOp]
|
||||
mut widgets : Array[PanelWidgetNode]
|
||||
/// Client popup surfaces (menus, tooltips), drawn above everything.
|
||||
mut popups : Array[(Rect, ShmBufferSnapshot)]
|
||||
}
|
||||
|
||||
///|
|
||||
@@ -325,6 +327,7 @@ pub fn SceneGraph::new(output_w : Int, output_h : Int) -> SceneGraph {
|
||||
windows: [],
|
||||
panel_ops: [],
|
||||
widgets: [],
|
||||
popups: [],
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user