~dyams/unity-2d/remove-glow

« back to all changes in this revision

Viewing changes to libunity-2d-private/src/workspacesinfo.cpp

  • Committer: Tarmac
  • Author(s): Michał Sawicz, Albert Astals
  • Date: 2012-02-07 11:29:36 UTC
  • mfrom: (879.11.17 refactor-screeninfo)
  • Revision ID: tarmac-20120207112936-r1iya0418z3d7evn
This, in itself, will not change anything in unity-2d, but will later allow for easier multi-monitor implementation.. Fixes: . Approved by Gerry Boland.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#include "workspacesinfo.h"
2
 
#include "screeninfo.h"
 
2
#include "desktopinfo.h"
3
3
#include "signalwaiter.h"
4
4
#include <debug_p.h>
5
5
 
74
74
 
75
75
    if (notify->atom == _NET_DESKTOP_LAYOUT ||
76
76
        notify->atom == _NET_NUMBER_OF_DESKTOPS) {
77
 
        ScreenInfo::instance()->workspaces()->updateWorkspaceGeometry();
 
77
        DesktopInfo::instance()->workspaces()->updateWorkspaceGeometry();
78
78
    } else if (notify->atom == _NET_CURRENT_DESKTOP) {
79
 
        ScreenInfo::instance()->workspaces()->updateCurrentWorkspace();
 
79
        DesktopInfo::instance()->workspaces()->updateCurrentWorkspace();
80
80
    }
81
81
 
82
82
    return ret;