summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qwidget_p.h
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-06-04 10:10:06 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-06-09 15:37:22 (GMT)
commit2312b121131774a84d01854b3e47d3d2a035a6a1 (patch)
tree4c31989179e8075852893eeaaaa95ee71cbb135e /src/gui/kernel/qwidget_p.h
parent861bf225fedc452ab5b18c12e18e38c4172a5f1a (diff)
downloadQt-2312b121131774a84d01854b3e47d3d2a035a6a1.zip
Qt-2312b121131774a84d01854b3e47d3d2a035a6a1.tar.gz
Qt-2312b121131774a84d01854b3e47d3d2a035a6a1.tar.bz2
Implemented the NET_WM_SYNC protocol on X11.
Done with Thorbjørn Lindeijer Task-number: 220550 Reviewed-by: Thorbjørn Lindeijer Reviewed-by: mae
Diffstat (limited to 'src/gui/kernel/qwidget_p.h')
-rw-r--r--src/gui/kernel/qwidget_p.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/kernel/qwidget_p.h b/src/gui/kernel/qwidget_p.h
index bf4f091..ff194f7 100644
--- a/src/gui/kernel/qwidget_p.h
+++ b/src/gui/kernel/qwidget_p.h
@@ -131,6 +131,10 @@ struct QTLWExtra {
uint embedded : 1;
// *************************** Platform specific values (bit fields first) **********
+#ifndef QT_NO_XSYNC
+ int newCounterValueHi : 32;
+ uint newCounterValueLo : 32;
+#endif
#if defined(Q_WS_X11) // <----------------------------------------------------------- X11
uint spont_unmapped: 1; // window was spontaneously unmapped
uint dnd : 1; // DND properties installed
@@ -156,6 +160,10 @@ struct QTLWExtra {
QWSManager *qwsManager;
#endif
#endif
+#ifndef QT_NO_XSYNC
+ WId syncUpdateCounter;
+ ulong syncRequestTimestamp;
+#endif
};
struct QWExtra {