Created attachment 1980
Smart placement bias towards center of screen patch for xfwm4 4.4.3
I was looking to include a feature I added to xfwm4 4.4.2 a little while back into the official build, although I have now added it to xfwm4 4.4.3 and have made a patch that I have attached.
I have modified /src/placement.c, /src/settings.h, /src/settings.c and /mcs-plugin/wmtweaks_plugin.c, with the significant code being within placement.c (just 5 or 6 lines of code) around line 700 of the clientInitPosition() function. Note that I have added the comment "/* yosh64, center bias code */" next to all my code so you can find it, and that you will also have to update the po language files, which as you would know can be automatically done with make.
Basically I added the ability to bias the smart placement of windows towards the center of the screen, as I really don't like windows appearing at the edges of my screen. I actually added a slider control to the Xfce Settings Manager -> Window Manager Tweaks -> Placement tab.
Anyhows I think others would appreciate this feature, and I don't like the thought of adding it to every new release of xfwm myself :\.