|
CTWM
|
#include "ctwm.h"#include <stdlib.h>#include "animate.h"#include "ctwm_shutdown.h"#include "functions.h"#include "functions_defs.h"#include "functions_internal.h"#include "icons.h"#include "otp.h"#include "screen.h"#include "util.h"#include "win_iconify.h"#include "workspace_utils.h"#include "ext/repl_str.h"Go to the source code of this file.
Functions | |
| void | f_startanimation_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_stopanimation_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_speedupanimation_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_slowdownanimation_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_menu_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_pin_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_altkeymap_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_altcontext_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_quit_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_restart_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_beep_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_trace_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_showbackground_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_raiseicons_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | f_rescuewindows_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| static void | WarpToScreen (int n, int inc) |
| void | f_warptoscreen_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| static void | Execute (const char *_s) |
| void | f_exec_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
|
static |
Definition at line 358 of file functions_misc.c.
References CLarg, dpy, GetCurrentWorkSpaceName(), replace_substr(), and Scr.
Referenced by f_exec_impl().
| void f_altcontext_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 177 of file functions_misc.c.
References AlternateContext, dpy, func_reset_cursor, and Scr.
| void f_altkeymap_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 154 of file functions_misc.c.
References Alt1Mask, AlternateKeymap, dpy, func_reset_cursor, and Scr.
| void f_beep_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 203 of file functions_misc.c.
References dpy.
| void f_exec_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 344 of file functions_misc.c.
References dpy, Execute(), PopDownMenu(), and Scr.
| void f_menu_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 63 of file functions_misc.c.
References MenuItem::action, ActiveItem, MenuRoot::defaultitem, ExecuteFunction(), MenuItem::func, GotoWorkSpaceByName(), Scr, and MenuItem::sub.
| void f_pin_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 108 of file functions_misc.c.
References ActiveMenu, dpy, MakeMenu(), MenuRoot::mapped, MRM_MAPPED, MRM_NEVER, MRM_UNMAPPED, MenuRoot::pinned, PopDownMenu(), MenuRoot::pull, MenuRoot::w, MenuRoot::width, MenuRoot::x, and MenuRoot::y.
| void f_quit_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 193 of file functions_misc.c.
References DoShutdown().
| void f_raiseicons_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 240 of file functions_misc.c.
References IconWin, OtpRaise(), and Scr.
| void f_rescuewindows_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 249 of file functions_misc.c.
References RescueWindows().
| void f_restart_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 198 of file functions_misc.c.
References DoRestart().
| void f_showbackground_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 235 of file functions_misc.c.
References Scr, and ShowBackground().
| void f_slowdownanimation_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 53 of file functions_misc.c.
References ModifyAnimationSpeed().
| void f_speedupanimation_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 48 of file functions_misc.c.
References ModifyAnimationSpeed().
| void f_startanimation_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 38 of file functions_misc.c.
References StartAnimation().
| void f_stopanimation_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 43 of file functions_misc.c.
References StopAnimation().
| void f_trace_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 208 of file functions_misc.c.
References DebugTrace().
| void f_warptoscreen_impl | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 304 of file functions_misc.c.
References PreviousScreen, Scr, WARPSCREEN_BACK, WARPSCREEN_NEXT, WARPSCREEN_PREV, and WarpToScreen().
|
static |
Definition at line 262 of file functions_misc.c.
References dpy, NumScreens, PreviousScreen, ProgramName, ScreenInfo::Root, Scr, ScreenList, x, and y.
Referenced by f_warptoscreen_impl().