Changeset View
Changeset View
Standalone View
Standalone View
client.cpp
Show First 20 Lines • Show All 2104 Lines • ▼ Show 20 Line(s) | 2104 | if (syncRequest.counter == XCB_NONE) { // cannot detect complete redraw, consider done now | |||
---|---|---|---|---|---|
2105 | setReadyForPainting(); | 2105 | setReadyForPainting(); | ||
2106 | setupWindowManagementInterface(); | 2106 | setupWindowManagementInterface(); | ||
2107 | } | 2107 | } | ||
2108 | } | 2108 | } | ||
2109 | repaints_region += damage; | 2109 | repaints_region += damage; | ||
2110 | Toplevel::addDamage(damage); | 2110 | Toplevel::addDamage(damage); | ||
2111 | } | 2111 | } | ||
2112 | 2112 | | |||
2113 | bool Client::belongsToSameApplication(const AbstractClient *other, bool active_hack) const | 2113 | bool Client::belongsToSameApplication(const AbstractClient *other, SameApplicationChecks checks) const | ||
2114 | { | 2114 | { | ||
2115 | const Client *c2 = dynamic_cast<const Client*>(other); | 2115 | const Client *c2 = dynamic_cast<const Client*>(other); | ||
2116 | if (!c2) { | 2116 | if (!c2) { | ||
2117 | return false; | 2117 | return false; | ||
2118 | } | 2118 | } | ||
2119 | return Client::belongToSameApplication(this, c2, active_hack); | 2119 | return Client::belongToSameApplication(this, c2, checks); | ||
2120 | } | 2120 | } | ||
2121 | 2121 | | |||
2122 | void Client::updateTabGroupStates(TabGroup::States states) | 2122 | void Client::updateTabGroupStates(TabGroup::States states) | ||
2123 | { | 2123 | { | ||
2124 | if (auto t = tabGroup()) { | 2124 | if (auto t = tabGroup()) { | ||
2125 | t->updateStates(this, states); | 2125 | t->updateStates(this, states); | ||
2126 | } | 2126 | } | ||
2127 | } | 2127 | } | ||
Show All 40 Lines |