4#ifndef _CTWM_WIN_UTILS_H
5#define _CTWM_WIN_UTILS_H
27 int *top,
int height);
30 int *top,
int height);
The layout of our display.
Info and control for every X Window we take over.
void apply_window_icon_name(TwmWindow *win)
[Re]set and apply changes to a window's icon name.
void send_clientmessage(Window w, Atom a, Time timestamp)
bool set_window_name(TwmWindow *win)
[Re]set a window's name.
XWMHints * munge_wmhints(TwmWindow *win, XWMHints *hints)
Perform whatever adaptations of WM_HINTS info we do.
void DisplayPosition(const TwmWindow *_unused_tmp_win, int x, int y)
void FreeWMPropertyString(char *prop)
bool visible(const TwmWindow *tmp_win)
void GetWindowSizeHints(TwmWindow *tmp_win)
void MoveResizeSizeWindow(int x, int y, unsigned int width, unsigned int height)
bool GetWMState(Window w, int *statep, Window *iwp)
TwmWindow * GetTwmWindow(Window w)
void ConstrainByBorders(TwmWindow *twmwin, int *left, int width, int *top, int height)
XWMHints * gen_synthetic_wmhints(TwmWindow *win)
int restore_mask(Window w, long restore)
bool ConstrainByLayout(RLayout *layout, int move_off_res, int *left, int width, int *top, int height)
void ConstrainByBorders1(int *left, int width, int *top, int height)
long mask_out_event_mask(Window w, long ignore_event, long curmask)
void FetchWmProtocols(TwmWindow *tmp)
long mask_out_event(Window w, long ignore_event)
void SetMapStateProp(TwmWindow *tmp_win, int state)
void TryToPush(TwmWindow *tmp_win, int x, int y)
void WarpToWindow(TwmWindow *t, bool must_raise)
void apply_window_name(TwmWindow *win)
[Re]set and apply changes to a window's name.
void TryToGrid(TwmWindow *tmp_win, int *x, int *y)
void TryToPack(TwmWindow *tmp_win, int *x, int *y)
char * GetWMPropertyString(Window w, Atom prop)
void GetGravityOffsets(TwmWindow *tmp, int *xp, int *yp)
bool set_window_icon_name(TwmWindow *win)
[Re]set a window's icon name.