Bug 311840

Summary: disableMultihead does not work properly
Product: [Plasma] kwin Reporter: Alexey Balekhov <a>
Component: multi-screenAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: 4.8.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Alexey Balekhov 2012-12-17 17:52:14 UTC
I have a multihead system (two separate screens, no Xinerama) and want to run kde on only one screen and xbmc on another. I tried to add these strings to .kde/share/config/kcmdisplayrc:
[X11]
disableMultihead=true
But it does not work properly. Splashscreen shows on both monitors, then one screen cleans, but two copies of kwin still run, both on the second screen.
Problem is in kwin/main.cpp in kdemain function. There is no way to prevent running multiple copies of kwin on multiscreen display. I also tried to set DISPLAY and KDE_DISPLAY to ":0.0", but ScreenCount still returns 2 and I have two kwin instances.

Reproducible: Always
Comment 1 Thomas Lübking 2012-12-17 17:59:57 UTC
https://git.reviewboard.kde.org/r/107735/

*** This bug has been marked as a duplicate of bug 293734 ***