mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-21 02:01:55 +07:00
layout: Remove width and is_full_width from InsertHint
They were unused.
This commit is contained in:
@@ -2792,8 +2792,6 @@ impl<W: LayoutElement> Layout<W> {
|
||||
|
||||
ws.set_insert_hint(InsertHint {
|
||||
position,
|
||||
width: move_.width,
|
||||
is_full_width: move_.is_full_width,
|
||||
corner_radius,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -110,8 +110,6 @@ pub enum InsertPosition {
|
||||
#[derive(Debug)]
|
||||
pub struct InsertHint {
|
||||
pub position: InsertPosition,
|
||||
pub width: ColumnWidth,
|
||||
pub is_full_width: bool,
|
||||
pub corner_radius: CornerRadius,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user