Skip to content

Commit 5f724d6

Browse files
committed
fix agains some bad XWayland implementation
met under raspberry pi debian 13 trixie under wayland
1 parent 34e0acb commit 5f724d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

unix/event.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1830,7 +1830,7 @@ prima_handle_event( XEvent *ev, XEvent *next_event)
18301830
((ev-> type >= LASTEvent) ? "?" : xevdefs[ev-> type]),
18311831
self ? PWidget(self)-> name : "(NULL)");
18321832

1833-
if (!self)
1833+
if (!self || self == prima_guts.application)
18341834
return;
18351835
if ( XT_IS_MENU(X(self))) {
18361836
prima_handle_menu_event( ev, win, self);

0 commit comments

Comments
 (0)