Honour program-specified window position in size hints when placing windows.

Makes XMMS windows appear as expected.

ok okan, oga
This commit is contained in:
stsp 2010-02-02 19:28:46 +00:00
parent e88bda0df5
commit c4a97053cd

View File

@ -627,7 +627,7 @@ client_placecalc(struct client_ctx *cc)
struct screen_ctx *sc = cc->sc;
int xslack, yslack;
if (cc->size->flags & USPosition) {
if (cc->size->flags & (USPosition|PPosition)) {
/*
* Ignore XINERAMA screens, just make sure it's somewhere
* in the virtual desktop. else it stops people putting xterms