The manager is used for sizing the layer surface. It promises never to exceed half the output height. The selection of the current layout is not being done here, leading to worse behaviour in 1:1 scaling. In the future, it could be used for sizing the keyboard itself and the suggestion box, as well as decide which layout to use, because layouts should have some sizing hints.
		
			
				
	
	
		
			41 lines
		
	
	
		
			651 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			651 B
		
	
	
	
		
			Rust
		
	
	
	
	
	
#[macro_use]
 | 
						|
extern crate bitflags;
 | 
						|
extern crate cairo;
 | 
						|
extern crate cairo_sys;
 | 
						|
extern crate gdk;
 | 
						|
extern crate gio;
 | 
						|
extern crate glib;
 | 
						|
extern crate glib_sys;
 | 
						|
extern crate gtk;
 | 
						|
extern crate gtk_sys;
 | 
						|
#[allow(unused_imports)]
 | 
						|
#[macro_use] // only for tests
 | 
						|
extern crate maplit;
 | 
						|
extern crate regex;
 | 
						|
extern crate serde;
 | 
						|
extern crate xkbcommon;
 | 
						|
 | 
						|
#[macro_use]
 | 
						|
mod logging;
 | 
						|
 | 
						|
mod action;
 | 
						|
pub mod data;
 | 
						|
mod drawing;
 | 
						|
pub mod float_ord;
 | 
						|
pub mod imservice;
 | 
						|
mod keyboard;
 | 
						|
mod layout;
 | 
						|
mod locale;
 | 
						|
mod locale_config;
 | 
						|
mod manager;
 | 
						|
mod outputs;
 | 
						|
mod popover;
 | 
						|
mod resources;
 | 
						|
mod style;
 | 
						|
mod submission;
 | 
						|
pub mod tests;
 | 
						|
pub mod util;
 | 
						|
mod ui_manager;
 | 
						|
mod vkeyboard;
 | 
						|
mod xdg;
 |