mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 16:34:18 +09:00
[common,settings] MonitorLocalShift[XY] compat
Allow unsigned access to MonitorLocalShift[XY] values for compatibility with older releases.
This commit is contained in:
@@ -324,6 +324,9 @@ try:
|
||||
getter_list = dict(type_list)
|
||||
setter_list = dict(type_list)
|
||||
setter_list2 = dict(type_list)
|
||||
# Compatibility with older 3.x releases where the value was wrongly an unsigned type
|
||||
getter_list['UINT32'].append('MonitorLocalShiftX')
|
||||
getter_list['UINT32'].append('MonitorLocalShiftY')
|
||||
write_getter(f, getter_list, 'BOOL', 'bool', '')
|
||||
write_setter(f, setter_list, 'BOOL', 'bool', '')
|
||||
write_getter(f, getter_list, 'UINT16', 'uint16', '')
|
||||
|
||||
Reference in New Issue
Block a user