From 5f69abb50490e6dbb02029304fd862da6ebd2555 Mon Sep 17 00:00:00 2001 From: Ole Loots Date: Tue, 29 Nov 2011 23:19:18 +0000 Subject: release screen-lock when second lock check fails. svn path=/trunk/netsurf/; revision=13208 --- atari/plot/plotter_vdi.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'atari/plot/plotter_vdi.c') diff --git a/atari/plot/plotter_vdi.c b/atari/plot/plotter_vdi.c index e79647408..652fa7434 100755 --- a/atari/plot/plotter_vdi.c +++ b/atari/plot/plotter_vdi.c @@ -315,8 +315,10 @@ static int lock( GEM_PLOTTER self ) self->flags |= PLOT_FLAG_LOCKED; if( !wind_update(BEG_UPDATE|0x100) ) return(0); - if( !wind_update(BEG_MCTRL|0x100) ) - return(0); + if( !wind_update(BEG_MCTRL|0x100) ){ + wind_update(END_UPDATE); + return(0); + } graf_mouse(M_OFF, NULL); return( 1 ); } -- cgit v1.2.3