CTWM
Loading...
Searching...
No Matches
Typedefs | Functions | Variables
/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()

bool DispatchEvent ( void )

◆ DispatchEvent2()

bool DispatchEvent2 ( void )

◆ FixRootEvent()

void FixRootEvent ( XEvent * e)

Definition at line 171 of file event_utils.c.

References PlaceX, and Scr.

Referenced by AddWindow(), DispatchEvent(), DispatchEvent2(), f_movetitlebar_impl(), HandleMotionNotify(), and movewindow().

◆ HandleEvents()

void HandleEvents ( void )

◆ InitEvents()

void InitEvents ( void )

◆ 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

int ButtonPressed
extern

◆ Cancel

bool Cancel
extern

◆ Context

int Context
extern

◆ 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

XEvent Event
extern

◆ EventHandler

event_proc EventHandler[]
extern

◆ EventTime

Time EventTime
extern

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