qtile/qtile — pull request #184 by cjbarnes18 (2012-11-04 01:58:42+00:00)
Title: Debug floating

The fix for Issue #165 has broken the fakescreens test cases, I have reverted this change and I think I have found a possible root cause.

After an auto floated window is added, qtiie receives a ConfigureNotify event which sets the window centred on the screen.

The window placement seems to be calculated relative to the primary screen though, so instead of taking the coordinates verbatim, I am calculating the coordinates for a centred window on the correct screen.

I also found a typo that crashes qtile in the process.