Changeset View
Changeset View
Standalone View
Standalone View
screenedge.cpp
Show First 20 Lines • Show All 177 Lines • ▼ Show 20 Line(s) | |||||
178 | bool Edge::activatesForPointer() const | 178 | bool Edge::activatesForPointer() const | ||
179 | { | 179 | { | ||
180 | if (m_client) { | 180 | if (m_client) { | ||
181 | return true; | 181 | return true; | ||
182 | } | 182 | } | ||
183 | if (m_edges->isDesktopSwitching()) { | 183 | if (m_edges->isDesktopSwitching()) { | ||
184 | return true; | 184 | return true; | ||
185 | } | 185 | } | ||
186 | if (m_edges->isDesktopSwitchingMovingClients()) { | ||||
187 | auto c = Workspace::self()->getMovingClient(); | ||||
188 | if (c && !c->isResize()) { | ||||
189 | return true; | ||||
190 | } | ||||
191 | } | ||||
186 | if (!m_callBacks.isEmpty()) { | 192 | if (!m_callBacks.isEmpty()) { | ||
187 | return true; | 193 | return true; | ||
188 | } | 194 | } | ||
189 | if (m_action != ElectricActionNone) { | 195 | if (m_action != ElectricActionNone) { | ||
190 | return true; | 196 | return true; | ||
191 | } | 197 | } | ||
192 | return false; | 198 | return false; | ||
193 | } | 199 | } | ||
▲ Show 20 Lines • Show All 1315 Lines • Show Last 20 Lines |