Add Window::set_ime_purpose
This adds a way to set the purpose for the IME input, implemented only on Wayland for now.
This commit is contained in:
parent
8f8da0f8bb
commit
1b4045dcb2
15 changed files with 160 additions and 22 deletions
|
|
@ -12,6 +12,7 @@ use crate::{
|
|||
error,
|
||||
platform_impl::Fullscreen,
|
||||
window,
|
||||
window::ImePurpose,
|
||||
};
|
||||
|
||||
use super::{
|
||||
|
|
@ -323,6 +324,9 @@ impl Window {
|
|||
#[inline]
|
||||
pub fn set_ime_allowed(&self, _allowed: bool) {}
|
||||
|
||||
#[inline]
|
||||
pub fn set_ime_purpose(&self, _purpose: ImePurpose) {}
|
||||
|
||||
#[inline]
|
||||
pub fn focus_window(&self) {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue