mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Finally set a window icon on X11
Since the creation of minetest, it had no window icon on X11. Now we have one. The misc/minetest-xorg-icon-128.png file is a rendering of the misc/minetest.svg file with inkscape, created with something like: inkscape -z -e misc/minetest-xorg-icon-128.png -w 128 -h 128 misc/minetest.svg
This commit is contained in:
parent
c1bdb552bc
commit
5d4d3f8366
4 changed files with 93 additions and 0 deletions
|
@ -367,6 +367,9 @@ inline const char *getPlatformName()
|
|||
void setXorgClassHint(const video::SExposedVideoData &video_data,
|
||||
const std::string &name);
|
||||
|
||||
bool setXorgWindowIcon(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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue