- Opens for text-input-v3 fields, terminals, launcher search, Network password, emoji picker and the password dialog; a KB pill summons it manually. - Enabled on CHASSIS=handset; CHANDRA_OSK=1|0 overrides, and it stays off under CHANDRA_TEST_CONFIG. - Work area and panel popups shrink above the keyboard so focused content stays visible. - Keys send evdev codes with Shift, Ctrl and Alt modifiers. - chandra-ctl: `screenshot [PATH]` saves a PNG without opening the editor. - Key names cover the full punctuation set and shifted symbols. - Launcher plasmoid min width drops from 60 to 36.
This commit is contained in:
1 parent
1205329abd
commit
905dab8725
21 files changed
+1335
-68
No files matched your search
@@ -181,7 +181,12 @@ fn ChandraCompositor::emoji_place(self : ChandraCompositor, ui : EmojiUi) -> Uni
|
||||
let (ox, oy) = win.surface_origin()
|
||||
x = ox + cx
|
||||
y = oy + cy + ch + 6
|
||||
if y + h > sh - self.theme.panel_height {
|
||||
let bottom_edge = if self.osk_visible {
|
||||
self.output_h - self.osk_height()
|
||||
} else {
|
||||
sh - self.theme.panel_height
|
||||
}
|
||||
if y + h > bottom_edge {
|
||||
y = oy + cy - h - 6 // no room under the caret: above it
|
||||
}
|
||||
}
|
||||
@@ -195,8 +200,9 @@ fn ChandraCompositor::emoji_place(self : ChandraCompositor, ui : EmojiUi) -> Uni
|
||||
}
|
||||
None => ()
|
||||
}
|
||||
x = x.min(sw - w - 8).max(8)
|
||||
y = y.min(sh - h - 8).max(8)
|
||||
x = x.min((sw - w - 8).max(8)).max(8)
|
||||
let max_y = (if self.osk_visible { sh - self.osk_height() } else { sh }) - h - 8
|
||||
y = y.min(max_y.max(8)).max(8)
|
||||
ui.rect = @scene.Rect::new(x, y, w, h)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user