[Xfce4-commits] [apps/xfdashboard] 02/10: Revert "Allow clicking buttons on a touch screen" in order to implement it outside ClickAction

noreply at xfce.org noreply at xfce.org
Wed Oct 4 10:28:16 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 6d84a1a8ac7dda40a3389de35708f02d9b4cc8f2
Author: TheZoq2 <frans.skarman at gmail.com>
Date:   Tue Oct 3 15:19:32 2017 +0200

    Revert "Allow clicking buttons on a touch screen" in order to implement
    it outside ClickAction
    
    This reverts commit 3b82a21980bd674175fae78aede158e92e2723d6.
---
 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 be40e0a..6d321a4 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) : 1;
+			priv->pressButton=hasButton ? clutter_event_get_button(inEvent) : 0;
 			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