Mon Feb 28 19:39:46 GMT 2000

(gilbertt)

64-bit fixes from Bob Arendt <rdarendt@cwcom.net>


SVN revision: 2148
This commit is contained in:
Tom Gilbert 2000-02-28 19:42:31 +00:00
parent 76819eba39
commit 67ef2443ff
4 changed files with 18 additions and 8 deletions

View File

@ -4319,3 +4319,11 @@ list options into one winop: "Skip Window Lists", and one remember option.
The actions are still defined to do stuff individually, but users have no
need of that sort of granularity. Much nicer now :)
-------------------------------------------------------------------------------
Mon Feb 28 19:39:46 GMT 2000
(gilbertt)
64-bit fixes from Bob Arendt <rdarendt@cwcom.net>

View File

@ -1181,11 +1181,11 @@ doMoveEnd(void *params)
if (gwins[i]->floating)
MoveEwinToDesktopAt(gwins[i], d,
gwins[i]->x - (desks.desk[d].x -
desks.
desk[gwins[i]->desktop].x),
desks.desk[gwins[i]->
desktop].x),
gwins[i]->y - (desks.desk[d].y -
desks.
desk[gwins[i]->desktop].y));
desks.desk[gwins[i]->
desktop].y));
else
MoveEwinToDesktopAt(gwins[i], d, gwins[i]->x, gwins[i]->y);
gwins[i]->floating = 0;
@ -2934,7 +2934,7 @@ doFocusPrev(void *params)
int
doFocusSet(void *params)
{
Window win;
Window win = 0;
EWin *ewin;
EDBUG(6, "doFocusSet");

View File

@ -62,6 +62,7 @@ CommsFindCommsWindow()
&ar, &format, &num, &after, &s);
if (s)
{
comms_win = 0;
sscanf((char *)s, "%*s %x", (unsigned int *)&comms_win);
XFree(s);
}
@ -235,7 +236,7 @@ CommsGet(Client ** c, XEvent * ev)
{
char s[13], s2[9], *msg, st[32];
int i;
Window win;
Window win = 0;
Client *cl;
Atom a = 0;
@ -446,6 +447,7 @@ HandleComms(XEvent * ev)
else if (!strcmp(w, "pixmap"))
{
word(s, 3, w);
c->pmap = 0;
sscanf(w, "%x", (int *)&c->pmap);
}
else
@ -1227,7 +1229,7 @@ HandleComms(XEvent * ev)
}
else if (!strcmp(w, "draw_bg_to"))
{
Window win;
Window win = 0;
Background *bg;
sscanf(s, "%*s %x %1000s", (unsigned int *)&win, w);

View File

@ -570,7 +570,7 @@ IPC_Remember(char *params, Client * c)
if (params)
{
Window win;
Window win = 0;
EWin *ewin;
sscanf(params, "%8x", (int *)&win);