add event blocker for ibar menu

having mouse clicks intercepted and going to /dev/null when clicking on items during mouseover animation was super annoying
This commit is contained in:
Mike Blumenkrantz 2014-05-08 14:36:58 -04:00
parent 707599d4cc
commit 5815fa462b
1 changed files with 7 additions and 0 deletions

View File

@ -208,18 +208,24 @@ group { name: "e/modules/ibar/menu";
}
}
}
rect { "event_block";
desc { hid; color: 0 0 0 0; }
desc { "hidden"; inherit: "default"; vis; }
}
}
programs {
program { signal: "e,state,hidden"; source: "e";
action: STATE_SET "hidden" 0.0;
target: "sizer";
target: "clip";
target: "event_block";
}
program { signal: "e,action,show"; source: "e";
action: STATE_SET "default" 0.0;
target: "sizer";
target: "clip";
target: "event_block";
transition: SINUSOIDAL 0.2;
after: "show2";
}
@ -231,6 +237,7 @@ group { name: "e/modules/ibar/menu";
action: STATE_SET "hidden" 0.0;
target: "sizer";
target: "clip";
target: "event_block";
transition: SINUSOIDAL 0.2;
after: "hide2";
}