From 7a1f97754f58f8dd9a30e8cf276e593db12a80ef Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Thu, 24 Nov 2022 00:16:59 +0200 Subject: [PATCH] wayland: Simplify implementation of xdg_toplevel.set_minimized --- src/xdgshellwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdgshellwindow.cpp b/src/xdgshellwindow.cpp index 5cf9ae6573..e4396b1239 100644 --- a/src/xdgshellwindow.cpp +++ b/src/xdgshellwindow.cpp @@ -1255,7 +1255,7 @@ void XdgToplevelWindow::handleUnfullscreenRequested() void XdgToplevelWindow::handleMinimizeRequested() { - performMouseCommand(Options::MouseMinimize, Cursors::self()->mouse()->pos()); + minimize(); } void XdgToplevelWindow::handleTransientForChanged()