Subject: Re: bug#9893: gtk3, emacs 24 and gnome shell

From: Jan Djärv <[email-masked]>
Date: Sun, 30 Oct 2011 18:26:49 +0100

28 okt 2011 kl. 00:42 skrev Paul Eggert:

> One more thing: the problem is not new to Emacs 24, as it
> occurs with the bundled Fedora 15 emacs ("GNU Emacs 23.2.1
> (x86_64-redhat-linux-gnu, GTK+ Version 2.24.4) of 2011-05-23
> on x86-12.phx2.fedoraproject.org").
> 
> There has been a bug report about this for Fedora since June
> <https://bugzilla.redhat.com/show_bug.cgi?id=711739>.
> 
> 

Emacs expects MapNotify to arrive when it is deiconfified.  But this doesn't seem to happen when we have iconfied us with gtk_window_iconfiy.  So we now check for _NET_WM_STATE_HIDDEN changes also.

But I don't really understand why Emacs does not process keypresses as normal when it is iconified or why Emacs even cares if it is iconfified or not.

	Jan D.