Elm (wayland): Make border edc use signals for move, close, etc.

SVN revision: 66863
This commit is contained in:
Christopher Michael 2012-01-04 09:30:33 +00:00
parent c74314f98b
commit 5c25ca5982
1 changed files with 31 additions and 0 deletions

View File

@ -24,6 +24,7 @@ color_classes {
group {
name: "elm/border/base/default";
data.item: "focus_highlight" "off";
images {
image: "bd_top.png" COMP;
image: "bd_top_hilight.png" COMP;
@ -849,5 +850,35 @@ group {
target: "bt_max_unfoc";
target: "bt_max_foc";
}
program {
name: "move_start";
signal: "mouse,down,1";
source: "elm.event.titlebar";
action: SIGNAL_EMIT "elm,action,move,start" "elm";
}
program {
name: "move_stop";
signal: "mouse,up,1";
source: "elm.event.titlebar";
action: SIGNAL_EMIT "elm,action,move,stop" "elm";
}
program {
name: "minimize";
signal: "mouse,clicked,1";
source: "elm.event.minimize";
action: SIGNAL_EMIT "elm,action,minimize" "elm";
}
program {
name: "maximized";
signal: "mouse,clicked,1";
source: "elm.event.maximize";
action: SIGNAL_EMIT "elm,action,maximize" "elm";
}
program {
name: "close";
signal: "mouse,clicked,1";
source: "elm.event.close";
action: SIGNAL_EMIT "elm,action,close" "elm";
}
}
}