[evince/wip/gpoo/gtk4-rebase-port: 58/96] ev-view: set widget focusable




commit 9092da1d9765ef8a41c7ad8c79d066c4c123b967
Author: Qiu Wenbo <qiuwenbo kylinos com cn>
Date:   Sat Aug 14 12:56:14 2021 +0800

    ev-view: set widget focusable
    
    Signed-off-by: Qiu Wenbo <qiuwenbo kylinos com cn>

 libview/ev-view.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 4de6ce9ba..ba66e10db 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -8357,6 +8357,7 @@ ev_view_init (EvView *view)
 
        // gtk_widget_set_has_window (GTK_WIDGET (view), TRUE);
        gtk_widget_set_can_focus (GTK_WIDGET (view), TRUE);
+       gtk_widget_set_focusable (GTK_WIDGET (view), TRUE);
        // gtk_widget_set_redraw_on_allocate (GTK_WIDGET (view), FALSE);
        // gtk_widget_set_has_tooltip (GTK_WIDGET (view), TRUE);
 


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