Review Request 120217: KWindowInfo::state can map urgency to NET::DemandsAttention

Thomas Lübking thomas.luebking at gmail.com
Tue Sep 16 06:30:51 UTC 2014



> On Sept. 15, 2014, 10:28 nachm., Thomas Lübking wrote:
> > If we merge, we should imo merge in NetWinInfo - having the same function return different values in NetWinInfo and KWindowInfo feels wrong.
> 
> Martin Gräßlin wrote:
>     I considered it, but decided against it as I consider NETWinInfo to be a level lower to X and exposing it directly. KWindowInfo on the other hand is a convenient wrapper.

extra function ::demandsAttention()?


- Thomas


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


On Sept. 15, 2014, 1:29 nachm., Martin Gräßlin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/120217/
> -----------------------------------------------------------
> 
> (Updated Sept. 15, 2014, 1:29 nachm.)
> 
> 
> Review request for KDE Frameworks and kwin.
> 
> 
> Repository: kwindowsystem
> 
> 
> Description
> -------
> 
> If WM2Urgency is passed to the ctor of KWindowInfo, ::state() checks
> the urgency state is set and adds NET::DemandsAttention. This allows
> to easily check whether the window demands attention either through
> EWMH or ICCCM.
> 
> The change does not affect existing code as one has to explicitly
> pass WM2Urgency and this one is new in 5.3, too.
> 
> This change only affects platform X11.
> 
> CHANGELOG: KWindowInfo::state can map urgency to NET::DemandsAttention
> 
> 
> Diffs
> -----
> 
>   autotests/kwindowinfox11test.cpp 3ff6a49447a99d9afdabe6c96361b276083de525 
>   src/kwindowinfo.h b00e115f293231b661934d20e97be4d186f679de 
>   src/kwindowinfo_x11.cpp 2a32692a0f664d6a9884e6d1a1209e88e02944ec 
> 
> Diff: https://git.reviewboard.kde.org/r/120217/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Martin Gräßlin
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140916/89713f3f/attachment.html>


More information about the Kde-frameworks-devel mailing list