From de2ba8f28b85422e645c94cfdf5791cce3321264 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 13 Jun 2007 16:47:53 +0000 Subject: improve the add/remove desktop actions a bunch. make the lastdesktop action not assert if you remove a desktop (i think it could have) --- openbox/client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openbox/client.c') diff --git a/openbox/client.c b/openbox/client.c index 92f7a4bb..fed902fc 100644 --- a/openbox/client.c +++ b/openbox/client.c @@ -2509,6 +2509,7 @@ gboolean client_hide(ObClient *self) frame_hide(self->frame); hide = TRUE; + ob_debug("hiding client %s\n", self->title); /* According to the ICCCM (sec 4.1.3.1) when a window is not visible, it needs to be in IconicState. This includes when it is on another @@ -2941,7 +2942,7 @@ void client_configure(ObClient *self, gint x, gint y, gint w, gint h, in this case (if force_reply is true) When user = TRUE, then the request is coming from "us", like when we - maximize a window or sometihng. In this case we are more lenient. We + maximize a window or something. In this case we are more lenient. We used to follow the same rules as above, but _Java_ Swing can't handle this. So just to appease Swing, when user = TRUE, we always send a synthetic ConfigureNotify to give the window its root coordinates. -- cgit v1.2.3