Add rustfmt.toml and reformat

This commit is contained in:
Ivan Molodetskikh
2023-08-07 19:45:55 +04:00
parent ad3c3f8cef
commit c6838b08e2
10 changed files with 153 additions and 147 deletions
+5 -5
View File
@@ -1,17 +1,17 @@
mod compositor;
mod xdg_shell;
use crate::Smallvil;
//
// Wl Seat
//
use smithay::input::{SeatHandler, SeatState};
use smithay::reexports::wayland_server::protocol::wl_surface::WlSurface;
use smithay::wayland::data_device::{ClientDndGrabHandler, DataDeviceHandler, ServerDndGrabHandler};
use smithay::wayland::data_device::{
ClientDndGrabHandler, DataDeviceHandler, ServerDndGrabHandler,
};
use smithay::{delegate_data_device, delegate_output, delegate_seat};
use crate::Smallvil;
impl SeatHandler for Smallvil {
type KeyboardFocus = WlSurface;
type PointerFocus = WlSurface;