[evince/wip/gpoo/gtk4-rebase-port: 52/89] ev-view: enable annotation window grab focus




commit d9faad18b6f821704020ab9333bf8a189c4ecab8
Author: Qiu Wenbo <qiuwenbo kylinos com cn>
Date:   Sat Aug 14 15:10:13 2021 +0800

    ev-view: enable annotation window grab focus
    
    Signed-off-by: Qiu Wenbo <qiuwenbo kylinos com cn>

 libview/ev-view.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libview/ev-view.c b/libview/ev-view.c
index ba66e10db..8462315d7 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -5527,8 +5527,8 @@ ev_view_button_press_event (GtkGestureClick       *gesture,
        if (view->window_child_focus) {
                EvAnnotationWindow *window;
 
-               // window = EV_ANNOTATION_WINDOW (view->window_child_focus->window);
-               // ev_annotation_window_ungrab_focus (window);
+               window = EV_ANNOTATION_WINDOW (view->window_child_focus->window);
+               ev_annotation_window_ungrab_focus (window);
                view->window_child_focus = NULL;
        }
 


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