Review Request 111792: XCB event handling for KWindowSystem
Commit Hook
null at kde.org
Fri Aug 2 11:50:17 UTC 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/111792/#review36976
-----------------------------------------------------------
This review has been submitted with commit ab8f4532f5f12db19bcc09c1f297f1b7d55efb48 by Martin Gräßlin to branch frameworks.
- Commit Hook
On July 30, 2013, 8:34 a.m., Martin Gräßlin wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/111792/
> -----------------------------------------------------------
>
> (Updated July 30, 2013, 8:34 a.m.)
>
>
> Review request for KDE Frameworks.
>
>
> Description
> -------
>
> Port KWindowSystemPrivate to QAbstractNativeEventFilter
>
> Obviously it's only filtering XCB events and the event filtering code
> is ported to use XCB data types.
>
> With this change the KSystemEventFilter is no longer needed and
> therefore dropped.
>
> Port NETWinInfo::event from XEvent to xcb_generic_event_t
>
> Straight forward port just replacing the XLib code by XCB equivalent.
>
> The logic of looped event compaction is dropped as inspecting the event
> queue is not possible on XCB.
>
> Port NETRootInfo::event from XEvent to xcb_generic_event_t
>
> Straight forward port just replacing the XLib functionality to XCB.
> The compaction logic got dropped as it was hard disabled anyway.
>
> Note: this change currently breaks KWindowSystem as it also needs to
> be ported.
>
> Coding style cleanup of event handling related methods
>
> Before adjusting the code let's have a proper coding style.
>
>
> Diffs
> -----
>
> tier1/kwindowsystem/src/CMakeLists.txt PRE-CREATION
> tier1/kwindowsystem/src/ksystemeventfilter.cpp PRE-CREATION
> tier1/kwindowsystem/src/ksystemeventfilter_p.h PRE-CREATION
> tier1/kwindowsystem/src/kwindowsystem_x11.cpp PRE-CREATION
> tier1/kwindowsystem/src/netwm.h PRE-CREATION
> tier1/kwindowsystem/src/netwm.cpp PRE-CREATION
>
> Diff: http://git.reviewboard.kde.org/r/111792/diff/
>
>
> Testing
> -------
>
> Part of it indirectly tested through KWin on 5. Window caption gets updated and that is triggered through NETWinInfo, so I am positively optimistic that all of it works.
>
>
> Thanks,
>
> Martin Gräßlin
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20130802/631dc57f/attachment.html>
More information about the Kde-frameworks-devel
mailing list