Skip to content

Commit

Permalink
Merge branch '2.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
iamsergio committed Jul 16, 2024
2 parents cabdd8d + d8bd729 commit d869032
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Changelog
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
- Allow to redock back to a floating window (#280)

* v2.1.1 (unreleased)
-
- Fix windows having transparency when drop indicators inhibited

* v2.1.0 (08 May 2024)
- Added standalone layouting example using Slint
Expand Down
4 changes: 3 additions & 1 deletion src/core/WindowBeingDragged.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ WindowBeingDragged::WindowBeingDragged(FloatingWindow *fw, Draggable *draggable)
, m_guard(m_draggableView)
{
init();
updateTransparency(/*enable=*/true);

// Dragged windows normally have transparency, unless we don't have drop indicators
updateTransparency(/*enable=*/!Config::self().dropIndicatorsInhibited());
}

WindowBeingDragged::WindowBeingDragged(Draggable *draggable)
Expand Down
2 changes: 1 addition & 1 deletion tests/wayland/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ function(add_wayland_test test srcs)
)
endfunction()

add_wayland_test(tst_wayland_qtwidgets tst_qtwidgets.cpp)
add_wayland_test(tst_wayland_qtwidgets tst_wayland.cpp)

0 comments on commit d869032

Please sign in to comment.