diff options
author | Alexander Volkov <a.volkov@rusbitech.ru> | 2019-11-25 17:52:22 +0300 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2020-12-13 20:33:39 +0000 |
commit | df28d75721f7e57f4421ed8c4b8131da742f3967 (patch) | |
tree | 839211c790cdace9e95d8a469f83a3bd10b35004 /src/corelib/doc/snippets | |
parent | 7b391c0d2c03d8d25449eca3868cd010d75ff81e (diff) |
xcb: Fix available geometry after rotation
QXcbVirtualDesktop::m_workArea is not updated after screen rotation
if _NET_WORKAREA is not updated, e.g. when a window manager is not
running.
Use width of -1 for m_workArea to indicate that _NET_WORKAREA is
not set and thus there is no need to find its intersection with
screens' geometries.
Pick-to: 5.15 6.0
Change-Id: Ic1f3ec23576ed8407a76cc2b9f84a145c67b1d4b
Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'src/corelib/doc/snippets')
0 files changed, 0 insertions, 0 deletions