diff options
author | Robert Griebl <rgriebl@trolltech.com> | 2010-03-22 14:35:03 (GMT) |
---|---|---|
committer | Robert Griebl <rgriebl@trolltech.com> | 2010-03-22 14:37:11 (GMT) |
commit | 9da453e5579ebb6fb0361e4df4cfa7107e560b23 (patch) | |
tree | 063555054f167d61f1bd8052c3fb05b191077cb4 /src/gui/kernel/qwidget_p.h | |
parent | 35ca28a576e7d71b789211bcad00fc4f907c6e91 (diff) | |
download | Qt-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/gui/kernel/qwidget_p.h')
-rw-r--r-- | src/gui/kernel/qwidget_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qwidget_p.h b/src/gui/kernel/qwidget_p.h index 2cb8586..c32e1a1 100644 --- a/src/gui/kernel/qwidget_p.h +++ b/src/gui/kernel/qwidget_p.h @@ -703,6 +703,7 @@ public: void setNetWmWindowTypes(); void x11UpdateIsOpaque(); bool isBackgroundInherited() const; + void updateX11AcceptFocus(); #elif defined(Q_WS_WIN) // <--------------------------------------------------------- WIN uint noPaintOnScreen : 1; // see qwidget_win.cpp ::paintEngine() uint nativeGesturePanEnabled : 1; |