diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2010-03-15 19:00:21 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2010-03-15 19:00:21 +0000 |
commit | 04769b3f076b00cc8ab5ad3cc0b2924af86acb1b (patch) | |
tree | 8c7ab25f54f42eeab7a64382d59fddc3993fea7b /amiga/gui.c | |
parent | 50692dc63c6955bc87210b1b43fe84e2985130c0 (diff) | |
download | netsurf-04769b3f076b00cc8ab5ad3cc0b2924af86acb1b.tar.gz netsurf-04769b3f076b00cc8ab5ad3cc0b2924af86acb1b.tar.bz2 |
Remove caret when window is inactive, re-add when window becomes active again.
svn path=/trunk/netsurf/; revision=10133
Diffstat (limited to 'amiga/gui.c')
-rwxr-xr-x | amiga/gui.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/amiga/gui.c b/amiga/gui.c index 7c71caac6..aa2ddf63c 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -1513,8 +1513,15 @@ void ami_handle_msg(void) } break; + case WMHI_INACTIVE: + gwin->bw->window->c_h_temp = gwin->bw->window->c_h; + gui_window_remove_caret(gwin->bw->window); + break; + case WMHI_ACTIVE: if(gwin->bw) curbw = gwin->bw; + if(gwin->bw->window->c_h_temp) + gwin->bw->window->c_h = gwin->bw->window->c_h_temp; break; case WMHI_INTUITICK: |