diff --git a/workspace.cpp b/workspace.cpp index c42f420a8d..dccc41fa3b 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -82,6 +82,7 @@ namespace KWin { extern int screen_number; +extern bool is_multihead; static const int KWIN_MAX_NUMBER_DESKTOPS = 20; #ifdef KWIN_BUILD_KAPPMENU @@ -2196,6 +2197,25 @@ QString Workspace::supportInformation() const } support.append(QLatin1String(property.name()) % ": " % options->property(property.name()).toString() % '\n'); } + support.append("\nScreens\n"); + support.append( "=======\n"); + support.append("Multi-Head: "); + if (is_multihead) { + support.append("yes\n"); + support.append(QString("Head: %1\n").arg(screen_number)); + } else { + support.append("no\n"); + } + support.append(QString("Number of Screens: %1\n").arg(QApplication::desktop()->screenCount())); + for (int i=0; iscreenCount(); ++i) { + const QRect geo = QApplication::desktop()->screenGeometry(i); + support.append(QString("Screen %1 Geometry: %2,%3,%4x%5\n") + .arg(i) + .arg(geo.x()) + .arg(geo.y()) + .arg(geo.width()) + .arg(geo.height())); + } support.append("\nCompositing\n"); support.append( "===========\n"); support.append("Qt Graphics System: ");