On Wednesday 26 November 2008 02:54:07 Stephen J. Turnbull wrote:
Looks good, as far as it goes.
I'm sorry to come back with this at this point, but since Francois
Revel has expressed interest in desktop management for BeOS, I wonder
if `on-desktop' and `current-desktop' (note, no "x-"!) shouldn't
be
implemented via frame and console methods. You should be able to call
them on anything that can be resolved to the appropriate object (eg,
frames and windows, but not buffers).
If you mean what I think you mean (access to this information should be
independent of window system), then that's already done as part of the patch.
The preferred way is via frame properties, and I assume that the XEmacs
console/device system takes care of calling the appropriate window
system-specific functions:
(frame-property nil 'current-desktop)
0
(frame-property nil 'on-desktop)
t
(frame-properties)
(name "XEmacs" height 50 width 86 minibuffer t left 532 top 39 border-width 0
internal-border-width 4 border-color "#000000000000" inter-line-space 0
current-desktop 0 on-desktop t window-id "44041766" custom-properties
; lots more snipped
(set-frame-property nil 'on-desktop 2)
nil
; not yet implemented, but could be
current-desktop is really a property of a console or device (not a frame), but
there is no analogous access to "console properties".
--
Jonathan Marten
http://www.keelhaul.demon.co.uk
Twickenham, UK jjm2(a)keelhaul.demon.co.uk
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta