- /* fit the window inside the area
- but, don't shrink oldschool fullscreen windows to fit inside the
- struts (fixes Acroread, which makes its fullscreen window
- fit the screen but it is not USSize'd or USPosition'd) */
- if ((placew > a->width || self->area.height > a->height) &&
- !(self->decorations == 0 && RECT_EQUAL(placer, *monitor)))
- {
- placew = MIN(self->area.width, a->width);
- placeh = MIN(self->area.height, a->height);
-
- ob_debug("setting window size to %dx%d\n", placew, placeh);
- }