Fix error from blocking removed Gdk.Display.get_device_state.
Gdk.Display.get_device_state() was removed in favor of a non-GdkModifierType returning Gdk.Device.get_position(). But block Gdk.Device.get_state() which does return a GdkModifierType mask. https://bugzilla.gnome.org/show_bug.cgi?id=638158
This commit is contained in:
parent
f8eb881728
commit
2763d8dcc1
@ -88,7 +88,7 @@ function init() {
|
|||||||
|
|
||||||
_blockMethod('Clutter.Event.get_state', 'Shell.get_event_state',
|
_blockMethod('Clutter.Event.get_state', 'Shell.get_event_state',
|
||||||
'gjs\'s handling of Clutter.ModifierType is broken. See bug 597292.');
|
'gjs\'s handling of Clutter.ModifierType is broken. See bug 597292.');
|
||||||
_blockMethod('Gdk.Display.get_device_state', 'global.get_pointer',
|
_blockMethod('Gdk.Device.get_state', 'global.get_pointer',
|
||||||
'gjs\'s handling of Gdk.ModifierType is broken. See bug 597292.');
|
'gjs\'s handling of Gdk.ModifierType is broken. See bug 597292.');
|
||||||
_blockMethod('Gdk.Window.get_device_position', 'global.get_pointer',
|
_blockMethod('Gdk.Window.get_device_position', 'global.get_pointer',
|
||||||
'gjs\'s handling of Gdk.ModifierType is broken. See bug 597292.');
|
'gjs\'s handling of Gdk.ModifierType is broken. See bug 597292.');
|
||||||
|
Loading…
Reference in New Issue
Block a user