mirror of
https://github.com/deskflow/deskflow.git
synced 2026-06-25 21:12:01 +08:00
Removing positional union initialisation (#6918)
* Removing positional union initialisation * udpated changelog
This commit is contained in:
parent
6cdd5a0583
commit
ec79083753
@ -4,6 +4,7 @@ Bug fixes:
|
||||
- #6900 Remaining SonarCloud reported bug items (test fixed)
|
||||
- #6889 Systray Icon on Ubuntu Auto Start (take 2)
|
||||
- #6910 Don't use the word “Version” for release names because it can lead to errors during update checking.
|
||||
- #6918 Removing positional union initialisation
|
||||
===========
|
||||
|
||||
v1.13.0-stable
|
||||
|
||||
@ -1329,13 +1329,18 @@ KeyMap::Keystroke::Keystroke(KeyButton button,
|
||||
bool press, bool repeat, UInt32 data) :
|
||||
m_type(kButton), m_data{}
|
||||
{
|
||||
m_data.m_button = {button, press, repeat, data};
|
||||
m_data.m_button.m_button = button;
|
||||
m_data.m_button.m_press = press;
|
||||
m_data.m_button.m_repeat = repeat;
|
||||
m_data.m_button.m_client = data;
|
||||
}
|
||||
|
||||
KeyMap::Keystroke::Keystroke(SInt32 group, bool absolute, bool restore) :
|
||||
m_type(kGroup), m_data{}
|
||||
{
|
||||
m_data.m_group = {group, absolute, restore};
|
||||
m_data.m_group.m_group = group;
|
||||
m_data.m_group.m_absolute = absolute;
|
||||
m_data.m_group.m_restore = restore;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user