Emit GdkDevice::changed when the slave device being used changes
When the slave device changes, the master takes the shape of the new one, modifying its axes, this signal is more useful to catch this situation than the n-axes property
This commit is contained in:
@ -499,6 +499,8 @@ handle_device_changed (GdkDeviceManagerXI2 *device_manager,
|
||||
|
||||
_gdk_device_reset_axes (device);
|
||||
translate_device_classes (display, device, ev->classes, ev->num_classes);
|
||||
|
||||
g_signal_emit_by_name (G_OBJECT (device), "changed");
|
||||
}
|
||||
|
||||
static GdkCrossingMode
|
||||
|
||||
Reference in New Issue
Block a user