-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: Enable necessary protocols for supporting IMEs
I'm not entirely sure how text input focus should be managed: Smithay/smithay#1038. This "works" but is missing a bit of code to actually render the IME surface, and the code in anvil calling `set_point` (I'm not sure exactly what that is for or where/how it should be set here).
- Loading branch information
Showing
6 changed files
with
37 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// SPDX-License-Identifier: GPL-3.0-only | ||
|
||
// TODO: Restrict what applications can use protocol? At least don't allow in | ||
// sandboxed app. | ||
|
||
use crate::state::State; | ||
use smithay::delegate_input_method_manager; | ||
|
||
delegate_input_method_manager!(State); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// SPDX-License-Identifier: GPL-3.0-only | ||
|
||
use crate::state::State; | ||
use smithay::delegate_text_input_manager; | ||
|
||
delegate_text_input_manager!(State); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// SPDX-License-Identifier: GPL-3.0-only | ||
|
||
use crate::state::State; | ||
use smithay::delegate_virtual_keyboard_manager; | ||
|
||
delegate_virtual_keyboard_manager!(State); |