mirror of
https://github.com/InstanceBrick/nightcap.git
synced 2026-10-27 07:01:05 +01:00
19 lines
489 B
C++
19 lines
489 B
C++
#ifndef MOCKTAIL_PLATFORM_SDL_WINDOW_ICON_H_
|
|
#define MOCKTAIL_PLATFORM_SDL_WINDOW_ICON_H_
|
|
|
|
#include "mocktail/status.h"
|
|
|
|
struct SDL_Window;
|
|
|
|
namespace mocktail {
|
|
namespace platform {
|
|
|
|
// Applies the embedded desktop artwork to an SDL window. X11 compositors use
|
|
// this to populate _NET_WM_ICON; Wayland compositors use the desktop identity.
|
|
Status ApplySdlWindowIcon(SDL_Window* window);
|
|
|
|
} // namespace platform
|
|
} // namespace mocktail
|
|
|
|
#endif // MOCKTAIL_PLATFORM_SDL_WINDOW_ICON_H_
|