Skip to content

Commit

Permalink
topicons: use event from button for tray icon click
Browse files Browse the repository at this point in the history
maybe fixes issue #55
  • Loading branch information
jonian committed Aug 25, 2018
1 parent 6608814 commit 1e2419f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unite@hardpixel.eu/modules/topIcons.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ var TopIcons = new Lang.Class({
iconContainer.destroy();
});

iconContainer.connect('button-release-event', function () {
icon.click(Clutter.get_current_event());
iconContainer.connect('button-release-event', function (actor, event) {
icon.click(event);
});

this._iconsContainer.actor.show();
Expand Down

0 comments on commit 1e2419f

Please # to comment.