summaryrefslogtreecommitdiff
path: root/src/client/renderingengine.h
diff options
context:
space:
mode:
authorthoughtjigs <s.c.hoyt.mail@gmail.com>2018-06-17 01:41:07 -0700
committerSmallJoker <SmallJoker@users.noreply.github.com>2018-06-17 10:41:07 +0200
commit3d516079eb4d535326dbf6752088d5dfeb46ed31 (patch)
treeadd28b71dd38394efe02eded291d17c7c41e2017 /src/client/renderingengine.h
parentac6e8e2914888d77625bb3b67ff6aaea9fc6cbab (diff)
downloadminetest-3d516079eb4d535326dbf6752088d5dfeb46ed31.tar.gz
minetest-3d516079eb4d535326dbf6752088d5dfeb46ed31.tar.bz2
minetest-3d516079eb4d535326dbf6752088d5dfeb46ed31.zip
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
Diffstat (limited to 'src/client/renderingengine.h')
-rw-r--r--src/client/renderingengine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/renderingengine.h b/src/client/renderingengine.h
index 8728363d2..34cc60630 100644
--- a/src/client/renderingengine.h
+++ b/src/client/renderingengine.h
@@ -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();