mirror of
https://github.com/RustyRaptor/plasma-keyboard.git
synced 2026-12-03 15:55:19 -07:00
Mark sounds as events
As described here: https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/Developer/Clients/ApplicationProperties/ Fixes #45
This commit is contained in:
1 parent
bf017497fe
commit
acdc6740d8
1 file changed
+1
@@ -52,6 +52,7 @@ int main(int argc, char **argv)
|
||||
{
|
||||
qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard"));
|
||||
qputenv("QT_WAYLAND_INPUT_PANEL_TOPLEVEL", QByteArray("1"));
|
||||
qputenv("PULSE_PROP_media.role", "event");
|
||||
|
||||
// PLASMA_KEYBOARD_USE_QT_LAYOUTS - whether to use Qt's builtin keyboard layouts rather than our own.
|
||||
bool useQtLayouts = QByteArrayList{"1", "true"}.contains(qgetenv("PLASMA_KEYBOARD_USE_QT_LAYOUTS").toLower());
|
||||
|
||||
Reference in new issue
Block a user