T21: on X11 the window names its pane in _KDE_NET_WM_BLUR_BEHIND_REGION and drops it when Blurred goes; Ely's new ResizeBorder::glass leaves a client-drawn window's pane to the content, without ground or shadow, so a Linux window shows the desktop at all; T20's region and this property cover the pane alone, worked out each frame and sent only on a change; the Ely pin moves to 5dc4dd1; the X11 test runs its own Xvfb
This commit is contained in:
11 files changed
+339
-45
No files matched your search
+3
-1
@@ -320,7 +320,8 @@ fn show_tab(value: &SharedString, cx: &mut App) {
|
||||
}
|
||||
|
||||
impl Render for Workspace {
|
||||
fn render(&mut self, _: &mut Window, cx: &mut Context<Self>) -> impl IntoElement {
|
||||
fn render(&mut self, window: &mut Window, cx: &mut Context<Self>) -> impl IntoElement {
|
||||
self.background.fit(window);
|
||||
let settings = SettingsStore::get(cx);
|
||||
let width = cx.theme().sidebar_width(false);
|
||||
let mut shell = ColumnShell::new("workspace").glass();
|
||||
@@ -434,6 +435,7 @@ impl Render for Workspace {
|
||||
}))
|
||||
.child(
|
||||
ResizeBorder::new()
|
||||
.when(self.background.see_through(), ResizeBorder::glass)
|
||||
.child(FocusScope::new(&self.focus).root().size_full().child(shell)),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user