mirror of
https://github.com/minetest/minetest.git
synced 2025-07-07 02:10:22 +02:00
Provide Xorg/net wm process ID (#7445)
Adding support for _NET_WM_PID as defined in Extended Window Manager Hints Move verbose messaging to setupXorgTopLevelWindow method as Xorg messages should only occur when running in Xorg env. Irrlicht returns the XDisplay as a void* and XWindow as an unsigned long so reinterpret those as the appropriate type. Also fixed a spaces for tab formating issue
This commit is contained in:
@ -51,8 +51,8 @@ public:
|
||||
static float getDisplayDensity();
|
||||
static v2u32 getDisplaySize();
|
||||
|
||||
static void setXorgClassHint(const video::SExposedVideoData &video_data,
|
||||
const std::string &name);
|
||||
bool setupTopLevelWindow(const std::string &name);
|
||||
void setupTopLevelXorgWindow(const std::string &name);
|
||||
bool setWindowIcon();
|
||||
bool setXorgWindowIconFromPath(const std::string &icon_file);
|
||||
static bool print_video_modes();
|
||||
|
Reference in New Issue
Block a user