2add217690
Spotted this in debug log: [xwm-wm-x11] XWM: configure window 4194324: x=32 y=32 width=1920 height=1080 border_width=0 stack_mode=0 [xwm-wm-x11] XWM: configure window 0: width=1984 height=1144 Trying to configure window 0 makes no sense. So do not try. To avoid patching two different places with the same thing, refactor the code into a common helper. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>