1
0
Fork 0

source/Platform/Unix: Rename XRandR to Xrandr

This commit is contained in:
Henrik Hautakoski 2024-06-22 19:53:16 +02:00
parent ca46bd0ef7
commit f71fdea463
5 changed files with 11 additions and 11 deletions

View file

@ -0,0 +1,18 @@
#ifndef PLATFORM_UNIX_XRANDR_H
#define PLATFORM_UNIX_XRANDR_H
#include <X11/extensions/Xrandr.h>
namespace sp { namespace Xrandr {
struct VideoMode {
SizeID size;
short rate;
};
bool FindMode(::Display* disp, unsigned int width, unsigned int height, unsigned int bpp, SizeID *id, short *rate);
} } // sp::Xrandr
#endif /* PLATFORM_UNIX_XRANDR_H */