This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository entice.

View the commit online.

commit 584f601e7894bf8bf3ad31fc3cf13982a1aade05
Author: Vincent Torri <[email protected]>
AuthorDate: Thu Dec 25 06:45:44 2025 +0100

    fix fullscreen UI
---
 data/themes/default.edc | 26 ++++++++++++++++++++++----
 src/bin/entice_win.c    |  2 --
 2 files changed, 22 insertions(+), 6 deletions(-)

diff --git a/data/themes/default.edc b/data/themes/default.edc
index e142778..bb548e9 100644
--- a/data/themes/default.edc
+++ b/data/themes/default.edc
@@ -476,6 +476,18 @@ collections
         {
           state: "default" 0.0;
           fixed: 1 1;
+          rel1.relative: 1.0 0.0;
+          rel1.offset: -GB_PAD GB_PAD;
+          rel2.relative: 1.0 0.0;
+          rel2.offset: -GB_PAD GB_PAD;
+          min: ICON_SIZE ICON_SIZE;
+          align: 1.0 0.0;
+          offscale;
+        }
+        description
+        {
+          state: "fullscreen" 0.0;
+          fixed: 1 1;
           rel.to: "entice.close";
           rel1.relative: 0.0 0.0;
           rel1.offset: -1 0;
@@ -486,6 +498,14 @@ collections
           offscale;
         }
       }
+      program { signal: "state,win,fullscreen"; source: "entice";
+        action: STATE_SET "fullscreen" 0.0;
+        target: "entice.fullscreen";
+      }
+      program { signal: "state,win,windowed"; source: "entice";
+        action: STATE_SET "default" 0.0;
+        target: "entice.fullscreen";
+      }
 
       STOP_FADE("fullscreen")
 
@@ -507,14 +527,12 @@ collections
           rel2.offset: -GB_PAD GB_PAD;
           min: ICON_SIZE ICON_SIZE;
           align: 1.0 0.0;
-          visible: 1;
+          visible: 0;
           offscale;
         }
         description { state: "fullscreen" 0.0;
           inherit: "default" 0.0;
-          rel1.offset: 2*GB_PAD GB_PAD;
-          rel2.offset: 2*GB_PAD GB_PAD;
-          visible: 0;
+          visible: 1;
         }
       }
       program { signal: "state,win,fullscreen"; source: "entice";
diff --git a/src/bin/entice_win.c b/src/bin/entice_win.c
index e62e3f6..28872ea 100644
--- a/src/bin/entice_win.c
+++ b/src/bin/entice_win.c
@@ -87,7 +87,6 @@ _cb_fullscreen(void *data EINA_UNUSED, Evas_Object *win, void *event EINA_UNUSED
 {
     Entice *entice;
 
-    ERR("_cb_fullscreen");
     entice = evas_object_data_get(win, "entice");
     elm_layout_signal_emit(entice->layout, "state,win,fullscreen", "entice");
     elm_win_noblank_set(win, EINA_TRUE);
@@ -98,7 +97,6 @@ _cb_unfullscreen(void *data EINA_UNUSED, Evas_Object *win, void *event EINA_UNUS
 {
     Entice *entice;
 
-    ERR("_cb_unfullscreen");
     entice = evas_object_data_get(win, "entice");
     elm_layout_signal_emit(entice->layout, "state,win,windowed", "entice");
     elm_win_noblank_set(win, EINA_FALSE);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to