fix: multimon: always spawn client on first monitor if specified with -m 0
authorHiltjo Posthuma <hiltjo@codemadness.org>
Sat, 7 Nov 2015 11:43:00 +0000 (12:43 +0100)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Sat, 7 Nov 2015 11:43:00 +0000 (12:43 +0100)
commitda0b9eb6c98288e7f9455352a78ba30d4b8b17f5
tree23355a0001fedcd23b29c5187f095ad167b270cf
parent44b242c76359e21b97418675f253d45feb7c04e0
fix: multimon: always spawn client on first monitor if specified with -m 0

This was always broken.

Reproduce:
focus client on second monitor, spawn dmenu with -m 0.

Result:
Old wrong behaviour: dmenu spawns on second monitor (focused client).
Now: dmenu spawns on specified monitor (first).
dmenu.c