theme: add signal to e border theme to set NOGRAB on titlebar part

for compatibility reasons this can only be changed in a signal callback
in the default theme.

all themes should now use NOGRAB for parts which can be used to trigger
window_move signal bindings

ref T5552
This commit is contained in:
Mike Blumenkrantz 2017-06-09 20:16:08 -04:00
parent 4c431c8b9c
commit 2ba847f4c2
1 changed files with 6 additions and 0 deletions

View File

@ -444,6 +444,12 @@ group { name: "e/widgets/border/default/border";
description { rel.to: "top";
color: 0 0 0 0;
}
program {
signal: "e,titlebar,nograb"; source: "e";
script {
set_pointer_mode(PART:"e.event.titlebar", 1);
}
}
}
part { name: "e.event.icon"; type: RECT;
description { state: "default" 0.0;