all: remove control center in its entirety
This commit is contained in:
parent
1dfd6169f8
commit
769d12a525
97 changed files with 59 additions and 10580 deletions
|
|
@ -1,7 +1,6 @@
|
|||
use {
|
||||
crate::{
|
||||
backend::HardwareCursorUpdate,
|
||||
control_center::CCI_INPUT,
|
||||
cursor::{Cursor, DEFAULT_CURSOR_SIZE, KnownCursor},
|
||||
fixed::Fixed,
|
||||
gfx_api::{AcquireSync, ReleaseSync},
|
||||
|
|
@ -184,7 +183,6 @@ impl CursorUserGroup {
|
|||
self.remove_hardware_cursor();
|
||||
self.state.cursor_user_group_hardware_cursor.take();
|
||||
}
|
||||
self.state.trigger_cci(CCI_INPUT);
|
||||
}
|
||||
|
||||
pub fn hardware_cursor(&self) -> bool {
|
||||
|
|
@ -197,13 +195,9 @@ impl CursorUserGroup {
|
|||
self.state.remove_cursor_size(old);
|
||||
self.state.add_cursor_size(size);
|
||||
self.reload_known_cursor();
|
||||
self.state.trigger_cci(CCI_INPUT);
|
||||
}
|
||||
}
|
||||
|
||||
pub fn cursor_size(&self) -> u32 {
|
||||
self.size.get()
|
||||
}
|
||||
|
||||
fn output_center(&self, output: &Rc<OutputNode>) -> (Fixed, Fixed) {
|
||||
let pos = output.global.pos.get();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue