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


The versioning of the interface is not yet correctly represented: in 
registry.cpp the supported version needs to be changed to match the version and 
on server side it also needs to be incremented. New requests need to get an 
additional attribute since="2". The wayland-scanner will generate defines for 
them for easy comparing the versions.

In general the idea is that client and server negotiate the protocol version 
and thus we need to introduce version checks. On client side it's unfortunately 
not fully supported by us not having a min version check yet. But for this 
protocol it shouldn't matter as we can assume that KWin supports the latest.

Also please add some documentation (yes I know it's lacking) with at least an 
@since 5.5


src/client/protocols/plasma-shell.xml (line 20)
<https://git.reviewboard.kde.org/r/125453/#comment59396>

    version increase by integer numbers, so it's 2



src/client/protocols/plasma-window-management.xml (line 20)
<https://git.reviewboard.kde.org/r/125453/#comment59397>

    same here



src/server/plasmawindowmanagement_interface.cpp (lines 530 - 533)
<https://git.reviewboard.kde.org/r/125453/#comment59398>

    this needs a version check in some way: only if the bound resource supports 
version 2, we should set the state.


- Martin Gräßlin


On Sept. 29, 2015, 8:26 p.m., Marco Martin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/125453/
> -----------------------------------------------------------
> 
> (Updated Sept. 29, 2015, 8:26 p.m.)
> 
> 
> Review request for kwin and Plasma.
> 
> 
> Repository: kwayland
> 
> 
> Description
> -------
> 
> support the skiptTaskbar property in the window model
> that property is set client side by
> PlasmaShell::setSkipsTaskbar
> 
> 
> Diffs
> -----
> 
>   src/client/plasmashell.h 6692300f820daa44c9363143463dfb8433bcdddc 
>   src/client/plasmashell.cpp 4daaecffee9d45ebf4a783bfff9b33e9572fca22 
>   src/client/plasmawindowmanagement.h 
> 6e36def79719a7115ea41189746f871f5ffc6e70 
>   src/client/plasmawindowmanagement.cpp 
> f6279d9c470cd153b65bc13f0ee12d631a370b16 
>   src/client/plasmawindowmodel.h 49a211569cc5a8fe9ce237230a3acea0f8e5f384 
>   src/client/plasmawindowmodel.cpp ceba6ce8fa75d565e4ace435d08446b604b58bc4 
>   src/client/protocols/plasma-shell.xml 
> 7d33236dae6cf9571e98b8ccef6b377f76a7d99f 
>   src/client/protocols/plasma-window-management.xml 
> a5bd639299a1e1af587f46369e4388eae02382c4 
>   src/server/plasmashell_interface.h 228cbb1965da72d3dd73a1e73d97c04a80bc0b78 
>   src/server/plasmashell_interface.cpp 
> 32fd38906c3c55c678af40786ae6061465732046 
>   src/server/plasmawindowmanagement_interface.h 
> c348d653882d3bc66d81679d05b1886d388aa32a 
>   src/server/plasmawindowmanagement_interface.cpp 
> d6c71ae0584cf12b1ae89cae0948d66b7b349e4c 
> 
> Diff: https://git.reviewboard.kde.org/r/125453/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Marco Martin
> 
>

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to