Changeset View
Changeset View
Standalone View
Standalone View
scripting/scripting_model.cpp
Show First 20 Lines • Show All 136 Lines • ▼ Show 20 Line(s) | 136 | if (!client->isOnCurrentActivity()) { | |||
---|---|---|---|---|---|
137 | return true; | 137 | return true; | ||
138 | } | 138 | } | ||
139 | } | 139 | } | ||
140 | if (exclusions & ClientModel::MinimizedExclusion) { | 140 | if (exclusions & ClientModel::MinimizedExclusion) { | ||
141 | if (client->isMinimized()) { | 141 | if (client->isMinimized()) { | ||
142 | return true; | 142 | return true; | ||
143 | } | 143 | } | ||
144 | } | 144 | } | ||
145 | if (exclusions & ClientModel::NonSelectedWindowTabExclusion) { | | |||
146 | if (!client->isCurrentTab()) { | | |||
147 | return true; | | |||
148 | } | | |||
149 | } | | |||
150 | if (exclusions & ClientModel::NotAcceptingFocusExclusion) { | 145 | if (exclusions & ClientModel::NotAcceptingFocusExclusion) { | ||
151 | if (!client->wantsInput()) { | 146 | if (!client->wantsInput()) { | ||
152 | return true; | 147 | return true; | ||
153 | } | 148 | } | ||
154 | } | 149 | } | ||
155 | return false; | 150 | return false; | ||
156 | } | 151 | } | ||
157 | 152 | | |||
▲ Show 20 Lines • Show All 770 Lines • Show Last 20 Lines |