Review Request 119267: Adding KWindowSystem::setOnActivities(WId win, const QStringList &activities) method
Thomas Lübking
thomas.luebking at gmail.com
Thu Aug 7 10:11:44 UTC 2014
> On Aug. 6, 2014, 5:04 nachm., Thomas Lübking wrote:
> > src/netwm.cpp, line 4779
> > <https://git.reviewboard.kde.org/r/119267/diff/3/?file=296945#file296945line4779>
> >
> > -> qstrdup?
> > (also "new code" issue)
>
> Ivan Čukić wrote:
> nstrdup is used all over the file, qstrdup not. Would it be wise to start using a new function just in a single place?
No, but replace it everywhere (seems only used in netwm.cpp), thus "trigger a comment from Martin" ;-)
Otoh, I just figured that there's no matching qstrndup.
Anyway, you can ignore the topic for this very patch.
- Thomas
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/119267/#review63939
-----------------------------------------------------------
On Aug. 7, 2014, 5:15 vorm., Ivan Čukić wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/119267/
> -----------------------------------------------------------
>
> (Updated Aug. 7, 2014, 5:15 vorm.)
>
>
> Review request for KDE Frameworks, kwin and Martin Gräßlin.
>
>
> Repository: kwindowsystem
>
>
> Description
> -------
>
> Currently, the library only has the method for retrieving a list of activities a window belongs to.
>
> This is adding a method which provides changing the list of activities for a window.
>
>
> Diffs
> -----
>
> autotests/kwindowinfox11test.cpp 50ce806
> src/kwindowinfo_x11.cpp 041dfd3
> src/kwindowsystem.h 0b58e71
> src/kwindowsystem.cpp fb59603
> src/kwindowsystem_p.h 8861844
> src/kwindowsystem_p_x11.h 9baa6ae
> src/kwindowsystem_x11.cpp 2016820
> src/netwm.h 2d812a7
> src/netwm.cpp 1daad1e
> src/netwm_p.h a201cb6
>
> Diff: https://git.reviewboard.kde.org/r/119267/diff/
>
>
> Testing
> -------
>
> Yes, works with the new activity switcher.
>
>
> Thanks,
>
> Ivan Čukić
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140807/52120af8/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list