all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Dani Moncayo <dmoncayo@gmail.com>
Cc: 7013@debbugs.gnu.org
Subject: bug#7013: 23.2; Emacs frame hangs when setting fullscreen parameter to the same	current value
Date: Sun, 12 Sep 2010 15:30:25 +0200	[thread overview]
Message-ID: <4C8CD5F1.7020506@swipnet.se> (raw)
In-Reply-To: <AANLkTinP=KbTY2DJd6m4-7cg5QsiBSmYObkb=X5Q3C=t@mail.gmail.com>



Dani Moncayo skrev 2010-09-11 18.37:
> Hi there,
>
> My Emacs frame hangs after doing the following:
> 1.- Start emacs with "emacs -Q"
> 2.- Evaluate the Elisp sentence "(set-frame-parameter nil 'fullscreen
> 'maximized)". (this first time the frame gets maximized, OK).
> 3.- Repeat step (2). -->  Now my emacs frame hangs! (C-x C-c still works)
>
> Repeating the maximize sentence didn't have too much sense at that
> point, because the frame was already maximized, but hanging is not
> like the best behaviour anyway.
>
> That same hanging occurs using other values for 'fullscreen (fullboth,
> fullwith, fullheight).
>
> That's all. Thank you.

This is really a bug in Gtk+ and/or your window manager.  Sending many client 
messages to change the state seems to throw them off somehow.  For example, 
the Lucid build has no problems. Sometimes you can make the window responsive 
again by iconifying it an restoring it.  Also, if you have several frames, you 
can switch to another frame and that frame works as normal.  Some events are 
not getting through to the maximized frame, because Gtk+ or the window manager 
is waiting for something.

That said, I made a change so we don't do anything if the requested state is 
the same as the current.  Also, I reduced the number of client messages.

This is in the emacs-23 branch.  It will propagate to the trunk.

	Jan D.





      reply	other threads:[~2010-09-12 13:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-11 16:37 bug#7013: 23.2; Emacs frame hangs when setting fullscreen parameter to the same current value Dani Moncayo
2010-09-12 13:30 ` Jan Djärv [this message]

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

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

  git send-email \
    --in-reply-to=4C8CD5F1.7020506@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=7013@debbugs.gnu.org \
    --cc=dmoncayo@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.