Emit X11Window::{windowShown,windowHidden} only when hidden propery changes
Currently, X11Window emits Window::windowShown and Window::windowHidden signals differently than the WaylandWindow. On the other hand, at quick glance, there's no reason why it has to work like this, so let's make X11Window behave similarly to WaylandWindow. This lets us simplify code and potentially unvirtualize Window::isHiddenInternal() in the future. It also makes X11Window::internalHide and X11Window::internalKeep more reusable as it doesn't handle focus anymore.
parent
417a7f36
Please register or sign in to comment