Hide add desktop button if desktops are static

This commit is contained in:
Victor Tran 2023-10-11 21:16:58 +11:00
parent e260b8ab94
commit 9438038c14
No known key found for this signature in database

View file

@ -73,6 +73,7 @@ TaskbarWidget::TaskbarWidget(QWidget* parent) :
});
ui->lastDesktopButton->setIconSize(SC_DPI_T(QSize(24, 24), QSize));
ui->lastDesktopButton->setVisible(DesktopWm::supportsSetNumDesktops());
normaliseDesktops();
updateDesktop();