text: Launch input method in text_backend_init
Previously we tried to launch the input method every time a seat was created, and the launch function would notice it was running and not bother to actually launch. Signed-off-by: Derek Foreman <derekf@osg.samsung.com>
This commit is contained in:
committed by
Bryce Harrington
parent
e7d868aaad
commit
b4bacd258d
+2
-2
@@ -1005,8 +1005,6 @@ text_backend_seat_created(struct text_backend *text_backend,
|
|||||||
wl_signal_add(&seat->destroy_signal, &input_method->destroy_listener);
|
wl_signal_add(&seat->destroy_signal, &input_method->destroy_listener);
|
||||||
|
|
||||||
seat->input_method = input_method;
|
seat->input_method = input_method;
|
||||||
|
|
||||||
launch_input_method(text_backend);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@@ -1071,5 +1069,7 @@ text_backend_init(struct weston_compositor *ec)
|
|||||||
|
|
||||||
text_input_manager_create(ec);
|
text_input_manager_create(ec);
|
||||||
|
|
||||||
|
launch_input_method(text_backend);
|
||||||
|
|
||||||
return text_backend;
|
return text_backend;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user