equal
deleted
inserted
replaced
45 #include <qevent.h> |
45 #include <qevent.h> |
46 #include <qpainter.h> |
46 #include <qpainter.h> |
47 #include <qlayout.h> |
47 #include <qlayout.h> |
48 #include <qstyle.h> |
48 #include <qstyle.h> |
49 #include <qstyleoption.h> |
49 #include <qstyleoption.h> |
50 #include <qdatetime.h> |
50 #include <qelapsedtimer.h> |
51 #include <qpointer.h> |
51 #include <qpointer.h> |
52 #include <qdebug.h> |
52 #include <qdebug.h> |
53 #include <qx11info_x11.h> |
53 #include <qx11info_x11.h> |
54 #include <private/qt_x11_p.h> |
54 #include <private/qt_x11_p.h> |
55 #include <private/qwidget_p.h> |
55 #include <private/qwidget_p.h> |
1229 set to WithdrawnState. |
1229 set to WithdrawnState. |
1230 |
1230 |
1231 For safety, we will not wait more than 500 ms, so that we can |
1231 For safety, we will not wait more than 500 ms, so that we can |
1232 preemptively workaround buggy window managers. |
1232 preemptively workaround buggy window managers. |
1233 */ |
1233 */ |
1234 QTime t; |
1234 QElapsedTimer t; |
1235 t.start(); |
1235 t.start(); |
1236 |
1236 |
1237 functorData data; |
1237 functorData data; |
1238 data.id = id; |
1238 data.id = id; |
1239 data.rootWindow = attrib.root; |
1239 data.rootWindow = attrib.root; |