diff options
Diffstat (limited to 'libcaja-private/caja-icon-container.c')
-rw-r--r-- | libcaja-private/caja-icon-container.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libcaja-private/caja-icon-container.c b/libcaja-private/caja-icon-container.c index 3757dabc..12382f5a 100644 --- a/libcaja-private/caja-icon-container.c +++ b/libcaja-private/caja-icon-container.c @@ -4835,7 +4835,12 @@ clicked_within_double_click_interval (CajaIconContainer *container) last_click_time = current_time; /* Only allow double click */ - return (click_count == 1); + if (click_count == 1) { + click_count = 0; + return TRUE; + } else { + return FALSE; + } } static void |