Changeset View
Changeset View
Standalone View
Standalone View
deleted.cpp
Show First 20 Lines • Show All 135 Lines • ▼ Show 20 Line(s) | 135 | { | |||
---|---|---|---|---|---|
136 | return desk; | 136 | return desk; | ||
137 | } | 137 | } | ||
138 | 138 | | |||
139 | QStringList Deleted::activities() const | 139 | QStringList Deleted::activities() const | ||
140 | { | 140 | { | ||
141 | return activityList; | 141 | return activityList; | ||
142 | } | 142 | } | ||
143 | 143 | | |||
144 | QList<VirtualDesktop *> Deleted::desktops() const | ||||
145 | { | ||||
146 | return {}; | ||||
zzagUnsubmitted Not Done zzag: ```lang=cpp
return {};
``` | |||||
Why aren't we copying and returning the full list? If a window is on desktop 1 and 2 and we close the window we still want it to animate away on whichever desktop the user is on. See void Deleted::copyToDeleted(Toplevel* c) davidedmundson: Why aren't we copying and returning the full list?
If a window is on desktop 1 and 2 and we… | |||||
147 | } | ||||
148 | | ||||
144 | QPoint Deleted::clientPos() const | 149 | QPoint Deleted::clientPos() const | ||
145 | { | 150 | { | ||
146 | return contentsRect.topLeft(); | 151 | return contentsRect.topLeft(); | ||
147 | } | 152 | } | ||
148 | 153 | | |||
149 | QSize Deleted::clientSize() const | 154 | QSize Deleted::clientSize() const | ||
150 | { | 155 | { | ||
151 | return contentsRect.size(); | 156 | return contentsRect.size(); | ||
▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines |