mirror of
https://github.com/labwc/labwc.git
synced 2026-02-22 01:40:25 -05:00
desktop.c: prevent switching workspaces for always-on-bottom windows
Fixes: #1170 Reported-by: @stefonarch Reported-by: @tsujan
This commit is contained in:
parent
50ceae5fb4
commit
4174553124
3 changed files with 4 additions and 3 deletions
|
|
@ -67,9 +67,9 @@ desktop_focus_view(struct view *view, bool raise)
|
|||
|
||||
/*
|
||||
* Switch workspace if necessary to make the view visible
|
||||
* (unnecessary for "always on top" views).
|
||||
* (unnecessary for "always on {top,bottom}" views).
|
||||
*/
|
||||
if (!view_is_always_on_top(view)) {
|
||||
if (!view_is_always_on_top(view) && !view_is_always_on_bottom(view)) {
|
||||
workspaces_switch_to(view->workspace, /*update_focus*/ false);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue