Mon Nov 15 09:07:28 PST 1999
(Raster) bounds checking fix :) thanks alan strange :) SVN revision: 1310
This commit is contained in:
parent
6f5f33c99e
commit
2304be7011
|
@ -3942,3 +3942,10 @@ Tue Nov 9 16:10:16 PST 1999
|
|||
(Raster)
|
||||
|
||||
oops typos in non EMX code.. :) missing ;
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
Mon Nov 15 09:07:28 PST 1999
|
||||
(Raster)
|
||||
|
||||
bounds checking fix :) thanks alan strange :)
|
||||
|
|
10
src/icccm.c
10
src/icccm.c
|
@ -297,8 +297,12 @@ ICCCM_Configure(EWin * ewin)
|
|||
{
|
||||
XEvent ev;
|
||||
XWindowChanges xwc;
|
||||
int d;
|
||||
|
||||
EDBUG(6, "ICCCM_Configure");
|
||||
d = ewin->desktop;
|
||||
if (d < 0)
|
||||
d = desks.current;
|
||||
if (ewin->shaded == 0)
|
||||
{
|
||||
xwc.x = ewin->border->border.left;
|
||||
|
@ -326,10 +330,8 @@ ICCCM_Configure(EWin * ewin)
|
|||
ev.xconfigure.display = disp;
|
||||
ev.xconfigure.event = ewin->client.win;
|
||||
ev.xconfigure.window = ewin->client.win;
|
||||
ev.xconfigure.x = desks.desk[ewin->desktop].x + ewin->x +
|
||||
ewin->border->border.left;
|
||||
ev.xconfigure.y = desks.desk[ewin->desktop].y + ewin->y +
|
||||
ewin->border->border.top;
|
||||
ev.xconfigure.x = desks.desk[d].x + ewin->x + ewin->border->border.left;
|
||||
ev.xconfigure.y = desks.desk[d].y + ewin->y + ewin->border->border.top;
|
||||
ev.xconfigure.width = ewin->client.w;
|
||||
ev.xconfigure.height = ewin->client.h;
|
||||
ev.xconfigure.border_width = 0;
|
||||
|
|
Loading…
Reference in New Issue