Changeset View
Changeset View
Standalone View
Standalone View
activation.cpp
Show First 20 Lines • Show All 264 Lines • ▼ Show 20 Line(s) | 231 | { | |||
---|---|---|---|---|---|
265 | updateToolWindows(false); | 265 | updateToolWindows(false); | ||
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 | rootInfo()->setActiveWindow(active_client ? active_client->window() : 0); | 274 | rootInfo()->setActiveWindow(active_client ? active_client->window() : 0); | ||
275 | } | ||||
274 | 276 | | |||
275 | emit clientActivated(active_client); | 277 | emit clientActivated(active_client); | ||
276 | --set_active_client_recursion; | 278 | --set_active_client_recursion; | ||
277 | } | 279 | } | ||
278 | 280 | | |||
279 | /*! | 281 | /*! | ||
280 | 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 | ||
281 | expect when clicking the respective entry in a taskbar: showing and | 283 | expect when clicking the respective entry in a taskbar: showing and | ||
▲ Show 20 Lines • Show All 610 Lines • Show Last 20 Lines |