[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Add function to make frame topmost?
From: |
Eli Zaretskii |
Subject: |
Re: Add function to make frame topmost? |
Date: |
Sat, 01 May 2010 08:25:57 +0300 |
> From: Lennart Borgman <address@hidden>
> Date: Fri, 30 Apr 2010 15:26:56 +0200
> Cc: Emacs-Devel devel <address@hidden>
>
> To tie this together I think something like
>
> (defun set-frame-topmost (frame top activate)
> (cond
> ((eq (display-type) 'x-windows) (x-set-frame-topmost frame top activate))
> ((eq (display-type) 'w32) (w32-set-frame-topmost frame top activate))))
>
> is needed. The function `display-type' does not exist yet of course.
I think it does, it's called window-system. In this case, you need to
call it with `frame' as its argument (to cater to platforms that
support several different frame types in the same session).
- Re: Add function to make frame topmost?,
Eli Zaretskii <=