Report an error when trying to open ui in linux::headless (#11952)
Release Notes: - N/A
This commit is contained in:
parent
9d10969906
commit
b890fa71ff
5 changed files with 25 additions and 0 deletions
|
@ -108,6 +108,9 @@ pub(crate) trait Platform: 'static {
|
|||
fn displays(&self) -> Vec<Rc<dyn PlatformDisplay>>;
|
||||
fn primary_display(&self) -> Option<Rc<dyn PlatformDisplay>>;
|
||||
fn active_window(&self) -> Option<AnyWindowHandle>;
|
||||
fn can_open_windows(&self) -> anyhow::Result<()> {
|
||||
Ok(())
|
||||
}
|
||||
fn open_window(
|
||||
&self,
|
||||
handle: AnyWindowHandle,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue