summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorBłażej Szczygieł <spaz16@wp.pl>2016-01-01 13:56:04 +0100
committerBłażej Szczygieł <spaz16@wp.pl>2016-01-06 16:02:20 +0000
commitb50f0244c8f1b8e229a71018f39ac373d0ba6a1e (patch)
tree8f017d3c6af7167bab79c53f37897009783e1f52 /src/plugins
parent1606a0e508b8ecdcbdff953ef55136c8ff59ba79 (diff)
QDesktopWidget::screenNumber(QPoint): fix handling of virtual desktops
On X11, QXcbVirtualDesktop represents an X11 screen while QScreen represents an X11 output. In the case that there are multiple screens (possibly with multiple outputs), calculate the screen number correctly: Find the screen index on the primary virtual desktop first to avoid obtaining a screen index which doesn't belong to the primary virtual desktop when screen geometry is similar. Change-Id: I4cbb29b7aa7cd2125759ffbbbe3db4e934feaeae Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com>
Diffstat (limited to 'src/plugins')
0 files changed, 0 insertions, 0 deletions