Skip to content
Commit 6c4816f6 authored by Antonio Ospite's avatar Antonio Ospite Committed by Michael Catanzaro
Browse files

libgnomekbd/gkbd-keyboard-drawing.c: fix modifier key pressed state

When track_modifiers is true and a modifier key gets pressed, do not
free and reallocate the data and, in particular, do not reallocate
drawing->keys zeroing it; this would result in the modifier keys pressed
states to be forgotten and the modifier keys not to be shown as pressed
when in fact they are (the keyboard symbols reflect the shift level
correctly).

Fix the current situation, allowing the modifier keys pressed state to
be drawn correctly.

https://bugzilla.gnome.org/show_bug.cgi?id=734621
parent f3c64c94
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment