Skip to content

master.lmde7

Latest

Choose a tag to compare

@github-actions github-actions released this 15 Jun 14:22
b73a008
mintUpdate.py: Fix tray re-activation in Wayland.

window.get_state() & Gdk.WindowState.FOCUSED is not reliable in
Gtk3, and is not un-set when the underlying resources are destroyed
(which happens when the window is 'closed to the tray'. When the
user clicks the icon to show the window after 'closing' it, it
still thinks it's focused, and attempts to hide again.

Use window.is_active() instead, which is updated reliably (and is
what we use in Warpinator for the same purpose).