bug - use window mode correctly from gsetting