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.
Definition at line 358 of file functions_misc.c.
References CLarg, dpy, GetCurrentWorkSpaceName(), PlaceX, 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, PlaceX, 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, PlaceX, 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.
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(), PlaceX, 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(), PlaceX, 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, PlaceX, MenuRoot::pmenu, 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(), PlaceX, 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(), and PlaceX.
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 PlaceX, PreviousScreen, Scr, WARPSCREEN_BACK, WARPSCREEN_NEXT, WARPSCREEN_PREV, and WarpToScreen().
Definition at line 262 of file functions_misc.c.
References dpy, NumScreens, PlaceX, PreviousScreen, ProgramName, Scr, ScreenList, x, and y.
Referenced by f_warptoscreen_impl().