Changeset View
Changeset View
Standalone View
Standalone View
activation.cpp
Show First 20 Lines • Show All 407 Lines • ▼ Show 20 Line(s) | 407 | /*! | |||
---|---|---|---|---|---|
408 | Informs the workspace that the client \a c has been hidden. If it | 408 | Informs the workspace that the client \a c has been hidden. If it | ||
409 | was the active client (or to-become the active client), | 409 | was the active client (or to-become the active client), | ||
410 | the workspace activates another one. | 410 | the workspace activates another one. | ||
411 | 411 | | |||
412 | \a c may already be destroyed | 412 | \a c may already be destroyed | ||
413 | */ | 413 | */ | ||
414 | void Workspace::clientHidden(AbstractClient* c) | 414 | void Workspace::clientHidden(AbstractClient* c) | ||
415 | { | 415 | { | ||
416 | qWarning()<<c->isShown(true) << c->isOnCurrentDesktop() << c->isOnCurrentActivity(); | ||||
zzag: Delete it? | |||||
416 | assert(!c->isShown(true) || !c->isOnCurrentDesktop() || !c->isOnCurrentActivity()); | 417 | assert(!c->isShown(true) || !c->isOnCurrentDesktop() || !c->isOnCurrentActivity()); | ||
417 | activateNextClient(c); | 418 | activateNextClient(c); | ||
418 | } | 419 | } | ||
419 | 420 | | |||
420 | AbstractClient *Workspace::clientUnderMouse(int screen) const | 421 | AbstractClient *Workspace::clientUnderMouse(int screen) const | ||
421 | { | 422 | { | ||
422 | ToplevelList::const_iterator it = stackingOrder().constEnd(); | 423 | ToplevelList::const_iterator it = stackingOrder().constEnd(); | ||
423 | while (it != stackingOrder().constBegin()) { | 424 | while (it != stackingOrder().constBegin()) { | ||
▲ Show 20 Lines • Show All 470 Lines • Show Last 20 Lines |
Delete it?