Changeset View
Changeset View
Standalone View
Standalone View
workspace.cpp
Show First 20 Lines • Show All 734 Lines • ▼ Show 20 Line(s) | 704 | { | |||
---|---|---|---|---|---|
735 | updateStackingOrder(true); | 735 | updateStackingOrder(true); | ||
736 | updateClientArea(); | 736 | updateClientArea(); | ||
737 | if (client->wantsInput() && !client->isMinimized()) { | 737 | if (client->wantsInput() && !client->isMinimized()) { | ||
738 | activateClient(client); | 738 | activateClient(client); | ||
739 | } | 739 | } | ||
740 | updateTabbox(); | 740 | updateTabbox(); | ||
741 | connect(client, &AbstractClient::windowShown, this, [this, client] { | 741 | connect(client, &AbstractClient::windowShown, this, [this, client] { | ||
742 | updateClientLayer(client); | 742 | updateClientLayer(client); | ||
743 | // TODO: when else should we send the client through placement? | | |||
744 | if (client->hasTransientPlacementHint()) { | | |||
745 | const QRect area = clientArea(PlacementArea, Screens::self()->current(), client->desktop()); | | |||
746 | client->placeIn(area); | | |||
747 | } | | |||
748 | markXStackingOrderAsDirty(); | 743 | markXStackingOrderAsDirty(); | ||
749 | updateStackingOrder(true); | 744 | updateStackingOrder(true); | ||
750 | updateClientArea(); | 745 | updateClientArea(); | ||
751 | if (client->wantsInput()) { | 746 | if (client->wantsInput()) { | ||
752 | activateClient(client); | 747 | activateClient(client); | ||
753 | } | 748 | } | ||
754 | }); | 749 | }); | ||
755 | connect(client, &AbstractClient::windowHidden, this, [this] { | 750 | connect(client, &AbstractClient::windowHidden, this, [this] { | ||
▲ Show 20 Lines • Show All 2032 Lines • Show Last 20 Lines |