Move first updateXTime() in Workspace ctor to init
It's needed for Client initialization and that early the integration with Qt is not yet working correctly (dropping to endless loop).
This commit is contained in:
parent
95f10a6c33
commit
e72c52d075
1 changed files with 1 additions and 2 deletions
|
@ -197,8 +197,6 @@ Workspace::Workspace(bool restore)
|
|||
ColorMapper *colormaps = new ColorMapper(this);
|
||||
connect(this, SIGNAL(clientActivated(KWin::Client*)), colormaps, SLOT(update()));
|
||||
|
||||
updateXTime(); // Needed for proper initialization of user_time in Client ctor
|
||||
|
||||
delayFocusTimer = 0;
|
||||
|
||||
if (restore)
|
||||
|
@ -266,6 +264,7 @@ Workspace::Workspace(bool restore)
|
|||
|
||||
void Workspace::init()
|
||||
{
|
||||
updateXTime(); // Needed for proper initialization of user_time in Client ctor
|
||||
Screens *screens = Screens::self();
|
||||
screens->setConfig(KGlobal::config());
|
||||
screens->reconfigure();
|
||||
|
|
Loading…
Reference in a new issue