[406] in Zephyr_Bugs
enableDelete is a little broken
daemon@ATHENA.MIT.EDU (Marc Horowitz)
Tue Aug 25 21:01:15 1992
To: bugs@MIT.EDU
Cc: bug-zephyr@MIT.EDU
Reply-To: Marc Horowitz <marc@MIT.EDU>
Date: Tue, 25 Aug 92 21:00:52 EDT
From: Marc Horowitz <marc@MIT.EDU>
I accidentally put something in the wrong block, and now *transient
needs to be set for *enableDelete to work. The fix is a simple change
to X_gram.c, which I have already made.
Marc
*** /tmp/,RCSt1a22567 Tue Aug 25 20:55:59 1992
--- /afs/athena/astaff/project/zephyr/src/zwgc/X_gram.c Tue Aug 25 20:48:01 1992
***************
*** 100,108 ****
if (main_window != None) {
if (set_transient)
XSetTransientForHint(dpy,w,main_window);
- if (enable_delete)
- XSetWMProtocols(dpy,w,&XA_WM_DELETE_WINDOW,1);
}
}
void x_gram_init(dpy)
--- 100,108 ----
if (main_window != None) {
if (set_transient)
XSetTransientForHint(dpy,w,main_window);
}
+ if (enable_delete)
+ XSetWMProtocols(dpy,w,&XA_WM_DELETE_WINDOW,1);
}
void x_gram_init(dpy)