xwem-devel
[Top] [All Lists]

fullscreen problem / question

From: Richard Klinda <ignotus@xxxxxxxxxxx>
Subject: fullscreen problem / question
Date: Sat, 12 Feb 2005 12:49:19 +0100
Organization: HELLO, everybody, I'm a HUMAN!!
Sender: ignotus@xxxxxxxxxxx
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, linux)
Lg wrote me the following code snippet:

,----
| (defvar ign-borders-alist '((generic . 2)
|                             (fullscreen . 0)))
| 
| (defun ign-set-border-width (cl)
|   "Set CL's border width to one in `ign-borders-alist'."
|   (let ((bw (cdr (assq (xwem-cl-manage-type cl)
|                        ign-borders-alist))))
|     (when bw
|       (xwem-client-set-property cl
|                                 'x-border-width bw))))
| 
| (add-hook 'xwem-cl-activate-hook
|           'ign-set-border-width)
`----

That way fullscreen programs (like MPlayer) don't have border, but it
doesn't work now (xwem-version =>
"dev@xxxxxxxxxxxxxxxx/xwem--dev--2.1--patch-10"), what may be the
problem?

Other question, I would like to have a function that makes the current
client fullscreen, how can I do that?  Or better, I would like to make
the current frame fullscreen (it overlaps the dockapp/ XWEM-minibuffer
areas, and titlebar would be hidden).  Is there functionality for this?

-- 
Richard Klinda  \/
                /\  Show me your init.el and I'll you tell who you are.

<Prev in Thread] Current Thread [Next in Thread>