[Xfce4-commits] [apps/xfdashboard] 01/10: Allow clicking buttons on a touch screen

noreply at xfce.org noreply at xfce.org
Wed Oct 4 10:28:15 CEST 2017


This is an automated email from the git hooks/post-receive script.

n   o   m   a   d       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfdashboard.

commit 3b82a21980bd674175fae78aede158e92e2723d6
Author: TheZoq2 <frans.skarman at gmail.com>
Date:   Mon Oct 2 17:05:41 2017 +0200

    Allow clicking buttons on a touch screen
---
 libxfdashboard/click-action.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libxfdashboard/click-action.c b/libxfdashboard/click-action.c
index 6d321a4..be40e0a 100644
--- a/libxfdashboard/click-action.c
+++ b/libxfdashboard/click-action.c
@@ -478,7 +478,7 @@ static gboolean _xfdashboard_click_action_on_event(XfdashboardClickAction *self,
 			}
 
 			/* Remember event data */
-			priv->pressButton=hasButton ? clutter_event_get_button(inEvent) : 0;
+			priv->pressButton=hasButton ? clutter_event_get_button(inEvent) : 1;
 			priv->pressDeviceID=clutter_event_get_device_id(inEvent);
 			priv->pressSequence=clutter_event_get_event_sequence(inEvent);
 			priv->modifierState=clutter_event_get_state(inEvent);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list