summaryrefslogtreecommitdiff
path: root/openbox/client.h
diff options
context:
space:
mode:
authorMikael Magnusson <mikachu@comhem.se>2005-08-11 13:23:59 +0000
committerMikael Magnusson <mikachu@comhem.se>2005-08-11 13:23:59 +0000
commit829e746b4defb3776050c438fa4fa87e5242eb25 (patch)
tree0e93b620ee16158900e31547a2e7d79a8f4e5caf /openbox/client.h
parent3b83230aafd70dafc97fe1a148873a948044ed9c (diff)
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)
Diffstat (limited to 'openbox/client.h')
-rw-r--r--openbox/client.h6
1 files changed, 4 insertions, 2 deletions
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;