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

git pushed a commit to branch up/7-activation
in repository enlightenment.

View the commit online.

commit 9689693071651da25298f194d1d9d258e0cdd2cf
Author: Cedric BAIL <[email protected]>
AuthorDate: Sun Nov 22 19:02:26 2026 -0600

    wl_test - report whether a window asked for attention
    
    A compositor that declines a focus request can still mark the window
    urgent. Without this state a test can only see that the focus did not
    move, which an ignored request and a refused one have in common.
    
    Co-Authored-By: Claude Opus 5.5 <[email protected]>
---
 src/modules/wl_test/e_mod_main.c | 3 ++-
 src/protocol/wl-test.xml         | 4 +++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/modules/wl_test/e_mod_main.c b/src/modules/wl_test/e_mod_main.c
index ce59aa40c..91709c901 100644
--- a/src/modules/wl_test/e_mod_main.c
+++ b/src/modules/wl_test/e_mod_main.c
@@ -143,6 +143,7 @@ _wl_test_client_states(E_Client *ec)
    if (ec->sticky) states |= WL_TEST_CLIENT_STATE_STICKY;
    if (ec->shaded) states |= WL_TEST_CLIENT_STATE_SHADED;
    if (ec->internal) states |= WL_TEST_CLIENT_STATE_INTERNAL;
+   if (ec->urgent) states |= WL_TEST_CLIENT_STATE_URGENT;
 
    return states;
 }
@@ -633,7 +634,7 @@ e_modapi_init(E_Module *m)
         return NULL;
      }
 
-   _wl_test_global = wl_global_create(e_comp_wl->wl.disp, &wl_test_interface, 5,
+   _wl_test_global = wl_global_create(e_comp_wl->wl.disp, &wl_test_interface, 6,
                                      NULL, _wl_test_cb_bind);
    if (!_wl_test_global)
      {
diff --git a/src/protocol/wl-test.xml b/src/protocol/wl-test.xml
index 12ee94530..eadddd2b8 100644
--- a/src/protocol/wl-test.xml
+++ b/src/protocol/wl-test.xml
@@ -23,7 +23,7 @@
     DEALINGS IN THE SOFTWARE.
   </copyright>
 
-  <interface name="wl_test" version="5">
+  <interface name="wl_test" version="6">
     <description summary="private interface for the compositor test suite">
       A back door into the compositor for its own test suite. It exposes
       internal state and synthesises input, so it is only built with
@@ -222,6 +222,8 @@
       <entry name="sticky"      value="0x040"/>
       <entry name="shaded"      value="0x080"/>
       <entry name="internal"    value="0x100" summary="one of E's own windows"/>
+      <entry name="urgent"      value="0x200" since="6"
+             summary="it asked for the user's attention"/>
     </enum>
 
     <request name="get_clients" since="3">

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

Reply via email to