Wed Oct 6 20:31:02 PDT 1999
(Raster) need to add nop ipc call - need it for syncing purposes. SVN revision: 696
This commit is contained in:
parent
0d6c65dad0
commit
5c7512fcd7
|
@ -3164,3 +3164,10 @@ Wed Oct 6 17:38:58 PDT 1999
|
||||||
(Raster)
|
(Raster)
|
||||||
|
|
||||||
turn off draw queue for ipc imageclass draws...
|
turn off draw queue for ipc imageclass draws...
|
||||||
|
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Wed Oct 6 20:31:02 PDT 1999
|
||||||
|
(Raster)
|
||||||
|
|
||||||
|
need to add nop ipc call - need it for syncing purposes.
|
||||||
|
|
20
src/ipc.c
20
src/ipc.c
|
@ -79,6 +79,7 @@ void IPC_DockPosition(char *params, Client * c);
|
||||||
void IPC_KDE(char *params, Client * c);
|
void IPC_KDE(char *params, Client * c);
|
||||||
void IPC_MemDebug(char *params, Client * c);
|
void IPC_MemDebug(char *params, Client * c);
|
||||||
void IPC_Remember(char *params, Client * c);
|
void IPC_Remember(char *params, Client * c);
|
||||||
|
void IPC_Nop(char *params, Client * c);
|
||||||
|
|
||||||
/* Changes By Asmodean_ <naru@caltech.edu> / #E@Efnet
|
/* Changes By Asmodean_ <naru@caltech.edu> / #E@Efnet
|
||||||
*
|
*
|
||||||
|
@ -129,6 +130,12 @@ IPCStruct IPCArray[] =
|
||||||
"displays the current version of Enlightenment running",
|
"displays the current version of Enlightenment running",
|
||||||
NULL
|
NULL
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
IPC_Nop,
|
||||||
|
"nop",
|
||||||
|
"IPC No-operation - returns nop",
|
||||||
|
NULL
|
||||||
|
},
|
||||||
{
|
{
|
||||||
IPC_Copyright,
|
IPC_Copyright,
|
||||||
"copyright",
|
"copyright",
|
||||||
|
@ -600,6 +607,14 @@ IPCStruct IPCArray[] =
|
||||||
* - Mandrake
|
* - Mandrake
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
void
|
||||||
|
IPC_Nop(char *params, Client * c)
|
||||||
|
{
|
||||||
|
CommsSend(c, "nop");
|
||||||
|
params = NULL;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
IPC_Remember(char *params, Client * c)
|
IPC_Remember(char *params, Client * c)
|
||||||
{
|
{
|
||||||
|
@ -1332,7 +1347,7 @@ IPC_Cursor(char *params, Client * c)
|
||||||
void
|
void
|
||||||
IPC_TextClass(char *params, Client * c)
|
IPC_TextClass(char *params, Client * c)
|
||||||
{
|
{
|
||||||
|
char pq;
|
||||||
char buf[FILEPATH_LEN_MAX];
|
char buf[FILEPATH_LEN_MAX];
|
||||||
|
|
||||||
buf[0] = 0;
|
buf[0] = 0;
|
||||||
|
@ -1396,11 +1411,14 @@ IPC_TextClass(char *params, Client * c)
|
||||||
else if (!strcmp(param3, "disabled"))
|
else if (!strcmp(param3, "disabled"))
|
||||||
state = STATE_DISABLED;
|
state = STATE_DISABLED;
|
||||||
txt = atword(params, 7);
|
txt = atword(params, 7);
|
||||||
|
pq = queue_up;
|
||||||
|
queue_up = 0;
|
||||||
if (txt)
|
if (txt)
|
||||||
TextDraw(t, win, 0, 0, state, txt, x, y,
|
TextDraw(t, win, 0, 0, state, txt, x, y,
|
||||||
99999, 99999, 17, 0);
|
99999, 99999, 17, 0);
|
||||||
else
|
else
|
||||||
Esnprintf(buf, sizeof(buf), "0 0");
|
Esnprintf(buf, sizeof(buf), "0 0");
|
||||||
|
queue_up = pq;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
Esnprintf(buf, sizeof(buf), "TextClass %s not found",
|
Esnprintf(buf, sizeof(buf), "TextClass %s not found",
|
||||||
|
|
46
src/kde.c
46
src/kde.c
|
@ -98,7 +98,7 @@ KModuleList;
|
||||||
|
|
||||||
static KModuleList *KModules = NULL;
|
static KModuleList *KModules = NULL;
|
||||||
|
|
||||||
void
|
void
|
||||||
KDE_ClientMessage(Window win, Atom atom, long data, Time timestamp)
|
KDE_ClientMessage(Window win, Atom atom, long data, Time timestamp)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -121,7 +121,7 @@ KDE_ClientMessage(Window win, Atom atom, long data, Time timestamp)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
KDE_ClientTextMessage(Window win, Atom atom, char *data)
|
KDE_ClientTextMessage(Window win, Atom atom, char *data)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -143,7 +143,7 @@ KDE_ClientTextMessage(Window win, Atom atom, char *data)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
KDE_SendMessagesToModules(Atom atom, long data)
|
KDE_SendMessagesToModules(Atom atom, long data)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -162,7 +162,7 @@ KDE_SendMessagesToModules(Atom atom, long data)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
KDE_UpdateFocusedWindow(void)
|
KDE_UpdateFocusedWindow(void)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -211,7 +211,7 @@ KDE_UpdateFocusedWindow(void)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
KDE_NewWindow(EWin * ewin)
|
KDE_NewWindow(EWin * ewin)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -266,7 +266,7 @@ KDE_NewWindow(EWin * ewin)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
KDE_RemoveWindow(EWin * ewin)
|
KDE_RemoveWindow(EWin * ewin)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -296,7 +296,7 @@ KDE_RemoveWindow(EWin * ewin)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
KDE_AddModule(Window win)
|
KDE_AddModule(Window win)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -431,7 +431,7 @@ KDE_AddModule(Window win)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
KDE_RemoveModule(Window win)
|
KDE_RemoveModule(Window win)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -486,7 +486,7 @@ KDE_RemoveModule(Window win)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
KDE_Init(void)
|
KDE_Init(void)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
|
@ -607,7 +607,7 @@ KDE_Init(void)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
KDE_Shutdown(void)
|
KDE_Shutdown(void)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -677,7 +677,7 @@ KDE_Shutdown(void)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
KDE_ClientInit(Window win)
|
KDE_ClientInit(Window win)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -710,7 +710,7 @@ KDE_ClientInit(Window win)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
KDE_ClientChange(Window win, Atom a)
|
KDE_ClientChange(Window win, Atom a)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -803,7 +803,7 @@ KDE_ClientChange(Window win, Atom a)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
KDE_GetDecorationHint(Window win, long *dechints)
|
KDE_GetDecorationHint(Window win, long *dechints)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -873,7 +873,7 @@ KDE_GetDecorationHint(Window win, long *dechints)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
KDE_CheckClientHints(Window win)
|
KDE_CheckClientHints(Window win)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -896,7 +896,7 @@ KDE_CheckClientHints(Window win)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
KDE_WindowCommand(EWin * ewin, char *cmd)
|
KDE_WindowCommand(EWin * ewin, char *cmd)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -952,7 +952,7 @@ KDE_WindowCommand(EWin * ewin, char *cmd)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
KDE_Command(char *cmd, XClientMessageEvent * event)
|
KDE_Command(char *cmd, XClientMessageEvent * event)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -1031,7 +1031,7 @@ KDE_Command(char *cmd, XClientMessageEvent * event)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
KDE_ProcessClientMessage(XClientMessageEvent * event)
|
KDE_ProcessClientMessage(XClientMessageEvent * event)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -1097,7 +1097,7 @@ KDE_ProcessClientMessage(XClientMessageEvent * event)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
KDE_ModuleAssert(Window win)
|
KDE_ModuleAssert(Window win)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -1111,7 +1111,7 @@ KDE_ModuleAssert(Window win)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
KDE_PrepModuleEvent(Window win, KMessage msg)
|
KDE_PrepModuleEvent(Window win, KMessage msg)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -1160,7 +1160,7 @@ KDE_PrepModuleEvent(Window win, KMessage msg)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
KDE_SetRootArea(void)
|
KDE_SetRootArea(void)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -1179,7 +1179,7 @@ KDE_SetRootArea(void)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
KDE_SetNumDesktops(void)
|
KDE_SetNumDesktops(void)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -1215,7 +1215,7 @@ KDE_SetNumDesktops(void)
|
||||||
EDBUG_RETURN_;
|
EDBUG_RETURN_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
KDE_HintChange(Atom a)
|
KDE_HintChange(Atom a)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -1279,7 +1279,7 @@ KDE_HintChange(Atom a)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
KDE_UpdateClient(EWin * ewin)
|
KDE_UpdateClient(EWin * ewin)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue