Add test case for NET::DemandsAttention to KWindowInfoX11Test

Authored by graesslin on Sep 15 2014, 1:24 PM.

Description

Add test case for NET::DemandsAttention to KWindowInfoX11Test

The test is a little bit tricky as there are differences in the
behavior of various window managers. For example KWin's focus
stealing prevention kicks in when the test window is shown and marks
it as demands attention, while openbox (CI system) focuses directly
and sets no demands attention. The test circumvents this problem by
force active window on it.

In addition to testing the EWMH property also the urgency hint from
ICCCM is considered. Some window managers (at least KWin and openbox)
map this hint to demands attention.

Details

Committed
graesslinSep 16 2014, 7:58 AM
Parents
R278:71512f269d53: Skip KWindowInfoX11Test::testActivities if WM doesn't support activities
Branches
Unknown
Tags
Unknown