|
CTWM
|
#include "ctwm.h"#include <stdio.h>#include "events.h"#include "functions.h"#include "functions_defs.h"#include "functions_deferral.h"#include "functions_internal.h"#include "screen.h"#include "functions_dispatch_execution.h"Go to the source code of this file.
Functions | |
| static void | f_nop_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| static void | f_separator_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| static void | f_title_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| static void | f_deltastop_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| static void | f_function_impl (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| static bool | EF_main (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| static bool | DeferExecution (int context, int func, Cursor cursor) |
| static bool | should_defer (int func) |
| static Cursor | defer_cursor (int func) |
| static Cursor | NeedToDefer (MenuRoot *root) |
| void | ExecuteFunction (int func, void *action, Window w, TwmWindow *tmp_win, XEvent *eventp, int context, bool pulldown) |
| void | ReGrab (void) |
Variables | |
| int | RootFunction = 0 |
| bool | WindowMoved = false |
| bool | func_reset_cursor |
| Time | last_time = 0 |
| static Cursor | LastCursor |
|
static |
Definition at line 427 of file functions.c.
References Scr.
Referenced by EF_main(), and NeedToDefer().
|
static |
Definition at line 367 of file functions.c.
References C_ALTERNATE, C_ROOT, dpy, LastCursor, RootFunction, and Scr.
Referenced by EF_main().
|
static |
Definition at line 115 of file functions.c.
References MenuItem::action, ButtonPressed, Cancel, defer_cursor(), DeferExecution(), dpy, EF_ARGS, EF_FULLPROTO, EF_main(), FindMenuRoot(), MenuRoot::first, MenuItem::func, func_reset_cursor, NeedToDefer(), MenuItem::next, ProgramName, RootFunction, Scr, should_defer(), and WindowMoved.
Referenced by EF_main(), and ExecuteFunction().
| void ExecuteFunction | ( | int | func, |
| void * | action, | ||
| Window | w, | ||
| TwmWindow * | tmp_win, | ||
| XEvent * | eventp, | ||
| int | context, | ||
| bool | pulldown ) |
Definition at line 99 of file functions.c.
References EF_ARGS, EF_FULLPROTO, and EF_main().
Referenced by DeIconify(), EwmhClientMessage_NET_CLOSE_WINDOW(), EwmhClientMessage_NET_WM_MOVERESIZE(), f_menu_impl(), f_popup_impl(), GotoWorkSpace(), HandleButtonPress(), HandleButtonRelease(), HandleClientMessage(), HandleKeyPress(), and Iconify().
|
static |
Definition at line 516 of file functions.c.
|
static |
Definition at line 522 of file functions.c.
|
static |
Definition at line 496 of file functions.c.
|
static |
Definition at line 502 of file functions.c.
|
static |
Definition at line 508 of file functions.c.
|
static |
Definition at line 466 of file functions.c.
References defer_cursor(), MenuItem::func, MenuItem::next, root, Scr, and should_defer().
Referenced by EF_main().
| void ReGrab | ( | void | ) |
Definition at line 345 of file functions.c.
References dpy, LastCursor, and Scr.
Referenced by AddWindow().
|
static |
Definition at line 413 of file functions.c.
Referenced by EF_main(), and NeedToDefer().
| bool func_reset_cursor |
Definition at line 65 of file functions.c.
Referenced by EF_main(), f_altcontext_impl(), f_altkeymap_impl(), f_resize_impl(), and movewindow().
| Time last_time = 0 |
Definition at line 71 of file functions.c.
Referenced by f_raiseorsqueeze_impl(), and movewindow().
|
static |
Definition at line 342 of file functions.c.
Referenced by DeferExecution(), and ReGrab().
| int RootFunction = 0 |
Definition at line 45 of file functions.c.
Referenced by AddWindow(), DeferExecution(), EF_main(), HandleButtonPress(), HandleButtonRelease(), and HandleEnterNotify().
| bool WindowMoved = false |
Definition at line 52 of file functions.c.
Referenced by EF_main(), f_movetitlebar_impl(), f_raiselower_impl(), HandleEvents(), HandleMotionNotify(), and movewindow().