Ticket #3571: 3571-fixup-WRadio-use-the-new-mouse-API.patch

File 3571-fixup-WRadio-use-the-new-mouse-API.patch, 636 bytes (added by mooffie, 8 years ago)
  • lib/widget/radio.c

    From a99a705ff46d6f9bffae643460a2123824a9bc68 Mon Sep 17 00:00:00 2001
    From: Mooffie <mooffie@gmail.com>
    Date: Fri, 5 Feb 2016 02:50:01 +0200
    Subject: [PATCH] fixup! WRadio: use the new mouse API.
    
    ---
     lib/widget/radio.c | 1 +
     1 file changed, 1 insertion(+)
    
    diff --git a/lib/widget/radio.c b/lib/widget/radio.c
    index 5dd598b..c8e13cf 100644
    a b radio_mouse_callback (Widget * w, mouse_msg_t msg, mouse_event_t * event) 
    148148    switch (msg) 
    149149    { 
    150150    case MSG_MOUSE_DOWN: 
     151        RADIO (w)->pos = event->y; 
    151152        dlg_select_widget (w); 
    152153        break; 
    153154