mirror of
https://github.com/labwc/labwc.git
synced 2026-04-06 07:15:40 -04:00
Unshade&focus the (final) alt+tabbed window
This commit is contained in:
parent
9bf9f58c61
commit
50772c3373
1 changed files with 10 additions and 0 deletions
|
|
@ -197,9 +197,19 @@ osd_cycle(struct server *server, enum lab_cycle_dir direction)
|
|||
void
|
||||
osd_finish(struct server *server)
|
||||
{
|
||||
/* Unshade/unminimize the selected view if it's shaded */
|
||||
if (server->osd_state.cycle_view && server->osd_state.cycle_view->shaded) {
|
||||
view_set_shade(server->osd_state.cycle_view, false);
|
||||
}
|
||||
|
||||
restore_preview_node(server);
|
||||
seat_focus_override_end(&server->seat);
|
||||
|
||||
/* Focus the selected view */
|
||||
if (server->osd_state.cycle_view) {
|
||||
desktop_focus_view(server->osd_state.cycle_view, true);
|
||||
}
|
||||
|
||||
server->osd_state.preview_node = NULL;
|
||||
server->osd_state.preview_anchor = NULL;
|
||||
server->osd_state.cycle_view = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue