Hi,

The initial placement of new windows can be such that a portion of the
window is off screen.  I use SmartPlacement and MinOverlapPlacement.
Most often it is the bottom edge of the screen, but sometimes the new
window runs beyond the right edge.  GVim in particular has this problem
as do some other applications (e.g., child windows of Thunar) also have
this problem.  PlaceAgain always corrects the placement.  Most
applications do not ever have this problem.

The problem occurs in 2.4.20 and 2.5.27.

I have tried setting EWMHBaseStruts to values like 0 0 0 500, but to no
avail.  I do not see anything else in the man page that looks relevant.

I would like to be able to keep new windows fully on screen and continue
to use Smart and MinOverlap placement.  Does anyone have a solution to
this?

Here is what I think is the relevant part of my config.
EWMHBaseStruts 0 0 0 25
Style * SmartPlacement,MinOverlapPlacement
Style * MinOverlapPercentPlacement,MinOverlapPlacementPenalties 1 2 0 1 0.05

Thanks,
Duane


Reply via email to