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

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)
 

Function Documentation

◆ f_autolower_impl()

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

◆ f_autoraise_impl()

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

◆ f_changepriority_impl()

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

◆ f_circledown_impl()

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

◆ f_circleup_impl()

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

◆ f_colormap_impl()

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

◆ f_deiconify_impl()

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

◆ f_delete_impl()

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

◆ f_deleteordestroy_impl()

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

◆ f_destroy_impl()

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

◆ f_focus_impl()

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(), PlaceX, Scr, and SetFocus().

◆ f_iconify_impl()

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

◆ f_lower_impl()

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(), PlaceX, WinWin, and WMapLower().

◆ f_movetitlebar_impl()

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

◆ f_popup_impl()

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(), PlaceX, Scr, and WinWin.

◆ f_priorityswitching_impl()

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

◆ f_raise_impl()

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

◆ f_raiselower_impl()

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(), PlaceX, WindowMoved, WinWin, and WMapRaiseLower().

◆ f_raiseorsqueeze_impl()

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, PlaceX, raise_handler(), and Squeeze().

◆ f_refresh_impl()

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.

References dpy, PlaceX, and Scr.

◆ f_saveyourself_impl()

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

◆ f_setpriority_impl()

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

◆ f_squeeze_impl()

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

◆ f_switchpriority_impl()

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

◆ f_tinylower_impl()

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(), PlaceX, WinWin, and WMapLower().

◆ f_tinyraise_impl()

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(), PlaceX, WinWin, and WMapRaise().

◆ f_unfocus_impl()

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

◆ f_unsqueeze_impl()

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

◆ f_winrefresh_impl()

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.

References C_ICON, dpy, PlaceX, and Scr.

◆ iconify_handler()

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

Definition at line 183 of file functions_win.c.

References DeIconify(), Iconify(), and PlaceX.

Referenced by f_deiconify_impl(), and f_iconify_impl().

◆ otp_priority_handler()

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

◆ raise_handler()

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

Definition at line 76 of file functions_win.c.

References C_ROOT, Context, IconWin, OtpRaise(), PlaceX, WinWin, and WMapRaise().

Referenced by f_raise_impl(), and f_raiseorsqueeze_impl().

◆ SendDeleteWindowMessage()

static void SendDeleteWindowMessage ( TwmWindow * tmp,
Time timestamp )
static

Definition at line 271 of file functions_win.c.

References PlaceX, and send_clientmessage().

Referenced by f_delete_impl(), and f_deleteordestroy_impl().