revert X Property change, and cleanup formatting

This commit is contained in:
Ashley Wulber 2021-12-29 17:31:01 -05:00
parent 5a4a802751
commit 65f43a9300
32 changed files with 459 additions and 429 deletions

View file

@ -1,12 +1,14 @@
use crate::utils::BoxedWindowList;
use std::cell::Cell;
use std::cell::RefCell;
use gio::DesktopAppInfo;
use glib::{ParamFlags, ParamSpec, Value};
use gtk4::glib;
use gtk4::prelude::*;
use gtk4::subclass::prelude::*;
use once_cell::sync::Lazy;
use std::cell::Cell;
use std::cell::RefCell;
use crate::utils::BoxedWindowList;
// Object holding the state
#[derive(Default)]

View file

@ -1,11 +1,13 @@
mod imp;
use std::path::Path;
use crate::utils::BoxedWindowList;
use gdk4::glib::Object;
use gio::DesktopAppInfo;
use gtk4::glib;
use gtk4::prelude::AppInfoExt;
use std::path::Path;
use crate::utils::BoxedWindowList;
mod imp;
glib::wrapper! {
pub struct DockObject(ObjectSubclass<imp::DockObject>);