summaryrefslogtreecommitdiffstats
path: root/src/corelib/global
diff options
context:
space:
mode:
authorRobert Griebl <rgriebl@trolltech.com>2010-03-22 14:35:03 (GMT)
committerRobert Griebl <rgriebl@trolltech.com>2010-03-22 14:37:11 (GMT)
commit9da453e5579ebb6fb0361e4df4cfa7107e560b23 (patch)
tree063555054f167d61f1bd8052c3fb05b191077cb4 /src/corelib/global
parent35ca28a576e7d71b789211bcad00fc4f907c6e91 (diff)
downloadQt-9da453e5579ebb6fb0361e4df4cfa7107e560b23.zip
Qt-9da453e5579ebb6fb0361e4df4cfa7107e560b23.tar.gz
Qt-9da453e5579ebb6fb0361e4df4cfa7107e560b23.tar.bz2
Add a new WA_X11DoNotAcceptFocus attribute for top-level widgets.
This should prevent window managers from ever sending a WM_TAKE_FOCUS message to those windows (useful for IM windows like virtual keyboards, notification banners, etc.) Reviewed-by: bhughes
Diffstat (limited to 'src/corelib/global')
-rw-r--r--src/corelib/global/qnamespace.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/corelib/global/qnamespace.h b/src/corelib/global/qnamespace.h
index 89a0c0b..71e4628 100644
--- a/src/corelib/global/qnamespace.h
+++ b/src/corelib/global/qnamespace.h
@@ -510,6 +510,9 @@ public:
WA_Maemo5AutoOrientation = 130,
WA_Maemo5ShowProgressIndicator = 131,
#endif
+
+ WA_X11DoNotAcceptFocus = 132,
+
// Add new attributes before this line
WA_AttributeCount
};