Add "Center" window placement strategy
commit9d3d34599f682867b08ae4308f5a58bf9f8f10ec
authorYuri Karaban <mlists@dev97.com>
Sun, 10 Jun 2012 15:04:59 +0000 (10 18:04 +0300)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 10 Jun 2012 17:25:47 +0000 (10 18:25 +0100)
treebe008bf464adf09a43bcfb0d7bd8f1b4eb90e251
parent1a594de74e9584e6f649c37912751c584f1a73a2
Add "Center" window placement strategy

Center strategy: try to put window at the center of the usable area. If
window would overlap with existing windows, fall back to "Auto"
placement strategy.

It's very useful for fresh workplaces.
WPrefs.app/WindowHandling.c
src/WindowMaker.h
src/defaults.c
src/placement.c