summaryrefslogtreecommitdiff
path: root/data/elementary/themes
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-04-19 23:17:37 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-04-19 23:17:37 +0100
commitff51e5ecb77878311509b9500b65f845afbd609e (patch)
tree911a04de1ea5786d991ee893f2430f248984e730 /data/elementary/themes
parentbc4799b2b8decdfdc3fa5e0888c3ca89f79c520d (diff)
TH - flat - support seamless e restarts
Diffstat (limited to 'data/elementary/themes')
-rw-r--r--data/elementary/themes/edc/comp.edc21
1 files changed, 21 insertions, 0 deletions
diff --git a/data/elementary/themes/edc/comp.edc b/data/elementary/themes/edc/comp.edc
index 5ab902f818..dd54df15e4 100644
--- a/data/elementary/themes/edc/comp.edc
+++ b/data/elementary/themes/edc/comp.edc
@@ -39,6 +39,7 @@ group { name: "e/comp/screen/base/default";
39group { name: "e/comp/screen/overlay/default"; 39group { name: "e/comp/screen/overlay/default";
40 alias: "e/comp/screen/overlay/noeffects"; // legacy 40 alias: "e/comp/screen/overlay/noeffects"; // legacy
41 images.image: "screen_circular_shadow.png" COMP; 41 images.image: "screen_circular_shadow.png" COMP;
42 data.item: "restarted" "on";
42 parts { 43 parts {
43 part { name: "clip"; type: RECT; mouse_events: 0; 44 part { name: "clip"; type: RECT; mouse_events: 0;
44 description { state: "default" 0.0; 45 description { state: "default" 0.0;
@@ -154,6 +155,26 @@ group { name: "e/comp/screen/overlay/default";
154 action: SIGNAL_EMIT "e,state,sys,logout,done" "e"; 155 action: SIGNAL_EMIT "e,state,sys,logout,done" "e";
155 } 156 }
156 } 157 }
158 program { signal: "e,state,sys,restart"; source: "e";
159 action: STATE_SET "visible" 0.0;
160 transition: ACCELERATE 0.5 USE_DURATION_FACTOR 1 CURRENT;
161 target: "suspender";
162 sequence {
163 action: SIGNAL_EMIT "e,state,sys,restart,done" "e";
164 }
165 }
166 program { signal: "e,state,sys,restarted"; source: "e";
167 action: STATE_SET "visible" 0.0;
168 target: "suspender";
169 }
170 program { signal: "e,state,sys,restarted,show"; source: "e";
171 action: STATE_SET "default" 0.0;
172 transition: ACCELERATE 0.5 USE_DURATION_FACTOR 1 CURRENT;
173 target: "suspender";
174 sequence {
175 action: SIGNAL_EMIT "e,state,sys,restarted,show,done" "e";
176 }
177 }
157 } 178 }
158} 179}
159 180