Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
qt3
fix-xinerama-dialog-placement.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-xinerama-dialog-placement.diff of Package qt3
--- 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