Skip to content
Snippets Groups Projects
Commit 877b31b3 authored by Zach Hilman's avatar Zach Hilman
Browse files

software_keyboard: Signal state changed event upon construction

Previously, ILibraryAppletAccessor would signal upon creation of any applet, but this is incorrect. A flag inside of the applet code determines whether or not creation should signal state change and swkbd happens to be one of these applets.
parent 76525013
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,12 @@ static Core::Frontend::SoftwareKeyboardParameters ConvertToFrontendParameters( ...@@ -38,7 +38,12 @@ static Core::Frontend::SoftwareKeyboardParameters ConvertToFrontendParameters(
return params; return params;
} }
SoftwareKeyboard::SoftwareKeyboard() = default; SoftwareKeyboard::SoftwareKeyboard() {
// Some applets require this to be signalled on applet creation, some do not. Internally, this
// is done by a flag in the applet module, but for simplicity SoftwareKeyboard is one of the
// applets with this flag.
broker.SignalStateChanged();
}
SoftwareKeyboard::~SoftwareKeyboard() = default; SoftwareKeyboard::~SoftwareKeyboard() = default;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment