diff --git a/src/wmtaskbar.cc b/src/wmtaskbar.cc index 30cb15bb8..a545ce843 100644 --- a/src/wmtaskbar.cc +++ b/src/wmtaskbar.cc @@ -302,7 +302,6 @@ void TaskBar::initApplets() { if (taskBarShowCollapseButton) { fCollapseButton = new ObjectButton(this, actionCollapseTaskbar); if (fCollapseButton) { - fCollapseButton->setWinGravity(StaticGravity); ref image = leftToRight ? taskbarCollapseImage : taskbarExpandImage; if (image != null) {