summaryrefslogtreecommitdiff
path: root/src/events.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-31 22:24:22 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-31 22:24:22 -0700
commitafcad0de54ecd1a8bfaf261e4e6882985a234963 (patch)
treec3cbfe52cc80dacab9ff14c148e6a55cf1d90577 /src/events.c
parent4c2ff3f0a6bae8b369dfb74267f7fa52d511dfb2 (diff)
Make some more previously global variables into file-scoped statics
Not used from other source files, so no need to export them Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/events.c')
-rw-r--r--src/events.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/events.c b/src/events.c
index aa61bf6..b900516 100644
--- a/src/events.c
+++ b/src/events.c
@@ -76,17 +76,17 @@ in this Software without prior written authorization from The Open Group.
#define MAX_X_EVENT 256
event_proc EventHandler[MAX_X_EVENT]; /* event handler jump table */
-const char *Action;
+static const char *Action;
int Context = C_NO_CONTEXT; /* current button press context */
-TwmWindow *ButtonWindow; /* button press window structure */
-XEvent ButtonEvent; /* button press event */
+static TwmWindow *ButtonWindow; /* button press window structure */
+static XEvent ButtonEvent; /* button press event */
XEvent Event; /* the current event */
-TwmWindow *Tmp_win; /* the current twm window */
+static TwmWindow *Tmp_win; /* the current twm window */
/** Used in HandleEnterNotify to remove border highlight from a window
* that has not recieved a LeaveNotify event because of a pointer grab
*/
-TwmWindow *UnHighLight_win = NULL;
+static TwmWindow *UnHighLight_win = NULL;
Window DragWindow; /* variables used in moving windows */
int origDragX;