Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions lib/matplotlib/backends/backend_gtk.py
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,9 @@ def destroy(self, *args):
def show(self):
# show the figure window
self.window.show()
# raise the window above others and relase the "above lock"
self.window.set_keep_above(True)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's probably useful to document with a comment that this is intended so that no one "optimises" it away

self.window.set_keep_above(False)

def full_screen_toggle(self):
self._full_screen_flag = not self._full_screen_flag
Expand Down
1 change: 1 addition & 0 deletions lib/matplotlib/backends/backend_gtk3.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,7 @@ def destroy(self, *args):
def show(self):
# show the figure window
self.window.show()
self.window.present()

def full_screen_toggle (self):
self._full_screen_flag = not self._full_screen_flag
Expand Down