19#include "ctwm_atoms.h"
31 unsigned long bytes_after;
32 unsigned long *prop = NULL;
39 mwmHints->input_mode = 0;
43 success = XGetWindowProperty(
44 dpy, w, XA__MOTIF_WM_HINTS,
52 (
unsigned char **)&prop);
54 if(success == Success &&
55 actual_type == XA__MOTIF_WM_HINTS &&
56 actual_format == 32 &&
58 mwmHints->
flags = (int)prop[0];
62 mwmHints->input_mode = (int)prop[3];
63 mwmHints->status = (int)prop[4];
void * LookInNameList(name_list *list_head, const char *name)
int mwm_has_border(MotifWmHints *hints)
static bool mwm_sets_decorations(MotifWmHints *hints)
bool mwm_sets_title(MotifWmHints *hints)
bool GetMWMHints(Window w, MotifWmHints *mwmHints)
bool mwm_has_title(MotifWmHints *hints)
#define MWM_HINTS_DECORATIONS
#define MWM_HINTS_FUNCTIONS