discomfitor pushed a commit to branch master. http://git.enlightenment.org/apps/empc.git/commit/?id=5a46d298c77f4220c907935c0bb05fdb5c45be04
commit 5a46d298c77f4220c907935c0bb05fdb5c45be04 Author: zmike <michael.blumenkra...@gmail.com> Date: Thu Feb 19 22:36:05 2015 -0500 add event rect above bg swallow to catch mouse when no cover is present --- data/themes/empc.edc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/data/themes/empc.edc b/data/themes/empc.edc index fae7dd5..4beef1a 100644 --- a/data/themes/empc.edc +++ b/data/themes/empc.edc @@ -190,7 +190,10 @@ collections { } } } - program { signal: "mouse,down,1,double"; source: EMPC_SWALLOW_BACKGROUND; + rect { "bgevent"; repeat; + desc { fixed: 1 1; color: 0 0 0 0; } + } + program { signal: "mouse,down,1,double"; source: "bgevent"; script { cancel_timer(get_int(timer_left_click_action)); set_int(timer_left_click_action, 0); @@ -200,7 +203,7 @@ collections { run_program(get_program_id("bg_chooser_inactive")); } } - program { signal: "mouse,down,1"; source: EMPC_SWALLOW_BACKGROUND; + program { signal: "mouse,down,1"; source: "bgevent"; script { if (!get_int(bg_chooser)) { if (get_int(timer_left_click_action)) { @@ -211,7 +214,7 @@ collections { } } } - program { signal: "mouse,wheel,0,-1"; source: EMPC_SWALLOW_BACKGROUND; + program { signal: "mouse,wheel,0,-1"; source: "bgevent"; script { if (get_int(bg_chooser)) emit("empc,bg_chooser,prev", "empc"); @@ -219,7 +222,7 @@ collections { emit("empc,play,"WHEEL_UP_ACTION, "empc"); } } - program { signal: "mouse,wheel,0,1"; source: EMPC_SWALLOW_BACKGROUND; + program { signal: "mouse,wheel,0,1"; source: "bgevent"; script { if (get_int(bg_chooser)) emit("empc,bg_chooser,next", "empc"); --