[Xfce4-commits] [apps/xfdashboard] 04/10: Add touch handling to quicklaunch
noreply at xfce.org
noreply at xfce.org
Wed Oct 4 10:28:18 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 1b02280bb6999d3c68f8fdaa25a1cde5e428ec0b
Author: TheZoq2 <frans.skarman at gmail.com>
Date: Tue Oct 3 15:52:52 2017 +0200
Add touch handling to quicklaunch
---
libxfdashboard/quicklaunch.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/libxfdashboard/quicklaunch.c b/libxfdashboard/quicklaunch.c
index f73bbbf..f276d7b 100644
--- a/libxfdashboard/quicklaunch.c
+++ b/libxfdashboard/quicklaunch.c
@@ -671,8 +671,11 @@ static void _xfdashboard_quicklaunch_on_favourite_popup_menu(XfdashboardQuicklau
appButton=XFDASHBOARD_APPLICATION_BUTTON(inActor);
action=XFDASHBOARD_CLICK_ACTION(inUserData);
- /* Check if right button was used when the application button was clicked */
- if(xfdashboard_click_action_get_button(action)==XFDASHBOARD_CLICK_ACTION_RIGHT_BUTTON)
+ /* Only emit any of these signals if click was perform with left button
+ * or is a short touchscreen touch event.
+ */
+ if(xfdashboard_click_action_get_button(action)!=XFDASHBOARD_CLICK_ACTION_LEFT_BUTTON &&
+ xfdashboard_click_action_get_button(action)!=0) return;
{
ClutterActor *popup;
ClutterActor *menuItem;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list