mirror of https://github.com/wayvr-org/wayvr.git
fix mirrors only allowing screens
This commit is contained in:
parent
9e43b9b3ad
commit
786660a4d5
|
|
@ -484,9 +484,9 @@ impl ScreenCastManager {
|
|||
))?;
|
||||
|
||||
let requested_types = if params.screens_only {
|
||||
SOURCE_MONITOR | SOURCE_WINDOW | SOURCE_VIRTUAL
|
||||
} else {
|
||||
SOURCE_MONITOR
|
||||
} else {
|
||||
SOURCE_MONITOR | SOURCE_WINDOW | SOURCE_VIRTUAL
|
||||
};
|
||||
|
||||
let source_types = requested_types & globals.source_types;
|
||||
|
|
|
|||
Loading…
Reference in New Issue