portal: add a desktop portal
This commit is contained in:
parent
323a6ed953
commit
a162055f1d
38 changed files with 2389 additions and 27 deletions
|
|
@ -13,6 +13,7 @@ pub struct UsrWpViewport {
|
|||
}
|
||||
|
||||
impl UsrWpViewport {
|
||||
#[allow(dead_code)]
|
||||
pub fn set_source(&self, x: Fixed, y: Fixed, width: Fixed, height: Fixed) {
|
||||
self.con.request(SetSource {
|
||||
self_id: self.id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue