I am developing a windowed application with Qt, C++ on embedded Linux. Using QApplication type of QApplication::GUIServer
I am trying to disable the context menu that pops up when user right clicks on application title area, the one that gives the options to resize, move, close, etc. the application.
I already tried setting ContextMenuPolicy to PreventContextMenu on main window and giving a custom context menu handler to main window.
Thanks in advance.
You may not be able to disable this menu as this is provided by the window manager, not the application.
The only option may be to request the title bar is removed with
windowFlags.