diff -Nru surface-tools-20180914git.orig/autorotate/autorotate surface-tools-20180914git/autorotate/autorotate --- surface-tools-20180914git.orig/autorotate/autorotate 2018-09-14 10:58:53.959407234 +0200 +++ surface-tools-20180914git/autorotate/autorotate 2018-09-15 12:58:25.572548316 +0200 @@ -163,5 +163,11 @@ # https://bugzilla.gnome.org/show_bug.cgi?id=622084#c12 signal.signal(signal.SIGINT, signal.SIG_DFL) - GObject.idle_add(checkRotation) - Gtk.main() + newRef=os.fork() + if newRef==0: + GObject.idle_add(checkRotation) + Gtk.main() + else: + checkRotation() + +