From 829e746b4defb3776050c438fa4fa87e5242eb25 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Thu, 11 Aug 2005 13:23:59 +0000 Subject: fix programs showing their child windows outside the screen, but retain the possibility to put windows slightly offscreen with the -geometry argument (which is why i broke it in the first place) --- openbox/client.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'openbox/client.h') diff --git a/openbox/client.h b/openbox/client.h index 10402914..22a7dd20 100644 --- a/openbox/client.h +++ b/openbox/client.h @@ -201,9 +201,11 @@ struct _ObClient /*! True if the client supports the delete_window protocol */ gboolean delete_window; - /*! Was the window's position requested by the application? if not, we + /*! Was the window's position requested by the application or the user? + if by the application, we force it completely onscreen, if by the user + we only force it if it tries to go completely offscreen, if neither, we should place the window ourselves when it first appears */ - gboolean positioned; + guint positioned; /*! Can the window receive input focus? */ gboolean can_focus; -- cgit v1.2.3