|
bugfix (#ifdef DEBUG) for short lived windows: msg#00160window-managers.sawfish
add_window() should contain: w->plist = Qnil; w->frame_style = Qnil; w->frame = 0; + w->name = rep_null_string (); w->icon_image = rep_NULL; because the 1st X call (which is _before_ XGetWMName), can cause the error_handler call: DB(("error_handler (%s)\n", rep_STR(w->name))); and 0 is not valid for rep_STR. Also, i'm not sure if an infinite cycle is avoided (when closing windows): remove_window() makes some X calls, which (if the X window is already gone), can trigger error_handler, which calls remove_window. i've added a new slot u_int status : 2; to lisp_window to avoid it. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | repeating keys problem SOLVED (bug in xfree86) ... new PROSPECT for Sawfish!: 00160, Michal Maruška |
|---|---|
| Next by Date: | Re: bugfix (#ifdef DEBUG) for short lived windows: 00160, John Harper |
| Previous by Thread: | repeating keys problem SOLVED (bug in xfree86) ... new PROSPECT for Sawfish!i: 00160, Michal Maruška |
| Next by Thread: | Re: bugfix (#ifdef DEBUG) for short lived windows: 00160, John Harper |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |