[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: trouble setting fullscreen frame parameter
From: |
Les Harris |
Subject: |
Re: trouble setting fullscreen frame parameter |
Date: |
Wed, 23 Apr 2014 10:06:20 -0700 |
User-agent: |
It's a secret to everybody |
gottlieb@nyu.edu writes:
> How should I set fullscreen?
Rather than mucking around with width/height try using fullboth. Here
is the function I use to do this. It works on at least *nix and Windows
platforms:
,----
| (when window-system
| (defun lh/toggle-fullscreen ()
| (interactive)
| (set-frame-parameter nil 'fullscreen
| (if (frame-parameter nil 'fullscreen)
| nil
| 'fullboth))))
`----
Hope it helps.
--
Do they only stand
By ignorance, is that their happy state,
The proof of their obedience and their faith?