15#include "ctwm_atoms.h"
19#include "functions_defs.h"
45 ++(
Scr->NumAutoRaises);
48 --(
Scr->NumAutoRaises);
56 ++(
Scr->NumAutoLowers);
59 --(
Scr->NumAutoLowers);
190 eventp->xbutton.y_root - 5);
220 if(
Scr->WindowFunction.func != 0) {
222 Scr->WindowFunction.item->action,
250 Scr->FocusRoot =
false;
286 || (
Scr->workSpaceMgr.occupyWindow
287 &&
tmp_win ==
Scr->workSpaceMgr.occupyWindow->twm_win)) {
298 kev.xbutton.window =
Scr->Root;
313 || (
Scr->workSpaceMgr.occupyWindow
314 &&
tmp_win ==
Scr->workSpaceMgr.occupyWindow->twm_win)) {
324 kev.xbutton.window =
Scr->Root;
340 || (
Scr->workSpaceMgr.occupyWindow
341 &&
tmp_win ==
Scr->workSpaceMgr.occupyWindow->twm_win)) {
356 kev.xbutton.window =
Scr->Root;
493 0, 0, 9999, 9999, 0,
Scr->Black,
Scr->Black);
496 0, 0, 9999, 9999, 0,
Scr->Black,
Scr->Black);
545 if(!
tmp_win->squeeze_info_copied) {
552 tmp_win->squeeze_info_copied =
true;
602 rootw =
eventp->xbutton.root;
607 if(!
Scr->NoGrabServer) {
bool InstallWindowColormaps(int type, TwmWindow *tmp)
void BumpWindowColormap(TwmWindow *tmp, int inc)
#define DoesWmDeleteWindow
#define DoesWmSaveYourself
bool DispatchEvent2(void)
event_proc EventHandler[256]
void FixRootEvent(XEvent *e)
void EwmhSet_NET_WM_STATE(TwmWindow *twm_win, int changes)
void ExecuteFunction(int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown)
void HideIconManager(void)
static void raise_handler(int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown)
static void iconify_handler(int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown)
static void otp_priority_handler(int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown)
static void SendDeleteWindowMessage(TwmWindow *tmp, Time timestamp)
void OtpChangePriority(TwmWindow *twm_win, WinType wintype, int relpriority)
void OtpTinyLower(TwmWindow *twm_win, WinType wintype)
void OtpTinyRaise(TwmWindow *twm_win, WinType wintype)
void OtpStashAflagsFirstTime(TwmWindow *twm_win)
void OtpLower(TwmWindow *twm_win, WinType wintype)
void OtpToggleSwitching(TwmWindow *twm_win, WinType wintype)
void OtpSetPriority(TwmWindow *twm_win, WinType wintype, int new_pri, int where)
void OtpCirculateSubwindows(VirtualScreen *vs, int direction)
void OtpSwitchPriority(TwmWindow *twm_win, WinType wintype)
void OtpRaise(TwmWindow *twm_win, WinType wintype)
void OtpRaiseLower(TwmWindow *twm_win, WinType wintype)
Info and control for every X Window we take over.
void SetFrameShape(TwmWindow *tmp)
void Iconify(TwmWindow *tmp_win, int def_x, int def_y)
void DeIconify(TwmWindow *tmp_win)
void Squeeze(TwmWindow *tmp_win)
void SetFocus(TwmWindow *tmp_win, Time tim)
void send_clientmessage(Window w, Atom a, Time timestamp)
void WMapLower(TwmWindow *win)
void WMapRaiseLower(TwmWindow *win)
void WMapRaise(TwmWindow *win)