View Single Post
Posts: 462 | Thanked: 550 times | Joined on Sep 2008 @ Moscow
#572
Originally Posted by jolouis View Post
Unfortuantely python doesn't have any way to run code when app is closed through the "X", so flip doesn't get a chance to restore your display settings.
Have you tried using gtk.quit_add()?