From 6010b5cf30d3582e34ecb034b508c52b7dee595d Mon Sep 17 00:00:00 2001 From: Boris Faure Date: Tue, 25 Feb 2020 21:32:28 +0100 Subject: [PATCH] theme: tab,drag,stop comes back! --- ChangeLog.theme | 6 +++--- THEME.md | 2 +- data/themes/default/background.edc | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ChangeLog.theme b/ChangeLog.theme index 1b6162cc..71868a92 100644 --- a/ChangeLog.theme +++ b/ChangeLog.theme @@ -10,9 +10,9 @@ Changes since 1.6.0: to set style as active, used during tab drag and drop. * In group "terminology/background", add signals "hdrag,on" (default) and "hdrag,off" to restrict (default) tab to be dragged only horizontally - * In group "terminology/background", signals "tab,mouse,down" and - "tab,mouse,up" whenever the left mouse button is pressed on a tab. - * In group "terminology/background", signals "tab,hdrag" and "tab,drag,stop" + * In group "terminology/background", signals "tab,mouse,down" is emitted + whenever the left mouse button is pressed on a tab. + * In group "terminology/background", signal "tab,hdrag" and "tab,drag,stop" are emitted when the current tab is dragged between tabs. * In group "terminology/background", signal "tab,drag,move" is emitted when the current tab is dragged outside of the tabbar. diff --git a/THEME.md b/THEME.md index 9c680ba6..7c4f7cbc 100644 --- a/THEME.md +++ b/THEME.md @@ -112,7 +112,7 @@ Whether to restrict (default) horizontal tab drag ## Signal emitted ### `tab,drag` and `tab,drag,stop` To notify that the current tab is being dragged. -### `tab,mouse,down` and `tab,mouse,up` +### `tab,mouse,down` Whenever the left mouse button is pressed on a tab. diff --git a/data/themes/default/background.edc b/data/themes/default/background.edc index 39ddd3d5..aec9919f 100644 --- a/data/themes/default/background.edc +++ b/data/themes/default/background.edc @@ -1617,7 +1617,7 @@ group { name: "terminology/background"; } program { signal: "mouse,up,1"; source: "tabmiddle"; - action: SIGNAL_EMIT "tab,mouse,up" "terminology"; + action: SIGNAL_EMIT "tab,drag,stop" "terminology"; } ////////////////////////////////////////////////////////////////////