From ac947042c80b9ef51f1eccfbac29ce5e58e5e3c2 Mon Sep 17 00:00:00 2001 From: Thomas Adam Date: Thu, 31 Oct 2024 22:54:07 +0000 Subject: [PATCH] 1 --- libs/mcomms.h | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 libs/mcomms.h diff --git a/libs/mcomms.h b/libs/mcomms.h new file mode 100644 index 000000000..10717a642 --- /dev/null +++ b/libs/mcomms.h @@ -0,0 +1,42 @@ +#ifndef FVWMLIB_MCOMMS_H +#define FVWMLIB_MCOMMS_H + +#include +#include + +struct m_add_window { + char *window; + int title_height; + int border_width; + + struct { + int window; + int x; + int y; + int width; + int height; + } frame; + + struct { + int base_width; + int base_height; + int inc_width; + int inc_height; + int orig_inc_width; + int orig_inc_height; + int min_width; + int min_height; + int max_width; + int max_height; + } hints; + + struct { + int layer; + int desktop; + int window_type; + } ewmh; +}; + +bool m_register_interest(int *, const char *, ...); + +#endif