mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
parent
1824fc4b9a
commit
037dace5bc
1 changed files with 9 additions and 0 deletions
|
|
@ -271,6 +271,12 @@ workspaces_switch_to(struct workspace *target)
|
|||
|
||||
/* And finally show the OSD */
|
||||
_osd_show(server);
|
||||
|
||||
/*
|
||||
* Make sure we are not carrying around a
|
||||
* cursor image from the previous desktop
|
||||
*/
|
||||
cursor_update_focus(server);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
@ -284,6 +290,9 @@ workspaces_osd_hide(struct seat *seat)
|
|||
wlr_scene_buffer_set_buffer(output->workspace_osd, NULL);
|
||||
}
|
||||
seat->workspace_osd_shown_by_modifier = false;
|
||||
|
||||
/* Update the cursor focus in case it was on top of the OSD before */
|
||||
cursor_update_focus(server);
|
||||
}
|
||||
|
||||
struct workspace *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue