Trivial cleanups.

SVN revision: 33151
This commit is contained in:
Kim Woelders 2007-12-15 12:36:58 +00:00
parent 43d0375074
commit d5d56aea5b
5 changed files with 9 additions and 13 deletions

View File

@ -28,7 +28,7 @@
#include "e16-ecore_list.h" #include "e16-ecore_list.h"
#include "xwin.h" #include "xwin.h"
struct _client typedef struct
{ {
char *name; char *name;
Window xwin; Window xwin;
@ -37,7 +37,9 @@ struct _client
char *version; char *version;
char *info; char *info;
char replied; char replied;
}; } Client;
static void CommsSend(Client * c, const char *s);
static Ecore_List *client_list = NULL; static Ecore_List *client_list = NULL;
@ -343,7 +345,7 @@ CommsDoSend(Window win, const char *s)
} }
} }
void static void
CommsSend(Client * c, const char *s) CommsSend(Client * c, const char *s)
{ {
if (!c) if (!c)
@ -352,6 +354,7 @@ CommsSend(Client * c, const char *s)
CommsDoSend(c->xwin, s); CommsDoSend(c->xwin, s);
} }
#if 0 /* Unused */
/* /*
* When we are running in multi-head, connect to the master wm process * When we are running in multi-head, connect to the master wm process
* and send the message * and send the message
@ -365,7 +368,6 @@ CommsSendToMasterWM(const char *s)
CommsDoSend(RootWindow(disp, Mode.wm.master_screen), s); CommsDoSend(RootWindow(disp, Mode.wm.master_screen), s);
} }
#if 0 /* Unused */
/* /*
* When we are running in multi-head, connect to the slave wm processes * When we are running in multi-head, connect to the slave wm processes
* and broadcast the message * and broadcast the message

View File

@ -24,12 +24,6 @@
#ifndef _COMMS_H_ #ifndef _COMMS_H_
#define _COMMS_H_ #define _COMMS_H_
typedef struct _client Client;
void CommsInit(void); void CommsInit(void);
void CommsSend(Client * c, const char *s);
void CommsSendToMasterWM(const char *s);
void CommsBroadcast(const char *s);
void CommsBroadcastToSlaveWMs(const char *s);
#endif /* _COMMS_H_ */ #endif /* _COMMS_H_ */

View File

@ -41,6 +41,5 @@ void SessionInit(void);
void SessionExit(int mode, const char *params); void SessionExit(int mode, const char *params);
void SessionHelper(int when); void SessionHelper(int when);
void SetSMID(const char *smid); void SetSMID(const char *smid);
void SettingsSession(void);
#endif /* _SESSION_H_ */ #endif /* _SESSION_H_ */

View File

@ -1119,7 +1119,7 @@ EQueryPointer(Win win, int *px, int *py, Window * pchild, unsigned int *pmask)
} }
void void
ESelectInputChange(Win win, long set, long clear) ESelectInputChange(Win win, unsigned long set, unsigned long clear)
{ {
XWindowAttributes xwa; XWindowAttributes xwa;

View File

@ -141,7 +141,8 @@ void EWindowSync(Win win);
void EWindowSetGeometry(Win win, int x, int y, int w, int h, void EWindowSetGeometry(Win win, int x, int y, int w, int h,
int bw); int bw);
void EWindowSetMapped(Win win, int mapped); void EWindowSetMapped(Win win, int mapped);
void ESelectInputChange(Win win, long set, long clear); void ESelectInputChange(Win win, unsigned long set,
unsigned long clear);
void EMoveWindow(Win win, int x, int y); void EMoveWindow(Win win, int x, int y);
void EResizeWindow(Win win, int w, int h); void EResizeWindow(Win win, int w, int h);