Mercurial > hg > xemacs-beta
comparison src/frame.c @ 460:223736d75acb r21-2-45
Import from CVS: tag r21-2-45
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:43:24 +0200 |
parents | 98528da0b7fc |
children | 9a775fb11bb7 |
comparison
equal
deleted
inserted
replaced
459:9d4fd877b885 | 460:223736d75acb |
---|---|
923 f->last_nonminibuf_window = window; | 923 f->last_nonminibuf_window = window; |
924 } | 924 } |
925 } | 925 } |
926 | 926 |
927 DEFUN ("set-frame-selected-window", Fset_frame_selected_window, 2, 2, 0, /* | 927 DEFUN ("set-frame-selected-window", Fset_frame_selected_window, 2, 2, 0, /* |
928 Set the selected window of frame object FRAME to WINDOW. | 928 Set the selected window of FRAME to WINDOW. |
929 If FRAME is nil, the selected frame is used. | 929 If FRAME is nil, the selected frame is used. |
930 If FRAME is the selected frame, this makes WINDOW the selected window. | 930 If FRAME is the selected frame, this makes WINDOW the selected window. |
931 */ | 931 */ |
932 (frame, window)) | 932 (frame, window)) |
933 { | 933 { |
1960 DEFUN ("frame-visible-p", Fframe_visible_p, 0, 1, 0, /* | 1960 DEFUN ("frame-visible-p", Fframe_visible_p, 0, 1, 0, /* |
1961 Return non NIL if FRAME is now "visible" (actually in use for display). | 1961 Return non NIL if FRAME is now "visible" (actually in use for display). |
1962 A frame that is not visible is not updated, and, if it works through a | 1962 A frame that is not visible is not updated, and, if it works through a |
1963 window system, may not show at all. | 1963 window system, may not show at all. |
1964 N.B. Under X "visible" means Mapped. It the window is mapped but not | 1964 N.B. Under X "visible" means Mapped. It the window is mapped but not |
1965 actually visible on screen then frame_visible returns 'hidden. | 1965 actually visible on screen then `frame-visible-p' returns 'hidden. |
1966 */ | 1966 */ |
1967 (frame)) | 1967 (frame)) |
1968 { | 1968 { |
1969 struct frame *f = decode_frame (frame); | 1969 struct frame *f = decode_frame (frame); |
1970 int visible = FRAMEMETH_OR_GIVEN (f, frame_visible_p, (f), f->visible); | 1970 int visible = FRAMEMETH_OR_GIVEN (f, frame_visible_p, (f), f->visible); |
1999 } | 1999 } |
2000 | 2000 |
2001 DEFUN ("visible-frame-list", Fvisible_frame_list, 0, 1, 0, /* | 2001 DEFUN ("visible-frame-list", Fvisible_frame_list, 0, 1, 0, /* |
2002 Return a list of all frames now "visible" (being updated). | 2002 Return a list of all frames now "visible" (being updated). |
2003 If DEVICE is specified only frames on that device will be returned. | 2003 If DEVICE is specified only frames on that device will be returned. |
2004 Note that under virtual window managers not all these frame are necessarily | 2004 Note that under virtual window managers not all these frames are |
2005 really updated. | 2005 necessarily really updated. |
2006 */ | 2006 */ |
2007 (device)) | 2007 (device)) |
2008 { | 2008 { |
2009 Lisp_Object devcons, concons; | 2009 Lisp_Object devcons, concons; |
2010 struct frame *f; | 2010 struct frame *f; |