feat: desktop - use MTK menu for desktop right-click menu

This commit is contained in:
2026-08-07 10:55:38 +02:00
parent 9eb21eb3e3
commit 0e1601be74
9 changed files with 83 additions and 99 deletions
+3 -2
View File
@@ -10,6 +10,7 @@
#include "gui/svg.hpp"
#include "gui/window.hpp"
#include "gui/widgets.hpp"
#include "gui/mtk/widgets.hpp"
#include "gui/terminal.hpp"
#include <Api/Syscall.hpp>
@@ -172,8 +173,8 @@ struct DesktopState {
int desktop_item_count;
int desktop_item_capacity;
bool ctx_menu_open;
int ctx_menu_x, ctx_menu_y;
// Right-click menu on the desktop background (MTK context menu).
mtk::ContextMenuState ctx_menu;
bool net_popup_open;
montauk::abi::NetCfg cached_net_cfg;