This is especially annoying in cosmic-comp, where just clicking the title-bar will engage overview mode (see https://github.com/pop-os/cosmic-comp/issues/164). Due to cosmic-comp using the same widget itself for server-side decorations the same problem will occur with most Xwayland apps, etc.
This is not an issue with client-side decorated + non-libcosmic based applications. GTK and Qt will both wait for any movement of the cursor before triggering the xdg_toplevel::move request.
It seems to me iced::mouse_area should have a separate on-drag message, that is triggered when any cursor movement above a certain delta value is detected after the left button has been pressed.
This is especially annoying in cosmic-comp, where just clicking the title-bar will engage overview mode (see https://github.com/pop-os/cosmic-comp/issues/164). Due to cosmic-comp using the same widget itself for server-side decorations the same problem will occur with most Xwayland apps, etc.
This is not an issue with client-side decorated + non-libcosmic based applications. GTK and Qt will both wait for any movement of the cursor before triggering the
xdg_toplevel::move
request.It seems to me
iced::mouse_area
should have a separate on-drag message, that is triggered when any cursor movement above a certain delta value is detected after the left button has been pressed.