diff options
author | est31 <est31@users.noreply.github.com> | 2016-08-20 21:26:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-20 21:26:44 +0200 |
commit | f092dac9793b80c29a669b0d676ee3e4f55f682e (patch) | |
tree | 75bb3a5c4f9d82fc6c18f4481f3b8a662ea481c3 /src/porting.h | |
parent | 6590140260d0338ab5a0fd2bbcd4c72f07dd963d (diff) | |
download | minetest-f092dac9793b80c29a669b0d676ee3e4f55f682e.tar.gz minetest-f092dac9793b80c29a669b0d676ee3e4f55f682e.tar.bz2 minetest-f092dac9793b80c29a669b0d676ee3e4f55f682e.zip |
Also support X11 icon for minetest copies installed via make install (#4407)
Fixes #4323.
Diffstat (limited to 'src/porting.h')
-rw-r--r-- | src/porting.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/porting.h b/src/porting.h index 40f6b4dc3..f5c7efcb2 100644 --- a/src/porting.h +++ b/src/porting.h @@ -367,7 +367,9 @@ inline const char *getPlatformName() void setXorgClassHint(const video::SExposedVideoData &video_data, const std::string &name); -bool setXorgWindowIcon(IrrlichtDevice *device, +bool setXorgWindowIcon(IrrlichtDevice *device); + +bool setXorgWindowIconFromPath(IrrlichtDevice *device, const std::string &icon_file); // This only needs to be called at the start of execution, since all future |