Wayland doesn't allow to check if a window is active
Hello! I have inactive telegram window and any other active window above telegram window. Double click on telegram tray icon expected to make telegram window active and visible (as single click in macos, windows and doubleclick in xorg gnome). Actually, telegram can't check if a window is active and hides it in tray. Another double click needed to make window active and visible.