Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
squeekboard
Commits
02c24a50
Commit
02c24a50
authored
Jan 14, 2020
by
Dorota Czaplejewicz
Browse files
submission: Remove wildcard reexport
parent
26dbcdeb
Changes
2
Show whitespace changes
Inline
Side-by-side
src/submission.rs
View file @
02c24a50
...
...
@@ -18,11 +18,7 @@
* */
use
::
imservice
::
IMService
;
//use ::vkeyboard::VirtualKeyboard;
/// Temporary reexport to keep stuff based directly on virtual-keyboard working
/// until a unified handler appears and prompts a rework.
pub
use
vkeyboard
::
*
;
use
::
vkeyboard
::
VirtualKeyboard
;
/// Gathers stuff defined in C or called by C
pub
mod
c
{
...
...
@@ -93,6 +89,9 @@ pub mod c {
}
}
#[derive(Clone,
Copy)]
pub
struct
Timestamp
(
pub
u32
);
pub
struct
Submission
{
// used by C callbacks internally, TODO: make use with virtual keyboard
#[allow(dead_code)]
...
...
src/vkeyboard.rs
View file @
02c24a50
...
...
@@ -2,6 +2,7 @@
use
::
keyboard
::{
KeyCode
,
PressType
};
use
::
layout
::
c
::
LevelKeyboard
;
use
::
submission
::
Timestamp
;
/// Gathers stuff defined in C or called by C
pub
mod
c
{
...
...
@@ -28,9 +29,6 @@ pub mod c {
}
}
#[derive(Clone,
Copy)]
pub
struct
Timestamp
(
pub
u32
);
/// Layout-independent backend. TODO: Have one instance per program or seat
pub
struct
VirtualKeyboard
(
pub
c
::
ZwpVirtualKeyboardV1
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment