|
From: | Jan Djärv |
Subject: | Re: 23.0.60; Odd behavior of maximized windows |
Date: | Tue, 01 Apr 2008 17:35:26 +0200 |
User-agent: | Thunderbird 2.0.0.12 (Macintosh/20080213) |
David Abrahams skrev:
Jan Djärv wrote:Jan Djärv wrote:David Abrahams skrev:on Sun Mar 30 2008, Jan Djärv <jan.h.d-AT-swipnet.se> wrote:I also run Emerald, Gnome, Compiz and alse see Emerald crashes. I don't have maximized Emacs:es. But I see that sometimes compiz maximizes windows by itself when the become "too large" (exactly what that means I don't know). Do you have other maximized windows that don't cover the entire screen after arestart?Yes.Window manager decorations is really up to the window manager, Emacs doesn't do anything about this by itself.I figured as much, but it must be doing something differently from, e.g., Thunderbird, or I wouldn't be seeing this effect.I will run some tests. I guess there is some property one should set which Emacs doesn't. Stay tuned...I have run several tests and killed Emerald manually, but my Emacs always comes back with window decorations. When Emacs is maximized, the window manager sets _NET_WM_STATE, usually to _NET_WM_STATE_MAXIMIZED_VERT, _NET_WM_STATE_MAXIMIZED_HORZ. When it is restarted it shall look at the NET_WM_STATE and restore it as it was before the crash. If WM_STATE is set to _NET_WM_STATE_FULLSCREEN however, you would see the behaviour you are seeing. Can you do % xprop | grep NET_WM_STATE and then click in the maximized Emacs window? What is the output?_NET_WM_STATE(ATOM) = _NET_WM_STATE_MAXIMIZED_VERT, _NET_WM_STATE_MAXIMIZED_HORZDo you know what version of Emerald you have?Here's the package info: Package: emerald Priority: optional Section: universe/x11 Installed-Size: 956 Maintainer: Ubuntu MOTU Developers <address@hidden> Original-Maintainer: Nicholas Thomas <address@hidden> Architecture: i386 Version: 0.3~git20070717-0ubuntu1
Hmm, Ubuntu, I'm on a Fedora system. I'll try on Ubuntu also.
If you run this with for example Metacity, do you see the same effect?I don't know how to duplicate the dying window decorator effect with Metacity, so it's hard to tell you.
I think it is enough to run metacity -replace in a shell. Jan D.
[Prev in Thread] | Current Thread | [Next in Thread] |