Skip to content

Commit

Permalink
fix titlebar actions not working
Browse files Browse the repository at this point in the history
  • Loading branch information
jonian committed Oct 15, 2023
1 parent 0a208f0 commit a7292e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unite@hardpixel.eu/panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -683,7 +683,7 @@ class TitlebarActions extends Handlers.Feature {
}

_onButtonPressEvent(actor, event) {
if (Main.modalCount > 0 || actor != event.get_source()) {
if (Main.modalCount > 0 || event.get_source() != null) {
return Clutter.EVENT_PROPAGATE
}

Expand Down

0 comments on commit a7292e2

Please sign in to comment.