diff options
| author | monsta <[email protected]> | 2015-07-07 16:10:52 +0300 | 
|---|---|---|
| committer | monsta <[email protected]> | 2015-07-07 16:10:52 +0300 | 
| commit | db6b62171abd6dbfcc0c8f9c928f29af445831cc (patch) | |
| tree | b0e9642daa7e628eac19c71dc68138fdbe06d860 | |
| parent | 374ca9e7bde63733c828759fec20c129f27fe58e (diff) | |
| parent | 0a42ba9721b78bd1e85885e42e57ed5eb59bd0ce (diff) | |
| download | caja-db6b62171abd6dbfcc0c8f9c928f29af445831cc.tar.bz2 caja-db6b62171abd6dbfcc0c8f9c928f29af445831cc.tar.xz | |
Merge pull request #431 from NiceandGently/master
icon-container: reset the double click counter after a double click
| -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 | 
