Page MenuHomeFreeBSD

x11/libxfce4menu: Update fix for leaked keygrabs when layout changes

Authored by madpilot on May 25 2020, 8:30 AM.



Update to the fix proposed by cem in [1].

This patch uses the glib GArray API to have growing list of old keycodes instead of using a fixed size array.

The patch is submitted upstream at [2].



Test Plan

I'm runing this on my machine without problems.

I'd like someone else to confirm it works properly.

Diff Detail

rP FreeBSD ports repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

17 ↗(On Diff #72217)

I suspect this check is not really necessary anymore, but not completely sure.

I also was not able to find documentation about the behavior of g_array_index() when one asks to access an element beyond the end of the array.

Align patch with the one sent upstream.

madpilot accepted this revision.
This revision is now accepted and ready to land.Jul 15 2020, 1:24 PM