XCB: Compress window state change events.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Tue, 10 Apr 2012 11:52:12 +0000 (13:52 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 11 Apr 2012 17:14:43 +0000 (19:14 +0200)
commit54f718e55287d0cfa7e7e53473b07ca68678e7f2
tree3bfc35a0d7d5af0824c1a574914e43053c3fee01
parent9839474e19dbef4b5b79abeaecebbf6e7bd6aed2
XCB: Compress window state change events.

- Avoid sending Window State change events from
  WM_STATE/NET_WM_STATE changes irrelevant to Qt::WindowState.
- Introduce QFlags for the NetWmState getter and setter to
  avoid passing QVector<> around.

Change-Id: I74730928c7fffca0fa1cab3b90ded90b06304c06
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/plugins/platforms/xcb/qxcbwindow.cpp
src/plugins/platforms/xcb/qxcbwindow.h