Skip to content

Commit

Permalink
windows-quick-list: Fix icon allocation warnings (#7164)
Browse files Browse the repository at this point in the history
Fixes the following warning when animations are enabled:

(cinnamon:3968): Clutter-WARNING **: clutter-actor.c:10033: Actor
'StIcon' tried to allocate a size of -30.00 x 24.00
  • Loading branch information
jaszhix authored and clefebvre committed Jan 24, 2018
1 parent 14a41e0 commit e5b42b1
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -116,7 +116,7 @@ MyApplet.prototype = {

activateWindow: function(metaWorkspace, metaWindow) {
if (this._menu.isOpen) {
this._menu.toggle();
this._menu.toggle_with_options(false);
}
this.menu.toggle();
if(!metaWindow.is_on_all_workspaces()) { metaWorkspace.activate(global.get_current_time()); }
Expand All @@ -127,7 +127,7 @@ MyApplet.prototype = {
on_applet_clicked: function(event) {
this.updateMenu();
if (!this._menu.isOpen) {
this._menu.toggle();
this._menu.toggle_with_options(false);
}
this.menu.toggle();
}
Expand Down

0 comments on commit e5b42b1

Please sign in to comment.