Btw, I've talked with Xorg developpers. From what I understood the bug is likely to get fixed if you configured your keyboard via gnome. Currently there's no plan to fix it for people using xmodmap (you can re-run xmodmap when going out of suspend anyway).
The change is due to the switch to evdev, after the suspend/resume the keyboard is viewed as a new keyboard.
Btw, I've talked with Xorg developpers. From what I understood the bug is likely to get fixed if you configured your keyboard via gnome. Currently there's no plan to fix it for people using xmodmap (you can re-run xmodmap when going out of suspend anyway).
The change is due to the switch to evdev, after the suspend/resume the keyboard is viewed as a new keyboard.