315 |
} |
} |
316 |
#else |
#else |
317 |
/* |
/* |
318 |
* A file is selected from the browser. |
* A file is selected from the browser. |
319 |
* generate ready if valid selection (e.g. double-clicked) |
* generate ready if valid selection (e.g. double-clicked) |
320 |
* Note that if a call back is defined, never generate ready |
* Note that if a call back is defined, never generate ready |
321 |
*/ |
*/ |
347 |
|
|
348 |
clicked = (clicked || xev->type == ButtonPress); |
clicked = (clicked || xev->type == ButtonPress); |
349 |
|
|
350 |
/* cursor keys can cause a single line being repeatedly selected |
/* cursor keys can cause a single line being repeatedly selected |
351 |
causing a wrong dblclick detection */ |
causing a wrong dblclick detection */ |
352 |
|
|
353 |
if (clicked) |
if (clicked) |