jwm-centered.diff (608B)
1 diff --git a/src/place.c b/src/place.c 2 index 74ddb3a..959f394 100644 3 --- a/src/place.c 4 +++ b/src/place.c 5 @@ -663,8 +663,8 @@ void PlaceClient(ClientNode *np, char alreadyMapped) 6 SubtractTrayBounds(&box, np->state.layer); 7 SubtractStrutBounds(&box, np); 8 9 - /* If tiled is specified, first attempt to use tiled placement. */ 10 - if(np->state.status & STAT_TILED) { 11 + /* If tiled is specified, use, unless centered is specified. */ 12 + if(np->state.status & STAT_TILED && !(np->state.status & STAT_CENTERED)) { 13 if(TileClient(&box, np)) { 14 return; 15 }