Removed extra debug prints
This commit is contained in:
@@ -146,7 +146,6 @@ impl<A: App> AppData<A>
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
eprintln!( "ltk: set_focus idx={:?} is_text_input={} was_text_input={}", idx, is_text_input, was_text_input );
|
|
||||||
if was_text_input && !is_text_input
|
if was_text_input && !is_text_input
|
||||||
{
|
{
|
||||||
self.deactivate_text_input();
|
self.deactivate_text_input();
|
||||||
|
|||||||
@@ -825,7 +825,6 @@ pub( crate ) fn try_run<A: App>( app: A ) -> Result<(), RunError>
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
eprintln!( "ltk: focus_request id={:?} resolved={}", id, hit.is_some() );
|
|
||||||
if let Some( ( focus, flat_idx ) ) = hit
|
if let Some( ( focus, flat_idx ) ) = hit
|
||||||
{
|
{
|
||||||
let qh = data.qh.clone();
|
let qh = data.qh.clone();
|
||||||
|
|||||||
@@ -46,7 +46,6 @@ impl<A: App> KeyboardHandler for AppData<A>
|
|||||||
{
|
{
|
||||||
let focus = self.focus_for_surface( surface ).unwrap_or( SurfaceFocus::Main );
|
let focus = self.focus_for_surface( surface ).unwrap_or( SurfaceFocus::Main );
|
||||||
let _ = surface;
|
let _ = surface;
|
||||||
eprintln!( "ltk: wl_keyboard.enter focus={:?}", focus );
|
|
||||||
self.keyboard_focus = focus;
|
self.keyboard_focus = focus;
|
||||||
self.surface_mut( focus ).request_redraw();
|
self.surface_mut( focus ).request_redraw();
|
||||||
if let Some( ref mut a ) = self.a11y { a.set_window_focus( true ); }
|
if let Some( ref mut a ) = self.a11y { a.set_window_focus( true ); }
|
||||||
@@ -61,7 +60,6 @@ impl<A: App> KeyboardHandler for AppData<A>
|
|||||||
_serial: u32,
|
_serial: u32,
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
eprintln!( "ltk: wl_keyboard.leave" );
|
|
||||||
self.stop_key_repeat();
|
self.stop_key_repeat();
|
||||||
self.keyboard_focus = SurfaceFocus::Main;
|
self.keyboard_focus = SurfaceFocus::Main;
|
||||||
if let Some( ref mut a ) = self.a11y { a.set_window_focus( false ); }
|
if let Some( ref mut a ) = self.a11y { a.set_window_focus( false ); }
|
||||||
@@ -76,7 +74,6 @@ impl<A: App> KeyboardHandler for AppData<A>
|
|||||||
event: KeyEvent,
|
event: KeyEvent,
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
eprintln!( "ltk: press_key keysym={:?} focus={:?}", event.keysym, self.keyboard_focus );
|
|
||||||
let focus = self.keyboard_focus;
|
let focus = self.keyboard_focus;
|
||||||
// Raw observer hook (e.g. forwarding to an embedded WPE view).
|
// Raw observer hook (e.g. forwarding to an embedded WPE view).
|
||||||
// Fires before the focus-aware dispatch.
|
// Fires before the focus-aware dispatch.
|
||||||
|
|||||||
Reference in New Issue
Block a user