From 1617ae7c9f7259da782c0f829298490c9962ed41 Mon Sep 17 00:00:00 2001 From: stsp Date: Tue, 2 Feb 2010 19:28:46 +0000 Subject: Honour program-specified window position in size hints when placing windows. Makes XMMS windows appear as expected. ok okan, oga --- client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client.c b/client.c index 1c4bb5d..cc457e4 100644 --- a/client.c +++ b/client.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: client.c,v 1.73 2010/01/27 03:04:50 okan Exp $ + * $Id: client.c,v 1.74 2010/02/02 19:28:46 stsp Exp $ */ #include @@ -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 -- cgit v1.2.3-2-gb3c3