Changing the key masks to the values of GDK.