Wayland protocols

Pier Luigi pierluigi.fiorini at gmail.com
Mon Aug 18 15:21:55 UTC 2014


2014-08-15 7:25 GMT+02:00 Martin Gräßlin <mgraesslin at kde.org>:
> On Thursday 14 August 2014 19:21:54 Pier Luigi wrote:
>> Hi,
>>
>> Just pushed some initial draft of the Wayland protocols on Github [1]
>>
>> I need people with knowledge of KF5 and plasmashell to comment it and
>> suggest improvements.
>>
>> As we are speaking of protocols, please take a look at xdg-shell.
>> It's going to become stable soon [2] please point out your suggestion
>> before it's too late.
>
> thanks for the effort. I just started to look at them from top down and will
> send a mail whenever I find something to comment on :-)
>
> panel.xml: I think we need a property for:
> * auto-hide
> * always visible
> * windows can cover
> * window go below

Added

> For the auto-hide panel we also need a trigger mechanism: the panel needs to
> know when the screen edge is approached. On X11 we do that using a small
> protocol described in https://community.kde.org/KWin/Screen_Edges

Something like set_screen_edge(wl_surface, screen_edge) request with
screen_edge being an enum with none, left, top, right, bottom would
work?

> Overall on the panel I'm unsure whether it's moving too much detail to the
> compositor and whether some of it would be better kept client side. I'd like
> Marco's opinion on that, though. What I don't like in general is having to
> duplicate the logic in plasma-shell (X11) and in KWin (Wayland).

Yeah some of it can probably dropped if a client already handles that
considering that we have set_position.

-- 
Out of the box experience
http://www.maui-project.org/


More information about the Plasma-devel mailing list