[java-atk-wrapper/wip] Wrapper: add check for WINDOW to get_layer



commit b2fccacd7c9c220238dd7fa2d5cc88e39c3c95a0
Author: Magdalen Berns <m berns thismagpie com>
Date:   Fri Jun 26 23:51:12 2015 +0100

    Wrapper: add check for WINDOW to get_layer
    
    e2f3680fcab27882f62a5b5da8e45b609852ad41 does
    not apply
    
    Bug: https://bugzilla.gnome.org/show_bug.cgi?id=750934

 wrapper/org/GNOME/Accessibility/AtkComponent.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/wrapper/org/GNOME/Accessibility/AtkComponent.java 
b/wrapper/org/GNOME/Accessibility/AtkComponent.java
index f79ce85..4e9e063 100644
--- a/wrapper/org/GNOME/Accessibility/AtkComponent.java
+++ b/wrapper/org/GNOME/Accessibility/AtkComponent.java
@@ -120,6 +120,10 @@ public class AtkComponent {
       return AtkLayer.CANVAS;
     }
 
+    if (role == AccessibleRole.WINDOW) {
+     return AtkLayer.WINDOW;
+    }
+
     return AtkLayer.WIDGET;
   }
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]