>From 81780e33662b533d335a16b695d147979b24f9c9 Mon Sep 17 00:00:00 2001
From: Rodolfo García Peñas (kix) <[email protected]>
Date: Wed, 25 Jan 2012 09:26:19 +0100
Subject: [PATCH 3/3] WindowMaker: ProcessPendingEvents moved to event.h

The function ProcessPendingEvents is moved to the new file event.h. Now the func
tion don't need to be extern.
---
 src/Makefile.am |    1 +
 src/event.c     |    1 +
 src/workspace.c |    2 +-
 3 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 0521d11..8946a6d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -32,6 +32,7 @@ wmaker_SOURCES =      \
        dockedapp.c \
        dock.h \
        event.c \
+       event.h \
        extend_pixmaps.h \
        framewin.c \
        framewin.h \
diff --git a/src/event.c b/src/event.c
index 1a7b4cb..f2adc14 100644
--- a/src/event.c
+++ b/src/event.c
@@ -66,6 +66,7 @@
 #include "balloon.h"
 #include "xinerama.h"
 #include "wmspec.h"
+#include "event.h"
 
 /******** Global Variables **********/
 extern XContext wWinContext;
diff --git a/src/workspace.c b/src/workspace.c
index dc53d03..b519bbc 100644
--- a/src/workspace.c
+++ b/src/workspace.c
@@ -48,6 +48,7 @@
 #include "appicon.h"
 #include "wmspec.h"
 #include "xinerama.h"
+#include "event.h"
 
 #define MAX_SHORTCUT_LENGTH 32
 #define WORKSPACE_NAME_DISPLAY_PADDING 32
@@ -55,7 +56,6 @@
 extern int ignore_wks_change;
 extern WPreferences wPreferences;
 extern XContext wVEdgeContext;
-extern void ProcessPendingEvents();
 
 static WMPropList *dWorkspaces = NULL;
 static WMPropList *dClip, *dName;
diff --git a/src/event.h b/src/event.h
new file mode 100644
index 0000000..8b82223
--- /dev/null
+++ b/src/event.h
@@ -0,0 +1 @@
+void ProcessPendingEvents(void);
-- 
1.7.2.3


--
To unsubscribe, send mail to [email protected].

Reply via email to