also set the desktop widgets sufficiently apart on the scene
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=729433
This commit is contained in:
parent
975553bb1e
commit
91d37cd653
@ -473,8 +473,11 @@ void Containment::setScreen(int screen)
|
|||||||
|
|
||||||
kDebug() << "APAKU: setting screen to " << screen << "and type is" << type();
|
kDebug() << "APAKU: setting screen to " << screen << "and type is" << type();
|
||||||
if (screen > -1) {
|
if (screen > -1) {
|
||||||
|
QRect r = desktop.screenGeometry(screen);
|
||||||
|
|
||||||
if (type() == DesktopContainment) {
|
if (type() == DesktopContainment) {
|
||||||
setGeometry(desktop.screenGeometry(screen));
|
r.moveLeft(INTER_CONTAINMENT_MARGIN * screen);
|
||||||
|
setGeometry(r);
|
||||||
//kDebug() << "setting geometry to" << desktop.screenGeometry(screen) << geometry();
|
//kDebug() << "setting geometry to" << desktop.screenGeometry(screen) << geometry();
|
||||||
} else if (type() == PanelContainment) {
|
} else if (type() == PanelContainment) {
|
||||||
QDesktopWidget desktop;
|
QDesktopWidget desktop;
|
||||||
|
Loading…
Reference in New Issue
Block a user