Public bug reported: mutter (wayland) is ignoring wl_shell_surface_move and wl_shell_surface_resize request, which prevents the use of subsurfaces window decorations (example: http://github.com/christianrauch/wayland_window_decoration_example). The same example works on weston.
The fault is in the method "meta_wayland_pointer_can_grab_surface" where "pointer->focus_surface == surface" does not hold for subsurfaces. The attached patch removes the test for the focused surface and allows resizing and moving of the wl_shell surface in the example. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: mutter 3.18.3-0ubuntu2 ProcVersionSignature: Ubuntu 4.13.0-45.50~16.04.1-generic 4.13.16 Uname: Linux 4.13.0-45-generic x86_64 NonfreeKernelModules: zfs zunicode zavl zcommon znvpair nvidia_uvm nvidia_drm nvidia_modeset nvidia ApportVersion: 2.20.1-0ubuntu2.18 Architecture: amd64 CurrentDesktop: GNOME Date: Thu Jul 19 18:51:14 2018 InstallationDate: Installed on 2016-04-26 (813 days ago) InstallationMedia: Ubuntu-GNOME 16.04 LTS "Xenial Xerus" - Release amd64 (20160421) SourcePackage: mutter UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: mutter (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug third-party-packages xenial ** Patch added: "wl_shell_fix.patch" https://bugs.launchpad.net/bugs/1782629/+attachment/5165379/+files/wl_shell_fix.patch -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to mutter in Ubuntu. https://bugs.launchpad.net/bugs/1782629 Title: mutter is ignoring wl_shell_surface_move and wl_shell_surface_resize Status in mutter package in Ubuntu: New Bug description: mutter (wayland) is ignoring wl_shell_surface_move and wl_shell_surface_resize request, which prevents the use of subsurfaces window decorations (example: http://github.com/christianrauch/wayland_window_decoration_example). The same example works on weston. The fault is in the method "meta_wayland_pointer_can_grab_surface" where "pointer->focus_surface == surface" does not hold for subsurfaces. The attached patch removes the test for the focused surface and allows resizing and moving of the wl_shell surface in the example. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: mutter 3.18.3-0ubuntu2 ProcVersionSignature: Ubuntu 4.13.0-45.50~16.04.1-generic 4.13.16 Uname: Linux 4.13.0-45-generic x86_64 NonfreeKernelModules: zfs zunicode zavl zcommon znvpair nvidia_uvm nvidia_drm nvidia_modeset nvidia ApportVersion: 2.20.1-0ubuntu2.18 Architecture: amd64 CurrentDesktop: GNOME Date: Thu Jul 19 18:51:14 2018 InstallationDate: Installed on 2016-04-26 (813 days ago) InstallationMedia: Ubuntu-GNOME 16.04 LTS "Xenial Xerus" - Release amd64 (20160421) SourcePackage: mutter UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1782629/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp