Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
e57c3b87 by wurstsalat at 2023-01-12T19:03:19+01:00
fix: ChatStack DnD: Add workaround for mis-fired drag-motion signal
Fixes #11226
- - - - -
1 changed file:
- gajim/gtk/chat_stack.py
Changes:
=====================================
gajim/gtk/chat_stack.py
=====================================
@@ -673,8 +673,13 @@ def _on_drag_motion(self,
_context: Gdk.DragContext,
_x_coord: int,
_y_coord: int,
- _time: int
+ time: int
) -> bool:
+
+ if time == 0:
+ # Workaround for https://gitlab.gnome.org/GNOME/gtk/-/issues/5518
+ return False
+
self._drop_area.set_no_show_all(False)
self._drop_area.show_all()
return True
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/e57c3b875d355cf407fc73bb94527f0ade34c1cf
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/e57c3b875d355cf407fc73bb94527f0ade34c1cf
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits