diff options
Diffstat (limited to 'src/corelib/x11/gfx_x11.pas')
-rw-r--r-- | src/corelib/x11/gfx_x11.pas | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/corelib/x11/gfx_x11.pas b/src/corelib/x11/gfx_x11.pas index 63cce392..250ebf7f 100644 --- a/src/corelib/x11/gfx_x11.pas +++ b/src/corelib/x11/gfx_x11.pas @@ -206,6 +206,14 @@ uses var xapplication: TfpgApplication; +{ Double click support } +const + DOUBLECLICK_MS = 200; // the max time between left-clicks for doubleclick +var + LastClickWindow: TfpgWinHandle; + LastWinClickTime: longword; + + //const // map X11 event types to custom event types // MSG_SCROLL = 65; |