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