282 |
Lisp_Object tail, frame; |
Lisp_Object tail, frame; |
283 |
struct frame *f; |
struct frame *f; |
284 |
|
|
285 |
|
if (wdesc == None) return 0; |
286 |
|
|
287 |
for (tail = Vframe_list; GC_CONSP (tail); tail = XCDR (tail)) |
for (tail = Vframe_list; GC_CONSP (tail); tail = XCDR (tail)) |
288 |
{ |
{ |
289 |
frame = XCAR (tail); |
frame = XCAR (tail); |
333 |
struct frame *f, *found; |
struct frame *f, *found; |
334 |
struct x_output *x; |
struct x_output *x; |
335 |
|
|
336 |
|
if (wdesc == None) return NULL; |
337 |
|
|
338 |
found = NULL; |
found = NULL; |
339 |
for (tail = Vframe_list; GC_CONSP (tail) && !found; tail = XCDR (tail)) |
for (tail = Vframe_list; GC_CONSP (tail) && !found; tail = XCDR (tail)) |
340 |
{ |
{ |
389 |
struct frame *f; |
struct frame *f; |
390 |
struct x_output *x; |
struct x_output *x; |
391 |
|
|
392 |
|
if (wdesc == None) return 0; |
393 |
|
|
394 |
for (tail = Vframe_list; GC_CONSP (tail); tail = XCDR (tail)) |
for (tail = Vframe_list; GC_CONSP (tail); tail = XCDR (tail)) |
395 |
{ |
{ |
396 |
frame = XCAR (tail); |
frame = XCAR (tail); |
437 |
struct frame *f; |
struct frame *f; |
438 |
struct x_output *x; |
struct x_output *x; |
439 |
|
|
440 |
|
if (wdesc == None) return 0; |
441 |
|
|
442 |
for (tail = Vframe_list; GC_CONSP (tail); tail = XCDR (tail)) |
for (tail = Vframe_list; GC_CONSP (tail); tail = XCDR (tail)) |
443 |
{ |
{ |
444 |
frame = XCAR (tail); |
frame = XCAR (tail); |
484 |
struct frame *f; |
struct frame *f; |
485 |
struct x_output *x; |
struct x_output *x; |
486 |
|
|
487 |
|
if (wdesc == None) return 0; |
488 |
|
|
489 |
for (tail = Vframe_list; GC_CONSP (tail); tail = XCDR (tail)) |
for (tail = Vframe_list; GC_CONSP (tail); tail = XCDR (tail)) |
490 |
{ |
{ |
491 |
frame = XCAR (tail); |
frame = XCAR (tail); |
1641 |
} |
} |
1642 |
#ifdef USE_GTK |
#ifdef USE_GTK |
1643 |
gtk_window_set_title (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), |
gtk_window_set_title (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), |
1644 |
SDATA (name)); |
SDATA (ENCODE_UTF_8 (name))); |
1645 |
#else /* not USE_GTK */ |
#else /* not USE_GTK */ |
1646 |
XSetWMName (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), &text); |
XSetWMName (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), &text); |
1647 |
#endif /* not USE_GTK */ |
#endif /* not USE_GTK */ |
1749 |
|
|
1750 |
#ifdef USE_GTK |
#ifdef USE_GTK |
1751 |
gtk_window_set_title (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), |
gtk_window_set_title (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), |
1752 |
SDATA (name)); |
SDATA (ENCODE_UTF_8 (name))); |
1753 |
#else /* not USE_GTK */ |
#else /* not USE_GTK */ |
1754 |
XSetWMName (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), &text); |
XSetWMName (FRAME_X_DISPLAY (f), FRAME_OUTER_WINDOW (f), &text); |
1755 |
#endif /* not USE_GTK */ |
#endif /* not USE_GTK */ |