X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fporting.h;h=f5c7efcb2df3d05df5e0287511d8e79ecb77dcad;hb=0d94bfabcc71efac20210746430a2b9e401425b1;hp=d101a7324d8e402ac1d2816c4fb7cb72f43eb540;hpb=1dfd977ec43370da6931b11a8d0469792c8ebc36;p=minetest.git diff --git a/src/porting.h b/src/porting.h index d101a7324..f5c7efcb2 100644 --- a/src/porting.h +++ b/src/porting.h @@ -367,6 +367,11 @@ inline const char *getPlatformName() void setXorgClassHint(const video::SExposedVideoData &video_data, const std::string &name); +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 // threads in the process inherit this exception handler void setWin32ExceptionHandler();