QNX: Special case z-ordering of the QDesktopWidget window
authorSean Harmer <sean.harmer.qnx@kdab.com>
Fri, 18 May 2012 10:13:03 +0000 (11:13 +0100)
committerQt by Nokia <qt-info@nokia.com>
Fri, 18 May 2012 23:45:04 +0000 (01:45 +0200)
commitb09d601261244395450557187adeed6717f25155
treec1ddc9ed14ef94921cceda9640e1427b9873acbf
parent55d7e5f18bb321981edef0cb02fdad5b5ad0bd0a
QNX: Special case z-ordering of the QDesktopWidget window

The assumption that window creation order implies correct initial
z-ordering is broken when dealing with certain window types. In this
commit we special case the QDesktopWidget's window which maybe created
after normal application windows yet still need to be layered below
them.

Without this fix we may accidentaly activate the Desktop window when the
blackberry navigator service sends an event to activate the window
group. That results in broken focus handling.

Change-Id: I42dfde2efb4a0011e37e7bd2e7c5442590606a24
Reviewed-by: Kevin Krammer <kevin.krammer@kdab.com>
Reviewed-by: Kevin Ottens <kevin.ottens.qnx@kdab.com>
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
src/plugins/platforms/qnx/qqnxscreen.cpp