summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-07-10 08:56:40 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-07-10 10:17:51 +0900
commit41534e69c398cdf744944d7a33265986c2f261d1 (patch)
treed0e822c499fd6b5043df1d32a6bcd6a5d41770b6 /data
parent937a0d641154970c79ebc0c1a556ed3eaf5a139d (diff)
default theme - add signals to pointer theme to fix glitch in x
in x11 the mouse pointer is separate to everything else on the screen, and so when screensaver kicks in and we fade to/from black or we suspend/resume and do the same... the mouse pointer stays annoyingly visible and it just lookes like a bug. this allows that to be fixed by allowing the pointer to be suspended or resumed... :) @fix
Diffstat (limited to 'data')
-rw-r--r--data/elementary/themes/edc/pointer.edc36
1 files changed, 34 insertions, 2 deletions
diff --git a/data/elementary/themes/edc/pointer.edc b/data/elementary/themes/edc/pointer.edc
index 493e5ea347..3f57e27982 100644
--- a/data/elementary/themes/edc/pointer.edc
+++ b/data/elementary/themes/edc/pointer.edc
@@ -1,14 +1,29 @@
1group { name: "e/pointer/enlightenment/default/color"; 1group { name: "e/pointer/enlightenment/default/color";
2 images.image: "pointer.png" COMP; 2 images.image: "pointer.png" COMP;
3 images.image: "pointer_glow.png" COMP; 3 images.image: "pointer_glow.png" COMP;
4 data.item: "can_suspend" "1";
4 parts { 5 parts {
6 part { name: "parent"; type: RECT;
7 description { state: "default" 0.0;
8 color: 255 255 255 255;
9 }
10 description { state: "suspend" 0.0;
11 inherit: "default" 0.0;
12 rel1.relative: 0.5 0.5;
13 rel2.relative: 0.5 0.5;
14 color: 255 255 255 0;
15 }
16 }
5 part { name: "base"; 17 part { name: "base";
18 clip_to: "parent";
6 description { state: "default" 0.0; 19 description { state: "default" 0.0;
7 image.normal: "pointer.png"; 20 image.normal: "pointer.png";
21 rel.to: "parent";
8 } 22 }
9 } 23 }
10 part { name: "glow"; 24 part { name: "glow";
11 description { state: "default" 0.0; 25 description { state: "default" 0.0;
26 rel.to: "base";
12 image.normal: "pointer_glow.png"; 27 image.normal: "pointer_glow.png";
13 color: 255 255 255 0; 28 color: 255 255 255 0;
14 } 29 }
@@ -26,8 +41,7 @@ group { name: "e/pointer/enlightenment/default/color";
26 fixed: 1 1; 41 fixed: 1 1;
27 visible: 0; 42 visible: 0;
28 rel1.relative: (5/32) (5/32); 43 rel1.relative: (5/32) (5/32);
29 rel1.to: "base"; 44 rel.to: "base";
30 rel2.to: "base";
31 rel2.relative: (5/32) (5/32); 45 rel2.relative: (5/32) (5/32);
32 rel2.offset: 0 0; 46 rel2.offset: 0 0;
33 } 47 }
@@ -70,6 +84,24 @@ group { name: "e/pointer/enlightenment/default/color";
70 target: "pulse"; 84 target: "pulse";
71 target: "pulse2"; 85 target: "pulse2";
72 } 86 }
87 program {
88 signal: "e,state,mouse,suspend"; source: "e";
89 action: STATE_SET "suspend" 0.0;
90 transition: ACCELERATE 1.0;
91 target: "parent";
92 sequence {
93 action: SIGNAL_EMIT "e,state,mouse,suspend,done" "e";
94 }
95 }
96 program {
97 signal: "e,state,mouse,resume"; source: "e";
98 action: STATE_SET "default" 0.0;
99 transition: DECELERATE 1.0;
100 target: "parent";
101 sequence {
102 action: SIGNAL_EMIT "e,state,mouse,resume,done" "e";
103 }
104 }
73 } 105 }
74} 106}
75 107