Changeset View
Changeset View
Standalone View
Standalone View
xdgshellclient.cpp
Show First 20 Lines • Show All 289 Lines • ▼ Show 20 Line(s) | 256 | #endif | |||
---|---|---|---|---|---|
290 | deleteClient(this); | 290 | deleteClient(this); | ||
291 | } | 291 | } | ||
292 | 292 | | |||
293 | void XdgShellClient::deleteClient(XdgShellClient *c) | 293 | void XdgShellClient::deleteClient(XdgShellClient *c) | ||
294 | { | 294 | { | ||
295 | delete c; | 295 | delete c; | ||
296 | } | 296 | } | ||
297 | 297 | | |||
298 | QRect XdgShellClient::inputGeometry() const | ||||
299 | { | ||||
300 | if (isDecorated()) { | ||||
301 | return AbstractClient::inputGeometry(); | ||||
302 | } | ||||
303 | // TODO: What about sub-surfaces sticking outside the main surface? | ||||
304 | return m_bufferGeometry; | ||||
305 | } | ||||
306 | | ||||
298 | QRect XdgShellClient::bufferGeometry() const | 307 | QRect XdgShellClient::bufferGeometry() const | ||
299 | { | 308 | { | ||
300 | return m_bufferGeometry; | 309 | return m_bufferGeometry; | ||
301 | } | 310 | } | ||
302 | 311 | | |||
303 | QStringList XdgShellClient::activities() const | 312 | QStringList XdgShellClient::activities() const | ||
304 | { | 313 | { | ||
305 | // TODO: implement | 314 | // TODO: implement | ||
▲ Show 20 Lines • Show All 1683 Lines • Show Last 20 Lines |