[Wayland-bugs] [Bug 781945] SIGSEGV dragging window on Wayland when toplevel window set_transient_for is set to another toplevel

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Fri Jun 2 13:58:57 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=781945

--- Comment #9 from Olivier Fourdan <ofourdan at redhat.com> ---
Created attachment 353083
  --> https://bugzilla.gnome.org/attachment.cgi?id=353083&action=edit
[PATCH] wayland: fix xdg_surface test in move/resize drag

(In reply to Jonas Ã…dahl from comment #7)
> [...] Might be good to fix the miss-use error handling in move/resize code
> (it checks for xdg_surface, but it should rather check for xdg_toplevel)

begin_resize_drag() and begin_move_drag() check for xdg_surface being
not null, but those apply on xdg_toplevel so they should check for
xdg_toplevel being non-null instead.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20170602/7b986535/attachment.html>


More information about the wayland-bugs mailing list