Scripts should not rely on X11 or Wayland specific properties, but rather use common abstractions. So remove X11 window specific properties.