x11: Inline condition to avoid potential extra call
Even if Xcb::WindowGeometry::rect() is not free from side-effects, the windowGeometry is not used subsequently anywhere, so it should be alright.
Even if Xcb::WindowGeometry::rect() is not free from side-effects, the windowGeometry is not used subsequently anywhere, so it should be alright.