Merge branch 'KDE/4.10'
This commit is contained in:
commit
556d71933b
2 changed files with 3 additions and 1 deletions
|
@ -1574,6 +1574,7 @@ void Client::updateActivities(bool includeTransients)
|
||||||
m_blockedActivityUpdatesRequireTransients |= includeTransients;
|
m_blockedActivityUpdatesRequireTransients |= includeTransients;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
emit activitiesChanged(this);
|
||||||
m_blockedActivityUpdatesRequireTransients = false; // reset
|
m_blockedActivityUpdatesRequireTransients = false; // reset
|
||||||
if (includeTransients)
|
if (includeTransients)
|
||||||
workspace()->updateOnAllActivitiesOfTransients(this);
|
workspace()->updateOnAllActivitiesOfTransients(this);
|
||||||
|
|
|
@ -152,7 +152,7 @@ class Toplevel
|
||||||
* See http://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
|
* See http://standards.freedesktop.org/wm-spec/wm-spec-latest.html .
|
||||||
*/
|
*/
|
||||||
Q_PROPERTY(int windowType READ windowType)
|
Q_PROPERTY(int windowType READ windowType)
|
||||||
Q_PROPERTY(QStringList activities READ activities)
|
Q_PROPERTY(QStringList activities READ activities NOTIFY activitiesChanged)
|
||||||
/**
|
/**
|
||||||
* Whether this Toplevel is managed by KWin (it has control over its placement and other
|
* Whether this Toplevel is managed by KWin (it has control over its placement and other
|
||||||
* aspects, as opposed to override-redirect windows that are entirely handled by the application).
|
* aspects, as opposed to override-redirect windows that are entirely handled by the application).
|
||||||
|
@ -325,6 +325,7 @@ signals:
|
||||||
* schedule a repaint of the scene.
|
* schedule a repaint of the scene.
|
||||||
**/
|
**/
|
||||||
void needsRepaint();
|
void needsRepaint();
|
||||||
|
void activitiesChanged(KWin::Toplevel* toplevel);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual ~Toplevel();
|
virtual ~Toplevel();
|
||||||
|
|
Loading…
Reference in a new issue