tiling: Allow windows to be moved
This commit is contained in:
parent
0c47631d9b
commit
644d53c2da
5 changed files with 369 additions and 15 deletions
|
|
@ -317,7 +317,7 @@ fn get_anchor_point(positioner: &PositionerState) -> Point<i32, Logical> {
|
|||
.into()
|
||||
}
|
||||
|
||||
fn get_popup_toplevel(popup: &PopupSurface) -> Option<WlSurface> {
|
||||
pub fn get_popup_toplevel(popup: &PopupSurface) -> Option<WlSurface> {
|
||||
let mut parent = popup.get_parent_surface()?;
|
||||
while get_role(&parent) == Some(XDG_POPUP_ROLE) {
|
||||
parent = with_states(&parent, |states| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue