mirror of
https://github.com/quickshell-mirror/quickshell.git
synced 2026-10-30 03:15:05 +00:00
wayland/platformmenu: fix flipped positions and submenu y positions
This commit is contained in:
3 files changed
+34
-2
No files matched your search
@@ -104,6 +104,8 @@ bool PlatformMenuEntry::display(QObject* parentWindow, int relativeX, int relati
|
||||
this->qmenu->createWinId();
|
||||
this->qmenu->windowHandle()->setTransientParent(window);
|
||||
|
||||
// Skips screen edge repositioning so it can be left to the compositor on wayland.
|
||||
this->qmenu->targetPosition = point;
|
||||
this->qmenu->popup(point);
|
||||
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user