Skip to content

I want to add a new api for XdgShellHandle to know then the size of toplevel changed #1918

@Decodetalkers

Description

@Decodetalkers

https://github.com/Smithay/smithay/blob/master/src/wayland/shell/xdg/handlers/surface.rs#L254-L262

I want to know that when it is changed, Then I can do resize later or any other thing. Can this pr be accept.

for example, add

fn  geometry_changed(&self, x: i32, y: i32, width: i32, height: i32) {
}

and set a default function, which is empty

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions