Changeset View
Changeset View
Standalone View
Standalone View
activation.cpp
Show First 20 Lines • Show All 265 Lines • ▼ Show 20 Line(s) | 231 | { | |||
---|---|---|---|---|---|
266 | if (c) | 266 | if (c) | ||
267 | disableGlobalShortcutsForClient(c->rules()->checkDisableGlobalShortcuts(false)); | 267 | disableGlobalShortcutsForClient(c->rules()->checkDisableGlobalShortcuts(false)); | ||
268 | else | 268 | else | ||
269 | disableGlobalShortcutsForClient(false); | 269 | disableGlobalShortcutsForClient(false); | ||
270 | 270 | | |||
271 | updateStackingOrder(); // e.g. fullscreens have different layer when active/not-active | 271 | updateStackingOrder(); // e.g. fullscreens have different layer when active/not-active | ||
272 | 272 | | |||
273 | if (rootInfo()) { | 273 | if (rootInfo()) { | ||
274 | rootInfo()->setActiveWindow(active_client ? active_client->window() : 0); | 274 | rootInfo()->setActiveClient(active_client); | ||
275 | } | 275 | } | ||
276 | 276 | | |||
277 | emit clientActivated(active_client); | 277 | emit clientActivated(active_client); | ||
278 | --set_active_client_recursion; | 278 | --set_active_client_recursion; | ||
279 | } | 279 | } | ||
280 | 280 | | |||
281 | /*! | 281 | /*! | ||
282 | Tries to activate the client \a c. This function performs what you | 282 | Tries to activate the client \a c. This function performs what you | ||
▲ Show 20 Lines • Show All 611 Lines • Show Last 20 Lines |