wayland: Simplify implementation of xdg_toplevel.set_minimized

This commit is contained in:
Vlad Zahorodnii 2022-11-24 00:16:59 +02:00
parent 0987b55cdd
commit 7a1f97754f

View file

@ -1255,7 +1255,7 @@ void XdgToplevelWindow::handleUnfullscreenRequested()
void XdgToplevelWindow::handleMinimizeRequested()
{
performMouseCommand(Options::MouseMinimize, Cursors::self()->mouse()->pos());
minimize();
}
void XdgToplevelWindow::handleTransientForChanged()