(x_non_menubar_window_to_frame, x_menubar_window_to_frame)
(x_top_window_to_frame): Return 0 if wdesc is None.
+2004-08-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * xfns.c (x_window_to_frame, x_any_window_to_frame)
+ (x_non_menubar_window_to_frame, x_menubar_window_to_frame)
+ (x_top_window_to_frame): Return 0 if wdesc is None.
+
2004-08-22 Richard M. Stallman <rms@gnu.org>
* process.c (process_send_signal) [SIGNALS_VIA_CHARACTERS,
Lisp_Object tail, frame;
struct frame *f;
+ if (wdesc == None) return 0;
+
for (tail = Vframe_list; GC_CONSP (tail); tail = XCDR (tail))
{
frame = XCAR (tail);
struct frame *f, *found;
struct x_output *x;
+ if (wdesc == None) return NULL;
+
found = NULL;
for (tail = Vframe_list; GC_CONSP (tail) && !found; tail = XCDR (tail))
{
struct frame *f;
struct x_output *x;
+ if (wdesc == None) return 0;
+
for (tail = Vframe_list; GC_CONSP (tail); tail = XCDR (tail))
{
frame = XCAR (tail);
struct frame *f;
struct x_output *x;
+ if (wdesc == None) return 0;
+
for (tail = Vframe_list; GC_CONSP (tail); tail = XCDR (tail))
{
frame = XCAR (tail);
struct frame *f;
struct x_output *x;
+ if (wdesc == None) return 0;
+
for (tail = Vframe_list; GC_CONSP (tail); tail = XCDR (tail))
{
frame = XCAR (tail);