Commit 57086c34 authored by Bhushan Shah's avatar Bhushan Shah 📱
Browse files

wayland: fix check for creating input method connection

Previously code was if socket fd is greater then 0, then we start
process, but new code in 05ebe676 reversed logic. So this
made it not start input method at all.
parent 69adaf64
......@@ -254,7 +254,7 @@ void ApplicationWayland::startInputMethod(const QString &executable)
const QString program = arguments.takeFirst();
int socket = dup(waylandServer()->createInputMethodConnection());
if (socket >= 0) {
if (socket < 0) {
qWarning("Failed to create the input method connection");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment