Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

tinywl: use wlr_scene #3250

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

tinywl: use wlr_scene #3250

wants to merge 3 commits into from

Conversation

ifreund
Copy link
Member

@ifreund ifreund commented Oct 12, 2021

Closes #3177

@ifreund ifreund force-pushed the tinywl-scene branch 3 times, most recently from f0d682a to c260f28 Compare October 14, 2021 20:55
@ifreund ifreund marked this pull request as ready for review October 23, 2021 12:52
@ifreund
Copy link
Member Author

ifreund commented Oct 23, 2021

Xdg popups are now supported in this PR, so the feature set should be on-par with tinywl on master.

emersion and others added 3 commits October 27, 2021 15:39
This allows compositors to easily add an xdg_popup to the
scene-graph while retaining the ability to unconstraint the popup
and decide its final position.

Compositors can handle new popups with the wlr_xdg_shell.new_surface
event, get the parent scene-graph node via wlr_xdg_popup.parent.data,
create a new scene-graph node via wlr_scene_xdg_popup_tree_create,
and unconstraint the popup if they want to.
return;
}
assert(xdg_surface-> role == WLR_XDG_SURFACE_ROLE_TOPLEVEL);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style: stray whitespace here

@emersion
Copy link
Member

emersion commented Nov 1, 2021

wlroots has migrated to gitlab.freedesktop.org. This pull request has been moved to:

https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3250

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

tinywl: switch to the scene-graph API
2 participants