Article View: gnu.epoch.misc
Article #1519gwm hang bug fix for epoch-4.0p0
From: Paul Nakada
Date: Fri, 17 Apr 1992 17:19
Date: Fri, 17 Apr 1992 17:19
45 lines
2193 bytes
2193 bytes
Here's a fix for gwm wierdness.
Tracked down by Tom Shields (tshields@oracle.com).
what happens is that the window is given a bogus initial location
(some garbage off the stack.) Be default, no window hints are given,
so there is only this bogus value to go by. Gwm faithfully puts epoch
about three miles off my screen ;-) mwm is kind enough to "do what i
mean" and put it on my screen anyways. In any case, the existence of
a window manager should not always be assumed.
Thanks.
-Paul Nakada
pnakada@oracle.com
*** screen.c Mon Apr 13 18:55:04 1992
--- screen.c~ Mon Apr 13 18:37:39 1992
***************
*** 328,339 ****
struct Root_Block * root; /* structure to fill in */
struct Default_Set *xdbase; /* user specified values */
Lisp_Object alist;
{
unsigned int ugmask,pgmask; /* geometry parse return user/program */
! int x = 0,y = 0;
! unsigned int dx = 0,dy = 0; /* base and size */
unsigned long xcursor_color; /* X cursor color */
struct X_Screen *xs = XXSCREEN(root->x11);
struct W_Screen *ws = XWSCREEN(root->win);
Lisp_Object style,style1,style2;
struct Lisp_Style *s;
--- 328,339 ----
struct Root_Block * root; /* structure to fill in */
struct Default_Set *xdbase; /* user specified values */
Lisp_Object alist;
{
unsigned int ugmask,pgmask; /* geometry parse return user/program */
! int x,y;
! unsigned int dx,dy; /* base and size */
unsigned long xcursor_color; /* X cursor color */
struct X_Screen *xs = XXSCREEN(root->x11);
struct W_Screen *ws = XWSCREEN(root->win);
Lisp_Object style,style1,style2;
struct Lisp_Style *s;
Technical Details
Message-ID:
<9204171719.AA17225@pnakada.us.oracle.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!ucbvax!us.oracle.com!pnakadaShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc7ee,ff81a7a40ce4f0c3,start X-Google-Attributes: gidfc7ee,public X-Google-ArrivalTime: 1992-04-20 07:04:02 PST Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!ucbvax!us.oracle.com!pnakada From: pnakada@us.oracle.com (Paul Nakada) Newsgroups: gnu.epoch.misc Subject: gwm hang bug fix for epoch-4.0p0 Message-ID: <9204171719.AA17225@pnakada.us.oracle.com> Date: 17 Apr 92 17:19:44 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 45