Fix window size test (WM_NORMAL_HINTS handling)

This commit is contained in:
Paul Breugnot 2025-05-17 12:13:02 +02:00
parent a4b48b60bf
commit 24a66e41d1
11 changed files with 96 additions and 15 deletions

16
test/utils.h Normal file
View file

@ -0,0 +1,16 @@
#ifndef TEST_UTILS
#define TEST_UTILS
#include <time.h>
#include <X11/Xlib.h>
extern const clock_t USER_DELAY;
XColor red(float intensity);
XColor blue(float intensity);
Window parent(Display* display, Window window);
int wait_visibility(Display* display, Window window);
void wait_array_visibility(Display* display, int N, Window* windows, int* visibilities);
#endif