unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: emacs-devel@gnu.org
Subject: Re: fullscreen and gnome
Date: Thu, 14 Dec 2006 15:32:23 +0100	[thread overview]
Message-ID: <45816077.9070305@swipnet.se> (raw)
In-Reply-To: <elrj5v$b4a$1@sea.gmane.org>



Patrick Drechsler skrev:
> Jan Djärv wrote:
>> Patrick Drechsler skrev:
>>> Jan Djärv wrote:
>>>> It does not, this is all the window manager doing stuff, in fact 
>>>> Emacs just tells the window manager, "make me fullscreen" and then 
>>>> the window manager does what it like.
>>>
>>> Fair enough. Is there a proposed way of accomplishing the 
>>> semi-fullscreen effect I am after?
>>
>> Does not clicking on the window manager maximize button in the title 
>> bar do that?
> 
> Yes, of course. I thought that there might be an option which I could 
> pass to Emacs. I'll use the --geometry option instead.
> 

If it is just metacity, I think this will do what you want (at least it does 
on the version of metacity with FC5):

(progn
   (x-send-client-message nil 0 nil
			 "_NET_WM_STATE"
			 32
			 '(1 "_NET_WM_STATE_MAXIMIZED_HORZ"))
   (x-send-client-message nil 0 nil
			 "_NET_WM_STATE"
			 32
			 '(1 "_NET_WM_STATE_MAXIMIZED_VERT")))

It can be put in .emacs for example.

Note that other window managers may do something different.

	Jan D.

  reply	other threads:[~2006-12-14 14:32 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-14  0:57 fullscreen and gnome Patrick Drechsler
2006-12-14  1:30 ` Leo
2006-12-14  2:49   ` Patrick Drechsler
2006-12-14  7:12     ` Jan Djärv
2006-12-14 10:51       ` Patrick Drechsler
2006-12-14 12:52         ` Jan Djärv
2006-12-14 13:22           ` Patrick Drechsler
2006-12-14 14:32             ` Jan Djärv [this message]
2006-12-15 12:02               ` Patrick Drechsler
2006-12-15 17:19                 ` James Cloos
2006-12-15 20:45                   ` Jan Djärv
2006-12-20 19:50                     ` Patrick Drechsler
2006-12-14  4:07 ` Patrick Drechsler
2006-12-14  7:08 ` Jan Djärv
2006-12-14 10:53   ` Patrick Drechsler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45816077.9070305@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).