CTWM
Loading...
Searching...
No Matches
/usr/src/RPM/BUILD/ctwm-4.1.0/events.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef void(* event_proc) (void)

Functions

void InitEvents (void)
bool DispatchEvent (void)
bool DispatchEvent2 (void)
void HandleEvents (void) __attribute__((noreturn))
void AutoRaiseWindow (TwmWindow *tmp)
void FixRootEvent (XEvent *e)
void SimulateMapRequest (Window w)

Variables

event_proc EventHandler []
Window DragWindow
int origDragX
int origDragY
int DragX
int DragY
unsigned int DragWidth
unsigned int DragHeight
unsigned int DragBW
int CurrentDragX
int CurrentDragY
int Context
int ButtonPressed
bool Cancel
XEvent Event
Time EventTime

Typedef Documentation

◆ event_proc

typedef void(* event_proc) (void)

Definition at line 21 of file events.h.

Function Documentation

◆ AutoRaiseWindow()

void AutoRaiseWindow ( TwmWindow * tmp)

◆ DispatchEvent()

◆ DispatchEvent2()

◆ FixRootEvent()

void FixRootEvent ( XEvent * e)

◆ HandleEvents()

◆ InitEvents()

◆ SimulateMapRequest()

void SimulateMapRequest ( Window w)

Definition at line 298 of file event_utils.c.

References Event, and HandleMapRequest().

Referenced by AdoptWindow(), and ctwm_main().

Variable Documentation

◆ ButtonPressed

◆ Cancel

bool Cancel
extern

◆ Context

◆ CurrentDragX

int CurrentDragX
extern

Definition at line 76 of file event_core.c.

Referenced by HandleButtonPress(), HandleButtonRelease(), and movewindow().

◆ CurrentDragY

int CurrentDragY
extern

Definition at line 77 of file event_core.c.

Referenced by HandleButtonPress(), HandleButtonRelease(), and movewindow().

◆ DragBW

unsigned int DragBW
extern

Definition at line 75 of file event_core.c.

Referenced by f_movetitlebar_impl(), HandleButtonRelease(), and movewindow().

◆ DragHeight

unsigned int DragHeight
extern

◆ DragWidth

unsigned int DragWidth
extern

◆ DragWindow

Window DragWindow
extern

◆ DragX

int DragX
extern

Definition at line 71 of file event_core.c.

Referenced by f_movetitlebar_impl(), HandleButtonRelease(), and movewindow().

◆ DragY

int DragY
extern

Definition at line 72 of file event_core.c.

Referenced by f_movetitlebar_impl(), HandleButtonRelease(), and movewindow().

◆ Event

◆ EventHandler

◆ EventTime

◆ origDragX

int origDragX
extern

Definition at line 69 of file event_core.c.

Referenced by f_movetitlebar_impl(), HandleButtonPress(), movewindow(), and resizeFromCenter().

◆ origDragY

int origDragY
extern

Definition at line 70 of file event_core.c.

Referenced by f_movetitlebar_impl(), HandleButtonPress(), movewindow(), and resizeFromCenter().