- "BADNESS !?"))), self->area.x, self->area.y);
-
- transient = place_client(self, &placex, &placey, settings);
-
- /* if the window isn't user-positioned, then make it fit inside
- the visible screen area on its monitor.
-
- the monitor is chosen by place_client! */
- if (!(self->positioned & USPosition)) {
- /* make a copy to modify */
- Rect a = *screen_area_monitor(self->desktop, client_monitor(self));
-
- /* shrink by the frame's area */
- a.width -= self->frame->size.left + self->frame->size.right;
- a.height -= self->frame->size.top + self->frame->size.bottom;
-
- /* fit the window inside the area */
- self->area.width = MIN(self->area.width, a.width);
- self->area.height = MIN(self->area.height, a.height);
-
- ob_debug("setting window size to %dx%d\n",
- self->area.width, self->area.height);
-
- /* adjust the frame to the client's new size */
- frame_adjust_area(self->frame, FALSE, TRUE, FALSE);
- frame_adjust_client_area(self->frame);
- }
+ (self->positioned == (PPosition | USPosition) ?
+ "program + user specified" :
+ "BADNESS !?")))), place.x, place.y);
+
+ ob_debug("Sized: %s @ %d %d\n",
+ (!self->sized ? "no" :
+ (self->sized == PSize ? "program specified" :
+ (self->sized == USSize ? "user specified" :
+ (self->sized == (PSize | USSize) ?
+ "program + user specified" :
+ "BADNESS !?")))), place.width, place.height);
+
+ /* splash screens are also returned as TRUE for transient,
+ and so will be forced on screen below */
+ transient = place_client(self, &place.x, &place.y, settings);