Version
v2.30.0
Environment
N/A
What happened? What did you expect to happen?
Surface::set_window_margins is used by decorations to set the window margins, so that the surface has an idea of where the drag edges are. This works except when the window is clipped to a size smaller than it actually is (via clip_area). In that case, the clipped side will lose the ability to drag from the corresponding edge. The decorations are still there, but the dragging no longer works.
I would expect to be able to drag from that side, even with a clipped rectangle.
Reproduction steps
- Call
set_window_margins on a clipped surface
- Try and drag from the clipped side
- Note that no drag handle appears and you cannot drag from that side
Relevant log output
Version
v2.30.0
Environment
N/A
What happened? What did you expect to happen?
Surface::set_window_marginsis used by decorations to set the window margins, so that the surface has an idea of where the drag edges are. This works except when the window is clipped to a size smaller than it actually is (viaclip_area). In that case, the clipped side will lose the ability to drag from the corresponding edge. The decorations are still there, but the dragging no longer works.I would expect to be able to drag from that side, even with a clipped rectangle.
Reproduction steps
set_window_marginson a clipped surfaceRelevant log output