config: add WM_CLASS window criteria
This commit is contained in:
parent
6d3d4dcabb
commit
faa0b27ef8
15 changed files with 159 additions and 10 deletions
|
|
@ -90,8 +90,8 @@ pub struct XwindowInfo {
|
|||
pub override_redirect: Cell<bool>,
|
||||
pub extents: Cell<Rect>,
|
||||
pub pending_extents: Cell<Rect>,
|
||||
pub instance: RefCell<Option<BString>>,
|
||||
pub class: RefCell<Option<BString>>,
|
||||
pub instance: RefCell<Option<String>>,
|
||||
pub class: RefCell<Option<String>>,
|
||||
pub title: RefCell<Option<String>>,
|
||||
pub role: RefCell<Option<BString>>,
|
||||
pub protocols: CopyHashMap<u32, ()>,
|
||||
|
|
@ -211,7 +211,7 @@ impl Xwindow {
|
|||
&data.state,
|
||||
data.info.title.borrow_mut().clone().unwrap_or_default(),
|
||||
Some(surface.client.clone()),
|
||||
ToplevelType::XWindow,
|
||||
ToplevelType::XWindow(data.clone()),
|
||||
id,
|
||||
weak,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue