lib/screen_tracker.rb in sensible-cinema-0.6.0 vs lib/screen_tracker.rb in sensible-cinema-0.6.1

- old
+ new

@@ -22,12 +22,12 @@ @hwnd = hwnd = Win32::Screenshot::BitmapMaker.desktop_window else @hwnd = Win32::Screenshot::BitmapMaker.hwnd(name_or_regex) end unless @hwnd - print 'perhaps not running yet? [%s] START IT QUICKLY' % name_or_regex + print 'perhaps not running yet? [%s] START IT FAST' % name_or_regex until @hwnd - sleep 2 + sleep 4 print ' trying again .' STDOUT.flush @hwnd = Win32::Screenshot::BitmapMaker.hwnd(name_or_regex) end puts 'found window' \ No newline at end of file