CTWM
Loading...
Searching...
No Matches
Functions
/usr/src/RPM/BUILD/ctwm-4.1.0/functions_misc.c File Reference
#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"
Include dependency graph for functions_misc.c:

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)
 

Function Documentation

◆ Execute()

static void Execute ( const char * _s)
static

Definition at line 358 of file functions_misc.c.

References CLarg, dpy, GetCurrentWorkSpaceName(), PlaceX, replace_substr(), and Scr.

Referenced by f_exec_impl().

◆ f_altcontext_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.

◆ f_altkeymap_impl()

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.

◆ f_beep_impl()

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, and PlaceX.

◆ f_exec_impl()

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.

◆ f_menu_impl()

void f_menu_impl ( int func,
void * action,
Window w,
TwmWindow * tmp_win,
XEvent * eventp,
int context,
bool pulldown )

◆ f_pin_impl()

void f_pin_impl ( int func,
void * action,
Window w,
TwmWindow * tmp_win,
XEvent * eventp,
int context,
bool pulldown )

◆ f_quit_impl()

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().

◆ f_raiseicons_impl()

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.

◆ f_rescuewindows_impl()

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().

◆ f_restart_impl()

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.

◆ f_showbackground_impl()

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().

◆ f_slowdownanimation_impl()

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().

◆ f_speedupanimation_impl()

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().

◆ f_startanimation_impl()

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().

◆ f_stopanimation_impl()

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().

◆ f_trace_impl()

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().

◆ f_warptoscreen_impl()

void f_warptoscreen_impl ( int func,
void * action,
Window w,
TwmWindow * tmp_win,
XEvent * eventp,
int context,
bool pulldown )

◆ WarpToScreen()

static void WarpToScreen ( int n,
int inc )
static

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().