Re: mouse event handling
- From: "Miven Dooligan" <mdooligan gawab com>
- To: "mc-devel gnome org" <mc-devel gnome org>
- Subject: Re: mouse event handling
- Date: Sun, 03 Oct 2004 08:42:12 -0700
Hi Leonard.
double click -> do_enter() still work for me, all this time.
     if ((event->type & (GPM_DOWN | GPM_DRAG | GPM_UP ))) {
         if (&panel->widget != current_dlg->current)
             change_panel ();
     }
     if ((event->type & (GPM_DOWN|GPM_DRAG))){
/*
check cursor position and scroll list
*/
     } else if ((event->type & (GPM_UP | GPM_DOUBLE)) ==
                (GPM_UP | GPM_DOUBLE)) {
         if (event->y > 0 && event->y <= lines)
             do_enter (panel);
     }
But this _is_ a hack for xterm and X, for the cruddy mouse
reporting. I wouldn't doubt if it interfere with other
configuration. I haven't found any problem yet.
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]