Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
68912f6d64
commit
444d67ac79
7 files changed
+51
-16
No files matched your search
@@ -537,7 +537,7 @@ fn work_area_for(
|
||||
|
||||
///| Recompute the window work area and shell popup clearance (e.g. when OSK opens/closes).
|
||||
fn ChandraCompositor::recompute_work_area(self : ChandraCompositor) -> Unit {
|
||||
let bottom_extra = if self.osk_visible { self.osk_height() } else { 0 }
|
||||
let bottom_extra = self.osk_bottom_inset()
|
||||
self.work_area = work_area_for(
|
||||
self.output_w,
|
||||
self.output_h,
|
||||
@@ -627,7 +627,7 @@ pub fn ChandraCompositor::resize(self : ChandraCompositor, w : Int, h : Int) ->
|
||||
}
|
||||
self.output_w = w
|
||||
self.output_h = h
|
||||
let bottom_extra = if self.osk_visible { self.osk_height() } else { 0 }
|
||||
let bottom_extra = self.osk_bottom_inset()
|
||||
self.work_area = work_area_for(w, h, self.theme, kiosk=self.kiosk_strict(), bottom_extra~)
|
||||
self.close_overlay() // its frozen frame is the old size
|
||||
self.stop_recording()
|
||||
@@ -1912,7 +1912,7 @@ pub fn ChandraCompositor::sync_window_style(self : ChandraCompositor) -> Unit {
|
||||
window_style.val = style
|
||||
self.wm.titlebar_h = frame_top()
|
||||
self.wm.border_w = frame_side()
|
||||
let bottom_extra = if self.osk_visible { self.osk_height() } else { 0 }
|
||||
let bottom_extra = self.osk_bottom_inset()
|
||||
self.work_area = work_area_for(
|
||||
self.output_w,
|
||||
self.output_h,
|
||||
|
||||
Reference in new issue
Block a user