scripting: Make WindowModel.desktop property return list of desktops
The X11 desktop id property is obsolete.
This commit is contained in:
parent
aebc361c45
commit
73c26baab4
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ QVariant WindowModel::data(const QModelIndex &index, int role) const
|
||||||
case OutputRole:
|
case OutputRole:
|
||||||
return QVariant::fromValue(window->output());
|
return QVariant::fromValue(window->output());
|
||||||
case DesktopRole:
|
case DesktopRole:
|
||||||
return window->desktop();
|
return QVariant::fromValue(window->desktops());
|
||||||
case ActivityRole:
|
case ActivityRole:
|
||||||
return window->activities();
|
return window->activities();
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue