Set appid/wmclass for zed window (#10909)
fixes https://github.com/zed-industries/zed/issues/9132 By setting the app id, window managers like `sway` can apply custom configuration like `for_window [app_id="zed"] floating enable`. Tested using `wlprop`/`hyprctl activewindow` for wayland, `xprop` for x11. Release Notes: - Zed now sets the window app id / class, which can be used e.g. in window managers like `sway`/`i3` to define custom rules
This commit is contained in:
parent
5674ba2a49
commit
2386ae9f0e
11 changed files with 46 additions and 2 deletions
|
@ -188,6 +188,7 @@ mod tests {
|
|||
kind: WindowKind::PopUp,
|
||||
is_movable: false,
|
||||
fullscreen: false,
|
||||
app_id: None,
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -239,7 +240,7 @@ mod tests {
|
|||
// The break between chunks is right before the "Specify the display_id" comment
|
||||
|
||||
assert_eq!(chunks[1].range.start, 1498);
|
||||
assert_eq!(chunks[1].range.end, 2396);
|
||||
assert_eq!(chunks[1].range.end, 2434);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue