Elm (wayland): Make border edc use signals for move, close, etc.
authordevilhorns <devilhorns@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 4 Jan 2012 09:30:33 +0000 (09:30 +0000)
committerdevilhorns <devilhorns@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 4 Jan 2012 09:30:33 +0000 (09:30 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@66863 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

data/themes/widgets/border.edc

index 5928485..e8b4020 100644 (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";
+      }
    }
 }