chore: remove repetitive words (#3599)
This commit is contained in:
parent
ba10c35240
commit
9067426dca
3 changed files with 3 additions and 3 deletions
|
|
@ -46,7 +46,7 @@ pub enum WindowType {
|
||||||
/// This should be used on the windows that are popped up by combo boxes.
|
/// This should be used on the windows that are popped up by combo boxes.
|
||||||
/// This property is typically used on override-redirect windows.
|
/// This property is typically used on override-redirect windows.
|
||||||
Combo,
|
Combo,
|
||||||
/// This indicates the the window is being dragged.
|
/// This indicates the window is being dragged.
|
||||||
/// This property is typically used on override-redirect windows.
|
/// This property is typically used on override-redirect windows.
|
||||||
Dnd,
|
Dnd,
|
||||||
/// This is a normal, top-level window.
|
/// This is a normal, top-level window.
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ pub(crate) struct ImeInner {
|
||||||
// WARNING: this is initially zeroed!
|
// WARNING: this is initially zeroed!
|
||||||
pub destroy_callback: ffi::XIMCallback,
|
pub destroy_callback: ffi::XIMCallback,
|
||||||
pub event_sender: ImeEventSender,
|
pub event_sender: ImeEventSender,
|
||||||
// Indicates whether or not the the input method was destroyed on the server end
|
// Indicates whether or not the input method was destroyed on the server end
|
||||||
// (i.e. if ibus/fcitx/etc. was terminated/restarted)
|
// (i.e. if ibus/fcitx/etc. was terminated/restarted)
|
||||||
pub is_destroyed: bool,
|
pub is_destroyed: bool,
|
||||||
pub is_fallback: bool,
|
pub is_fallback: bool,
|
||||||
|
|
|
||||||
|
|
@ -386,7 +386,7 @@ impl<T: 'static> EventLoop<T> {
|
||||||
/// Fetch the next MSG either via PeekMessage or GetMessage depending on whether the
|
/// Fetch the next MSG either via PeekMessage or GetMessage depending on whether the
|
||||||
/// requested timeout is `ZERO` (and so we don't want to block)
|
/// requested timeout is `ZERO` (and so we don't want to block)
|
||||||
///
|
///
|
||||||
/// Returns `None` if if no MSG was read, else a `Continue` or `Exit` status
|
/// Returns `None` if no MSG was read, else a `Continue` or `Exit` status
|
||||||
fn wait_for_msg(msg: &mut MSG, timeout: Option<Duration>) -> Option<PumpStatus> {
|
fn wait_for_msg(msg: &mut MSG, timeout: Option<Duration>) -> Option<PumpStatus> {
|
||||||
if timeout == Some(Duration::ZERO) {
|
if timeout == Some(Duration::ZERO) {
|
||||||
unsafe {
|
unsafe {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue