summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMike Blumenkrantz <m.blumenkran@samsung.com>2013-05-22 11:07:40 +0100
committerMike Blumenkrantz <m.blumenkran@samsung.com>2013-05-22 11:07:40 +0100
commit07c39a3b808db65ced78597a13a9e0e6d7da6349 (patch)
tree3284323b1ab572c513652afdafe3e2e281360167 /data
parentb0fb5ae565502f9460afb69fbb0175f2e5d32f36 (diff)
fix border theme to be pixel-perfect for mouse events
Diffstat (limited to 'data')
-rw-r--r--data/themes/edc/border.edc39
1 files changed, 21 insertions, 18 deletions
diff --git a/data/themes/edc/border.edc b/data/themes/edc/border.edc
index 1ff6d6552..74514f818 100644
--- a/data/themes/edc/border.edc
+++ b/data/themes/edc/border.edc
@@ -49,7 +49,7 @@ group { name: "e/widgets/border/default/border";
49 rel2.to_y: "bottom"; 49 rel2.to_y: "bottom";
50 } 50 }
51 } 51 }
52 part { name: "top"; 52 part { name: "top"; mouse_events: 0;
53 description { state: "default" 0.0; 53 description { state: "default" 0.0;
54 color_class: "border_top"; 54 color_class: "border_top";
55 image.normal: "vgrad_med_lighter.png"; 55 image.normal: "vgrad_med_lighter.png";
@@ -307,23 +307,21 @@ group { name: "e/widgets/border/default/border";
307 image.normal: "sym_down_light_selected.png"; 307 image.normal: "sym_down_light_selected.png";
308 } 308 }
309 } 309 }
310 part { name: "e.event.icon"; type: RECT; 310 part { name: "e.event.titlebar"; type: RECT;
311 description { state: "default" 0.0; 311 description { state: "default" 0.0;
312 rel1.relative: 0.0 0.0; 312 rel2.to_y: "e.swallow.client";
313 rel2.relative: 0.0 1.0; 313 rel2.relative: 1 0;
314 rel2.to_y: "top"; 314 rel2.offset: 0 1;
315 align: 0.0 0.5;
316 aspect: 1.0 1.0; aspect_preference: VERTICAL;
317 color: 0 0 0 0; 315 color: 0 0 0 0;
318 } 316 }
319 } 317 }
320 part { name: "e.event.titlebar"; type: RECT; 318 part { name: "e.event.icon"; type: RECT;
321 description { state: "default" 0.0; 319 description { state: "default" 0.0;
322 rel1.relative: 1.0 0.0; 320 rel1.relative: 0.0 0.0;
323 rel1.to_x: "e.event.icon";
324 rel2.relative: 0.0 1.0; 321 rel2.relative: 0.0 1.0;
325 rel2.to_x: "e.event.minimize";
326 rel2.to_y: "top"; 322 rel2.to_y: "top";
323 align: 0.0 0.5;
324 aspect: 1.0 1.0; aspect_preference: VERTICAL;
327 color: 0 0 0 0; 325 color: 0 0 0 0;
328 } 326 }
329 } 327 }
@@ -430,8 +428,7 @@ group { name: "e/widgets/border/default/border";
430 visible: 0; 428 visible: 0;
431 } 429 }
432 } 430 }
433 part { name: "shadow"; 431 part { name: "shadow"; mouse_events: 0;
434 mouse_events: 0;
435 description { state: "default" 0.0; 432 description { state: "default" 0.0;
436 image.normal: "win_shadow.png"; 433 image.normal: "win_shadow.png";
437 image.border: 14 14 14 14; 434 image.border: 14 14 14 14;
@@ -450,6 +447,8 @@ group { name: "e/widgets/border/default/border";
450 part { name: "e.event.resize.bl"; type: RECT; 447 part { name: "e.event.resize.bl"; type: RECT;
451 description { state: "default" 0.0; 448 description { state: "default" 0.0;
452 rel1.relative: 0.0 1.0; 449 rel1.relative: 0.0 1.0;
450 rel1.to_y: "e.swallow.client";
451 rel1.offset: 0 -1;
453 rel2.relative: 0.0 1.0; 452 rel2.relative: 0.0 1.0;
454 min: 32 5; 453 min: 32 5;
455 align: 0.0 1.0; 454 align: 0.0 1.0;
@@ -471,6 +470,8 @@ group { name: "e/widgets/border/default/border";
471 description { state: "default" 0.0; 470 description { state: "default" 0.0;
472 rel1.relative: 1.0 1.0; 471 rel1.relative: 1.0 1.0;
473 rel1.to_x: "e.event.resize.tl"; 472 rel1.to_x: "e.event.resize.tl";
473 rel1.to_y: "e.swallow.client";
474 rel1.offset: 0 -1;
474 rel2.relative: 0.0 1.0; 475 rel2.relative: 0.0 1.0;
475 rel2.to_x: "e.event.resize.tr"; 476 rel2.to_x: "e.event.resize.tr";
476 min: 0 5; 477 min: 0 5;
@@ -492,6 +493,8 @@ group { name: "e/widgets/border/default/border";
492 part { name: "e.event.resize.br"; type: RECT; 493 part { name: "e.event.resize.br"; type: RECT;
493 description { state: "default" 0.0; 494 description { state: "default" 0.0;
494 rel1.relative: 1.0 1.0; 495 rel1.relative: 1.0 1.0;
496 rel1.to_y: "e.swallow.client";
497 rel1.offset: 0 -1;
495 rel2.relative: 1.0 1.0; 498 rel2.relative: 1.0 1.0;
496 min: 32 5; 499 min: 32 5;
497 align: 1.0 1.0; 500 align: 1.0 1.0;
@@ -520,11 +523,6 @@ group { name: "e/widgets/border/default/border";
520 FIXED_SIZE(69, 5) 523 FIXED_SIZE(69, 5)
521 } 524 }
522 } 525 }
523 part { name: "events"; type: RECT; repeat_events: 1;
524 description { state: "default";
525 color: 0 0 0 0;
526 }
527 }
528 } 526 }
529 programs { 527 programs {
530 program { 528 program {
@@ -772,6 +770,11 @@ group { name: "e/widgets/border/sparkle/border";
772 visible: 0; 770 visible: 0;
773 } 771 }
774 } 772 }
773 part { name: "events"; type: RECT; repeat_events: 1;
774 description { state: "default";
775 color: 0 0 0 0;
776 }
777 }
775 } 778 }
776 programs { 779 programs {
777 program { name: "in"; 780 program { name: "in";