FLTK logo

[master] 21864cf - Attempt to fix issue #485.

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] 21864cf - Attempt to fix issue #485. "ManoloFLTK" Sep 03, 2022  
 
commit 21864cf4990fab73bc71db4762431aa922c630c9
Author:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Sat Sep 3 09:35:48 2022 +0200
Commit:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Sat Sep 3 09:35:48 2022 +0200

    Attempt to fix issue #485.

 libdecor/src/plugins/cairo/libdecor-cairo.c | 1 +
 libdecor/src/plugins/gtk/libdecor-gtk.c     | 1 +
 2 files changed, 2 insertions(+)

diff --git libdecor/src/plugins/cairo/libdecor-cairo.c libdecor/src/plugins/cairo/libdecor-cairo.c
index 595e95f..aa46a0d 100644
--- libdecor/src/plugins/cairo/libdecor-cairo.c
+++ libdecor/src/plugins/cairo/libdecor-cairo.c
@@ -2380,6 +2380,7 @@ pointer_button(void *data,
 #else
                                         if (closeable(frame_cairo)) {
 						libdecor_frame_close(&frame_cairo->frame);
+                                                seat->pointer_focus = NULL;
                                                 return;
                                         }
 #endif
diff --git libdecor/src/plugins/gtk/libdecor-gtk.c libdecor/src/plugins/gtk/libdecor-gtk.c
index 9126570..12d40a2 100644
--- libdecor/src/plugins/gtk/libdecor-gtk.c
+++ libdecor/src/plugins/gtk/libdecor-gtk.c
@@ -2229,6 +2229,7 @@ pointer_button(void *data,
                                         if (closeable(frame_gtk)) {
 						libdecor_frame_close(
 							&frame_gtk->frame);
+                                                seat->pointer_focus = NULL;
                                                 return;
                                         }
 #endif
Direct Link to Message ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.