You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
allocate transparent {WrapperWidget / JavaWidget} 0x0 and draw children in overflow area
This prevents overlay widgets from blocking touch events. Androids ViewGroup.dispatchTouchEvent() loops over all children and only breaks if an eventhandler returns true. Gtk on the other hand stops at the first sensitive child. Even if the eventhandler returned false.
This commit is contained in:
@@ -20,6 +20,9 @@ struct _WrapperWidget
|
||||
jmethodID computeScroll_method;
|
||||
int layout_width;
|
||||
int layout_height;
|
||||
int real_width;
|
||||
int real_height;
|
||||
gboolean needs_allocation;
|
||||
};
|
||||
|
||||
struct _WrapperWidgetClass
|
||||
|
||||
Reference in New Issue
Block a user