Skip to content

Commit

Permalink
fix(wayland): decoration not clickable when initial visible is false
Browse files Browse the repository at this point in the history
  • Loading branch information
yuezk committed Feb 9, 2025
1 parent 5cc9298 commit 6f278c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changes/fix-wayland-decoration-click.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tao": patch
---

On Linux Wayland, fixed a bug where the window decoration is not clickable.
1 change: 0 additions & 1 deletion src/platform_impl/linux/wayland/header.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ impl WlHeader {
.build();

let event_box = EventBox::new();
event_box.set_above_child(true);
event_box.set_visible(true);
event_box.set_can_focus(false);
event_box.add(&header);
Expand Down

0 comments on commit 6f278c7

Please sign in to comment.