vcl/source/window/window.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 46cc0ee2eef8587f8990e632f6ab12d50497beba
Author:     Henry Castro <[email protected]>
AuthorDate: Thu Nov 27 07:34:01 2025 -0400
Commit:     Henry Castro <[email protected]>
CommitDate: Mon Dec 8 11:41:29 2025 +0100

    lok: add "can_focus" property dump
    
    Some UI controls should not receive focus on the client side.
    
    Change-Id: I1128d027f89455b6c48e52bcecd426d3c26212c7
    Signed-off-by: Henry Castro <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194700
    Tested-by: Caolán McNamara <[email protected]>
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Caolán McNamara <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195217

diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 960a83383a16..78a6a63f5d5b 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -3376,6 +3376,7 @@ void Window::DumpAsPropertyTree(tools::JsonWriter& 
rJsonWriter)
     rJsonWriter.put("text", GetText());
     rJsonWriter.put("enabled", IsEnabled());
     rJsonWriter.put("lokWindowId", GetLOKWindowId());
+    rJsonWriter.put("canFocus", bool(GetStyle() & WB_TABSTOP));
     if (!IsVisible())
         rJsonWriter.put("visible", false);
 

Reply via email to