>>>>> Regarding 'Re: x-border-width => 0 for XEmacs frames'; Zajcev Evgeny adds:
> Richard Klinda <ignotus@xxxxxxxxxxx> writes: [..]
>> Another thing, may be a bug:
>> - start playing a movie with MPlayer;
>> - set the border to 0;
>> (xwem-client-set-property (xwem-cl-selected) 'x-border-width 0)
>> - no switch MPlayer to fullscreen mode 'f', then switch back to
>> windowed mode ('f' again);
>> - now the MPlayer window has a border again.
> Hmm, actually this looks like your local configuration. To find
> this out, just report this behaviour as bug :)
Hehe, you are right of course! I had this snippet in my xwemrc:
,----
| (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-manage-hook
| 'ign-set-border-width)
`----
Now I modified it so it works ok!
--
Richard Klinda \/
/\ Show me your init.el and I'll you tell who you are.
|