mirror of
https://github.com/swaywm/sway.git
synced 2025-11-12 13:29:56 -05:00
Fix problems with floating windows
Makes any tabbed/stacked layout a container to separate from floating windows which may be attached to a workspace.
This commit is contained in:
parent
ec7ff769c7
commit
8d700fe008
6 changed files with 26 additions and 7 deletions
|
|
@ -237,7 +237,7 @@ void update_view_border(swayc_t *view) {
|
|||
|
||||
swayc_t *p = view->parent;
|
||||
|
||||
if (p->layout == L_TABBED || p->layout == L_STACKED) {
|
||||
if (swayc_is_tabbed_stacked(view)) {
|
||||
cr = create_border_buffer(view, view->border_geometry, &surface);
|
||||
if (focused == view) {
|
||||
render_borders(view, cr, &config->border_colors.focused, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue