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