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.
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.
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.
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(), PlaceX, 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(), PlaceX, 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, COLORMAP_PREV, and PlaceX.
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(), PlaceX, 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(), PlaceX, 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, PlaceX, 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(), PlaceX, 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(), PlaceX, 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, DispatchEvent2(), dpy, DragBW, DragHeight, DragWidth, DragWindow, DragX, DragY, Event, EventHandler, FixRootEvent(), HandleUnknown(), JunkChild, JunkDepth, JunkMask, JunkRoot, JunkX, JunkY, menuFromFrameOrWindowOrTitlebar, origDragX, origDragY, OtpRaise(), PlaceX, 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(), PlaceX, 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(), PlaceX, 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, PlaceX, 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, PlaceX, 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.
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(), PlaceX, 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(), PlaceX, 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.
|
static |
Definition at line 183 of file functions_win.c.
References DeIconify(), Iconify(), and PlaceX.
Referenced by f_deiconify_impl(), and f_iconify_impl().
|
static |
Definition at line 373 of file functions_win.c.
References EWMH_STATE_ABOVE, EwmhSet_NET_WM_STATE(), IconWin, OtpChangePriority(), OtpSetPriority(), OtpStashAflagsFirstTime(), OtpSwitchPriority(), OtpToggleSwitching(), PlaceX, 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, IconWin, OtpRaise(), PlaceX, WinWin, and WMapRaise().
Referenced by f_raise_impl(), and f_raiseorsqueeze_impl().
Definition at line 271 of file functions_win.c.
References PlaceX, and send_clientmessage().
Referenced by f_delete_impl(), and f_deleteordestroy_impl().