Archived
1
Fork 0

Report platform feature support on Linux

This commit is contained in:
redstrate 2021-02-17 07:51:41 -05:00
parent bb00009041
commit 97adca57d8

View file

@ -50,6 +50,10 @@ const char* platform::get_name() {
return "Linux"; return "Linux";
} }
bool platform::supports_feature(const PlatformFeature feature) {
return false;
}
static inline xcb_intern_atom_reply_t* intern_atom_helper(xcb_connection_t *conn, bool only_if_exists, const char *str) static inline xcb_intern_atom_reply_t* intern_atom_helper(xcb_connection_t *conn, bool only_if_exists, const char *str)
{ {
xcb_intern_atom_cookie_t cookie = xcb_intern_atom(conn, only_if_exists, strlen(str), str); xcb_intern_atom_cookie_t cookie = xcb_intern_atom(conn, only_if_exists, strlen(str), str);