summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-29 12:26:41 +0000
committerDana Jansens <danakj@orodu.net>2007-05-29 12:26:41 +0000
commita4150ae3d9ed61e5360c221c4be907560ba6531a (patch)
tree8f771639796c2ea017ce004c2a00a58add4200ad
parentac72dafab4e3223fb522c0c17fd80f950d91a0c9 (diff)
add comments
-rw-r--r--openbox/client.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/openbox/client.c b/openbox/client.c
index 0701d3fa..e1c814ce 100644
--- a/openbox/client.c
+++ b/openbox/client.c
@@ -390,6 +390,8 @@ void client_manage(Window window)
"program + user specified" :
"BADNESS !?")))), placew, placeh);
+ /* splash screens are also returned as TRUE for transient,
+ and so will be forced on screen below */
transient = place_client(self, &placex, &placey, settings);
/* make sure the window is visible. */
@@ -403,7 +405,11 @@ void client_manage(Window window)
place.c or by the user are allowed partially
off-screen and on xinerama divides (ie,
it is up to the placement routines to avoid
- the xinerama divides) */
+ the xinerama divides)
+
+ splash screens get "transient" set to TRUE by
+ the place_client call
+ */
transient ||
(!(self->positioned & USPosition) &&
client_normal(self) &&
@@ -414,7 +420,11 @@ void client_manage(Window window)
the visible screen area on its monitor. Use basically the same rules
for forcing the window on screen in the client_find_onscreen call.
- do this after place_client, it chooses the monitor! */
+ do this after place_client, it chooses the monitor!
+
+ splash screens get "transient" set to TRUE by
+ the place_client call
+ */
if (transient ||
(!(self->sized & USSize) &&
client_normal(self) &&