mirror of
https://github.com/labwc/labwc.git
synced 2026-02-13 04:27:49 -05:00
Add interactive_set_grab_context() which is called when the mouse button is first pressed, before interactive_begin(). This fixes two small issues: - The cursor origin position for interactive move/resize was slightly off (depending on mouse resolution), because it was set after the mouse had already moved slightly. Now it's exact. - If app- or keybind-initiated maximize (etc.) happened after the button press but before the mouse was moved, then interactive_begin() would still start move/resize even though the view might now be far away from the cursor. Now interactive_cancel() works as expected, even if called before interactive_begin(). Also, make sure to call interactive_cancel() for un-maximize as well. |
||
|---|---|---|
| .. | ||
| common | ||
| config | ||
| foreign-toplevel | ||
| img | ||
| input | ||
| menu | ||
| protocols | ||
| scaled-buffer | ||
| action-prompt-codes.h | ||
| action.h | ||
| buffer.h | ||
| cycle.h | ||
| debug.h | ||
| decorations.h | ||
| desktop-entry.h | ||
| dnd.h | ||
| edges.h | ||
| idle.h | ||
| labwc.h | ||
| layers.h | ||
| magnifier.h | ||
| meson.build | ||
| node.h | ||
| output-state.h | ||
| output-virtual.h | ||
| output.h | ||
| overlay.h | ||
| placement.h | ||
| regions.h | ||
| resistance.h | ||
| resize-indicator.h | ||
| resize-outlines.h | ||
| session-lock.h | ||
| snap-constraints.h | ||
| snap.h | ||
| ssd-internal.h | ||
| ssd.h | ||
| theme.h | ||
| translate.h | ||
| view-impl-common.h | ||
| view.h | ||
| window-rules.h | ||
| workspaces.h | ||
| xwayland.h | ||