40 if(
Scr->use3Dborders) {
107 if(
Scr->use3Dtitles &&
Scr->SunkFocusWindowTitle &&
tmp_win->title_height) {
113 Scr->TBInfo.rightoff -
Scr->TitlePadding,
114 Scr->TitleHeight,
Scr->TitleShadowDepth,
133 if(
Scr->Focus && (
Scr->Focus->isiconmgr)) {
149 if(
Scr->Focus->AutoSqueeze && !
Scr->Focus->squeezed) {
193 if(!
Scr->ClickToFocus) {
194 Scr->FocusRoot =
true;
210 if(
Scr->RaiseWhenAutoUnSqueeze &&
tmp_win->squeezed) {
319 static int lastx = 0;
320 static int lasty = 0;
338 if (lastWidth || lastHeight) \
341 xr = lastx + lastWidth - 1; \
343 yb = lasty + lastHeight - 1; \
344 xinnerl = xl + lastBW; \
345 xinnerr = xr - lastBW; \
346 yinnert = yt + lastTH + lastBW; \
347 yinnerb = yb - lastBW; \
348 xthird = (xinnerr - xinnerl) / 3; \
349 ythird = (yinnerb - yinnert) / 3; \
375 r->x1 = xinnerl + xthird; \
381 r->x1 = xinnerl + (2 * xthird); \
388 r->y1 = yinnert + ythird; \
394 r->y1 = yinnert + (2 * ythird); \
401 r->y1 = yt + lastTH; \
bool InstallColormaps(int type, Colormaps *cmaps)
void Draw3DBorder(Window w, int x, int y, int width, int height, int bw, ColorPair cp, ButtonState state, bool fill, bool forcebw)
void EwmhSet_NET_ACTIVE_WINDOW(Window w)
void EwmhSet_NET_WM_STATE(TwmWindow *twm_win, int changes)
#define EWMH_STATE_SHADED
void NotActiveIconManager(WList *active)
void ActiveIconManager(WList *active)
void OtpUnfocusWindow(TwmWindow *twm_win)
Unfocus a window.
void OtpFocusWindow(TwmWindow *twm_win)
Focus a window.
bool OtpIsFocusDependent(TwmWindow *twm_win)
void OtpRaise(TwmWindow *twm_win, WinType wintype)
Info and control for every X Window we take over.
void SetupWindow(TwmWindow *tmp_win, int x, int y, int w, int h, int bw)
void PaintBorders(TwmWindow *tmp_win, bool focus)
void UnmapTransients(TwmWindow *tmp_win, bool iconify, long eventMask)
void ReMapTransients(TwmWindow *tmp_win)
void Squeeze(TwmWindow *tmp_win)
void SetFocusVisualAttributes(TwmWindow *tmp_win, bool focus)
void SetFocus(TwmWindow *tmp_win, Time tim)
void MoveOutline(Window root, int x, int y, int width, int height, int bw, int th)
void AutoSqueeze(TwmWindow *tmp_win)
int restore_mask(Window w, long restore)
long mask_out_event(Window w, long ignore_event)