Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
qt3-extensions
fix-xinerama-dialog-placement.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-xinerama-dialog-placement.diff of Package qt3-extensions
--- src/dialogs/qdialog.cpp +++ src/dialogs/qdialog.cpp @@ -803,7 +803,9 @@ w = w->topLevelWidget(); QRect desk; if ( w ) { - scrn = QApplication::desktop()->screenNumber( w ); + // Use mapToGlobal rather than geometry() in case w might + // be embedded in another application + scrn = QApplication::desktop()->screenNumber( w->mapToGlobal( QPoint(0,0) ) ); } else if ( QApplication::desktop()->isVirtualDesktop() ) { scrn = QApplication::desktop()->screenNumber( QCursor::pos() ); } else {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor