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




commit e4b122dbc73d3b790270cec1180c7ba4e775b27c
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]