|
CTWM
|
#include "ctwm.h"#include <stdlib.h>#include "colormaps.h"#include "ctwm_atoms.h"#include "events.h"#include "event_handlers.h"#include "functions.h"#include "functions_defs.h"#include "functions_internal.h"#include "icons.h"#include "occupation.h"#include "otp.h"#include "parse.h"#include "screen.h"#include "win_decorations.h"#include "win_iconify.h"#include "win_ops.h"#include "win_utils.h"#include "workspace_manager.h"Go to the source code of this file.
Functions | |
| void | f_autoraise_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_autolower_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| static void | raise_handler (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_raise_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_raiseorsqueeze_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_lower_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_raiselower_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_tinyraise_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_tinylower_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_circleup_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_circledown_impl (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) |
| void | f_deiconify_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_iconify_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_popup_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_focus_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_unfocus_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| static void | SendDeleteWindowMessage (TwmWindow *tmp, Time timestamp) |
| void | f_delete_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_destroy_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_deleteordestroy_impl (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) |
| void | f_priorityswitching_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_switchpriority_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_setpriority_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_changepriority_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_saveyourself_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_colormap_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_refresh_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_winrefresh_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_squeeze_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_unsqueeze_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_movetitlebar_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void f_autolower_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 52 of file functions_win.c.
References Scr.
| void f_autoraise_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 41 of file functions_win.c.
References Scr.
| void f_changepriority_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 430 of file functions_win.c.
References EF_ARGS, and otp_priority_handler().
| void f_circledown_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 167 of file functions_win.c.
References OtpCirculateSubwindows(), and Scr.
| void f_circleup_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 162 of file functions_win.c.
References OtpCirculateSubwindows(), and Scr.
| void f_colormap_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 455 of file functions_win.c.
References BumpWindowColormap(), COLORMAP_NEXT, and COLORMAP_PREV.
| void f_deiconify_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 194 of file functions_win.c.
References EF_ARGS, and iconify_handler().
| void f_delete_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 276 of file functions_win.c.
References ButtonPressed, DoesWmDeleteWindow, dpy, EventTime, HideIconManager(), Scr, and SendDeleteWindowMessage().
| void f_deleteordestroy_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 330 of file functions_win.c.
References ButtonPressed, DoesWmDeleteWindow, dpy, EventTime, HideIconManager(), Scr, and SendDeleteWindowMessage().
| void f_destroy_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 307 of file functions_win.c.
References ButtonPressed, dpy, and Scr.
| void f_focus_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 241 of file functions_win.c.
References FocusOnRoot(), InstallWindowColormaps(), Scr, and SetFocus().
| void f_iconify_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 198 of file functions_win.c.
References EF_ARGS, and iconify_handler().
| void f_lower_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 106 of file functions_win.c.
References IconWin, OtpLower(), WinWin, and WMapLower().
| void f_movetitlebar_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 526 of file functions_win.c.
References C_ICON, SqueezeInfo::denom, DispatchEvent2(), dpy, DragBW, DragHeight, DragWidth, DragWindow, DragX, DragY, Event, EventHandler, FixRootEvent(), HandleUnknown(), JunkChild, JunkDepth, JunkMask, JunkRoot, JunkX, JunkY, menuFromFrameOrWindowOrTitlebar, SqueezeInfo::num, origDragX, origDragY, OtpRaise(), PopDownMenu(), Scr, SetFrameShape(), WindowMoved, and WinWin.
| void f_popup_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 209 of file functions_win.c.
References C_FRAME, DeIconify(), ExecuteFunction(), OtpRaise(), Scr, and WinWin.
| void f_priorityswitching_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 418 of file functions_win.c.
References EF_ARGS, and otp_priority_handler().
| void f_raise_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 88 of file functions_win.c.
References EF_ARGS, and raise_handler().
| void f_raiselower_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 117 of file functions_win.c.
References IconWin, OtpRaiseLower(), WindowMoved, WinWin, and WMapRaiseLower().
| void f_raiseorsqueeze_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 93 of file functions_win.c.
References ConstrainedMoveTime, EF_ARGS, last_time, raise_handler(), and Squeeze().
| void f_refresh_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 469 of file functions_win.c.
| void f_saveyourself_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 445 of file functions_win.c.
References DoesWmSaveYourself, dpy, EventTime, and send_clientmessage().
| void f_setpriority_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 426 of file functions_win.c.
References EF_ARGS, and otp_priority_handler().
| void f_squeeze_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 513 of file functions_win.c.
References Squeeze().
| void f_switchpriority_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 422 of file functions_win.c.
References EF_ARGS, and otp_priority_handler().
| void f_tinylower_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 146 of file functions_win.c.
References C_ROOT, Context, IconWin, OtpTinyLower(), WinWin, and WMapLower().
| void f_tinyraise_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 134 of file functions_win.c.
References C_ROOT, Context, IconWin, OtpTinyRaise(), WinWin, and WMapRaise().
| void f_unfocus_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 255 of file functions_win.c.
References FocusOnRoot().
| void f_unsqueeze_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 518 of file functions_win.c.
References Squeeze().
| void f_winrefresh_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 489 of file functions_win.c.
|
static |
Definition at line 183 of file functions_win.c.
References DeIconify(), EF_FULLPROTO, and Iconify().
Referenced by f_deiconify_impl(), and f_iconify_impl().
|
static |
Definition at line 373 of file functions_win.c.
References EF_FULLPROTO, EWMH_STATE_ABOVE, EwmhSet_NET_WM_STATE(), IconWin, OtpChangePriority(), OtpSetPriority(), OtpStashAflagsFirstTime(), OtpSwitchPriority(), OtpToggleSwitching(), and WinWin.
Referenced by f_changepriority_impl(), f_priorityswitching_impl(), f_setpriority_impl(), and f_switchpriority_impl().
|
static |
Definition at line 76 of file functions_win.c.
References C_ROOT, Context, EF_FULLPROTO, IconWin, OtpRaise(), WinWin, and WMapRaise().
Referenced by f_raise_impl(), and f_raiseorsqueeze_impl().
|
static |
Definition at line 271 of file functions_win.c.
References send_clientmessage(), and TwmWindow::w.
Referenced by f_delete_impl(), and f_deleteordestroy_impl().