mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
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:
parent
e88bda0df5
commit
c4a97053cd
2
client.c
2
client.c
@ -627,7 +627,7 @@ client_placecalc(struct client_ctx *cc)
|
|||||||
struct screen_ctx *sc = cc->sc;
|
struct screen_ctx *sc = cc->sc;
|
||||||
int xslack, yslack;
|
int xslack, yslack;
|
||||||
|
|
||||||
if (cc->size->flags & USPosition) {
|
if (cc->size->flags & (USPosition|PPosition)) {
|
||||||
/*
|
/*
|
||||||
* Ignore XINERAMA screens, just make sure it's somewhere
|
* Ignore XINERAMA screens, just make sure it's somewhere
|
||||||
* in the virtual desktop. else it stops people putting xterms
|
* in the virtual desktop. else it stops people putting xterms
|
||||||
|
Loading…
Reference in New Issue
Block a user