mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-29 07:55:59 +01:00
b29ac8fbac
Use 128-bit hexadecimal string tokens generated with /dev/urandom instead of UUIDs for xdg-foreign handles, removing the libuuid dependency. Update readme and CI. Closes #2830. build: remove xdg-foreign feature With no external dependencies required, there's no reason not to always build it. Remove WLR_HAS_XDG_FOREIGN as well.
9 lines
149 B
C
9 lines
149 B
C
#ifndef UTIL_TOKEN_H
|
|
#define UTIL_TOKEN_H
|
|
|
|
#include <stdbool.h>
|
|
|
|
#define TOKEN_STRLEN 33
|
|
bool generate_token(char out[static TOKEN_STRLEN]);
|
|
|
|
#endif
|