Skip to content

Commit ad4841e

Browse files
committed
Make sure the notes are visible before calling present_with_time()
If they aren't present_with_time() only shows them, but never raises them to the top or focuses them. This fixes the issue where the tray would need to be clicked twice to hide the notes. This is the proper fix for 572c0be
1 parent 4bf66d6 commit ad4841e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

usr/lib/sticky/sticky.py

+1
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ def on_title_click(self, w, event):
294294
return Gdk.EVENT_PROPAGATE
295295

296296
def restore(self, time=0):
297+
self.show()
297298
self.present_with_time(Gtk.get_current_event_time())
298299
self.move(self.x, self.y)
299300

0 commit comments

Comments
 (0)