diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-06-10 16:04:22 +0200 |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-06-10 16:05:04 +0200 |
commit | 1ee96f093a5ecbbdc9030c769aa9b7c3f2642619 (patch) | |
tree | b83e45575af5d19f3b927804501d5762ddcdcc14 /src/widgets/kernel/qwidgetwindow_qpa.cpp | |
parent | 11dc006328140e2dc91280ad350087b5cf970edb (diff) |
Use XCB_GRAVITY_STATIC in XCB plugin for frame independent geometry.
Diffstat (limited to 'src/widgets/kernel/qwidgetwindow_qpa.cpp')
-rw-r--r-- | src/widgets/kernel/qwidgetwindow_qpa.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/kernel/qwidgetwindow_qpa.cpp b/src/widgets/kernel/qwidgetwindow_qpa.cpp index 27f9c9e2f8..dcd0618a55 100644 --- a/src/widgets/kernel/qwidgetwindow_qpa.cpp +++ b/src/widgets/kernel/qwidgetwindow_qpa.cpp @@ -273,7 +273,7 @@ void QWidgetWindow::updateGeometry() QMargins margins = frameMargins(); - m_widget->data->crect = geometry().translated(-margins.left(), -margins.top()); + m_widget->data->crect = geometry(); m_widget->d_func()->topData()->frameStrut.setCoords(margins.left(), margins.top(), margins.right(), margins.bottom()); } |