CTWM
Toggle main menu visibility
Loading...
Searching...
No Matches
/usr/src/RPM/BUILD/ctwm-4.1.0/events.h
Go to the documentation of this file.
1
/*
2
* twm event handler include file
3
*
4
*
5
* Copyright 1988 by Evans & Sutherland Computer Corporation,
6
* Salt Lake City, Utah
7
* Portions Copyright 1989 by the Massachusetts Institute of Technology
8
* Cambridge, Massachusetts
9
*
10
* $XConsortium: events.h,v 1.14 91/05/10 17:53:58 dave Exp $
11
*
12
* 17-Nov-87 Thomas E. LaStrange File created
13
*
14
* Copyright 1992 Claude Lecommandeur.
15
*
16
*/
17
18
#ifndef _CTWM_EVENTS_H
19
#define _CTWM_EVENTS_H
20
21
typedef
void (*
event_proc
)(void);
22
23
void
InitEvents
(
void
);
24
bool
DispatchEvent
(
void
);
25
bool
DispatchEvent2
(
void
);
26
void
HandleEvents
(
void
)
__attribute__
((noreturn));
27
28
/* Bits in event_utils.c */
29
/*
30
* This should maybe be in event_internal.h, but a few other places use
31
* it. TBD: figure out why and whether they should
32
*/
33
void
AutoRaiseWindow
(
TwmWindow
*tmp);
34
35
void
FixRootEvent
(XEvent *e);
36
void
SimulateMapRequest
(Window w);
37
38
39
extern
event_proc
EventHandler
[];
40
extern
Window
DragWindow
;
41
extern
int
origDragX
;
42
extern
int
origDragY
;
43
extern
int
DragX
;
44
extern
int
DragY
;
45
extern
unsigned
int
DragWidth
;
46
extern
unsigned
int
DragHeight
;
47
extern
unsigned
int
DragBW
;
48
extern
int
CurrentDragX
;
49
extern
int
CurrentDragY
;
50
extern
int
Context
;
51
52
extern
int
ButtonPressed
;
53
extern
bool
Cancel
;
54
55
extern
XEvent
Event
;
56
extern
Time
EventTime
;
57
58
#endif
/* _CTWM_EVENTS_H */
__attribute__
#define __attribute__(x)
Definition
ctwm.h:50
DragBW
unsigned int DragBW
Definition
event_core.c:75
CurrentDragY
int CurrentDragY
Definition
event_core.c:77
InitEvents
void InitEvents(void)
Definition
event_core.c:103
EventTime
Time EventTime
Definition
event_core.c:79
CurrentDragX
int CurrentDragX
Definition
event_core.c:76
Cancel
bool Cancel
Definition
event_core.c:94
origDragX
int origDragX
Definition
event_core.c:69
DragWidth
unsigned int DragWidth
Definition
event_core.c:73
DragHeight
unsigned int DragHeight
Definition
event_core.c:74
origDragY
int origDragY
Definition
event_core.c:70
HandleEvents
void HandleEvents(void)
Definition
event_core.c:175
DragY
int DragY
Definition
event_core.c:72
DispatchEvent
bool DispatchEvent(void)
Definition
event_core.c:305
DispatchEvent2
bool DispatchEvent2(void)
Definition
event_core.c:343
Event
XEvent Event
Definition
event_core.c:66
EventHandler
event_proc EventHandler[256]
Definition
event_core.c:64
ButtonPressed
int ButtonPressed
Definition
event_core.c:93
DragWindow
Window DragWindow
Definition
event_core.c:68
DragX
int DragX
Definition
event_core.c:71
Context
int Context
Definition
event_core.c:65
FixRootEvent
void FixRootEvent(XEvent *e)
Definition
event_utils.c:171
SimulateMapRequest
void SimulateMapRequest(Window w)
Definition
event_utils.c:298
AutoRaiseWindow
void AutoRaiseWindow(TwmWindow *tmp)
Definition
event_utils.c:27
event_proc
void(*) event_proc(void)
Definition
events.h:21
TwmWindow
Info and control for every X Window we take over.
Definition
twm_window_struct.h:34
events.h
Generated by
1.18.0