Skip to content

set_margin() of layer surface doesn't affects the pointer #460

@JarKz

Description

@JarKz

Description

My task is using this library for rendering stack of notifications. Firstly I tried the example about layer surface and I liked it. So I add some code for creating more than one layer surfaces. For stacking I use the LayerSurface::set_margin to avoid collision. But I ended up with one annoying problem - the set_margin doesn't affect the pointer. When I move the layer by the set_margin method and don't move the pointer, the clicks will be delivered to the moved layer which is nonsense.

What do I do?

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