Review Request 127301: Disable window move on Wayland due to lack of Qt features and some cleanup

Hugo Pereira Da Costa hugo.pereira at free.fr
Mon Mar 7 10:44:42 UTC 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127301/#review93249
-----------------------------------------------------------


Fix it, then Ship it!




Just one unrelated change (an empty line removed)
Appart from that, ship it !

Also: would you be kind enough to submit the same to oxygen ? 
(code is pretty much identical)


kstyle/breezewindowmanager.cpp 
<https://git.reviewboard.kde.org/r/127301/#comment63577>

    Unrelated change it seems :)


- Hugo Pereira Da Costa


On March 7, 2016, 10:35 a.m., Martin Gräßlin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/127301/
> -----------------------------------------------------------
> 
> (Updated March 7, 2016, 10:35 a.m.)
> 
> 
> Review request for Plasma and Hugo Pereira Da Costa.
> 
> 
> Repository: breeze
> 
> 
> Description
> -------
> 
> A call to QX11Info::isPlatformX11() is a string comparison each time.
> So let's better have the value cached, it won't change at runtime.
> 
> [kstyle] Add static bool Helper::isWayland()
> 
> Just like isX11.
> 
> [kstyle] Disable window move on Wayland
> 
> Unfortunately we cannot support moving windows from the style on Wayland
> (yet). To move a window we need the (Xdg)ShellSurface and the wl_seat.
> Through the integration plugin we can get the ShellSurface, but not the
> seat. Thus we cannot invoke the feature through KWayland.
> 
> We either need to extend the native interface and/or extend QWindow to
> expose a startSystemMove (QPlatformWindow already supports a
> startSystemResize).
> 
> 
> Diffs
> -----
> 
>   kstyle/breezehelper.h 16344687463d2955b51d9244b7c8990e88a28b5f 
>   kstyle/breezehelper.cpp 1c35f25fd19060fc74d052493f1303a74099b308 
>   kstyle/breezewindowmanager.cpp a2d5bca223722ed658aea0c7ba6ea1ffc0817c7d 
> 
> Diff: https://git.reviewboard.kde.org/r/127301/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Martin Gräßlin
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160307/7ddbcc0c/attachment.html>


More information about the Plasma-devel mailing list