Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
6e179896
Commit
6e179896
authored
Oct 28, 2003
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Oct 28, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move event_names[] into EVENT_ProcessEvent().
parent
143f0753
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
14 deletions
+12
-14
wineclipsrv.c
dlls/x11drv/wineclipsrv.c
+12
-14
No files found.
dlls/x11drv/wineclipsrv.c
View file @
6e179896
...
...
@@ -174,20 +174,6 @@ static PCACHEENTRY g_pClipboardCache = NULL; /* Clipboard selection cache */
static
unsigned
long
g_cPrimaryTargets
=
0
;
/* Number of TARGETS reported by PRIMARY selection */
static
unsigned
long
g_cClipboardTargets
=
0
;
/* Number of TARGETS reported by CLIPBOARD selection */
/* Event names */
static
const
char
*
const
event_names
[]
=
{
""
,
""
,
"KeyPress"
,
"KeyRelease"
,
"ButtonPress"
,
"ButtonRelease"
,
"MotionNotify"
,
"EnterNotify"
,
"LeaveNotify"
,
"FocusIn"
,
"FocusOut"
,
"KeymapNotify"
,
"Expose"
,
"GraphicsExpose"
,
"NoExpose"
,
"VisibilityNotify"
,
"CreateNotify"
,
"DestroyNotify"
,
"UnmapNotify"
,
"MapNotify"
,
"MapRequest"
,
"ReparentNotify"
,
"ConfigureNotify"
,
"ConfigureRequest"
,
"GravityNotify"
,
"ResizeRequest"
,
"CirculateNotify"
,
"CirculateRequest"
,
"PropertyNotify"
,
"SelectionClear"
,
"SelectionRequest"
,
"SelectionNotify"
,
"ColormapNotify"
,
"ClientMessage"
,
"MappingNotify"
};
/*
* Prototypes
*/
...
...
@@ -805,6 +791,18 @@ void EmptyCache(PCACHEENTRY pCache, int nItems)
void
EVENT_ProcessEvent
(
XEvent
*
event
)
{
/*
static const char * const event_names[] =
{
"", "", "KeyPress", "KeyRelease", "ButtonPress", "ButtonRelease",
"MotionNotify", "EnterNotify", "LeaveNotify", "FocusIn", "FocusOut",
"KeymapNotify", "Expose", "GraphicsExpose", "NoExpose", "VisibilityNotify",
"CreateNotify", "DestroyNotify", "UnmapNotify", "MapNotify", "MapRequest",
"ReparentNotify", "ConfigureNotify", "ConfigureRequest", "GravityNotify",
"ResizeRequest", "CirculateNotify", "CirculateRequest", "PropertyNotify",
"SelectionClear", "SelectionRequest", "SelectionNotify", "ColormapNotify",
"ClientMessage", "MappingNotify"
};
TRACE(" event %s for Window %08lx\n", event_names[event->type], event->xany.window );
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment