Update Smithay, with Window that supports X11 surfaces

This commit is contained in:
Ian Douglas Scott 2024-02-21 13:24:56 -08:00 committed by Victoria Brekenfeld
parent 849882a7db
commit 3036448c19
24 changed files with 482 additions and 619 deletions

View file

@ -1156,7 +1156,9 @@ impl State {
}
InputEvent::TouchDown { event, .. } => {
if let Some(seat) = self.common.seat_with_device(&event.device()).cloned() {
let Some(output) = mapped_output_for_device(&self.common, &event.device()).cloned() else {
let Some(output) =
mapped_output_for_device(&self.common, &event.device()).cloned()
else {
return;
};
@ -1187,7 +1189,9 @@ impl State {
}
InputEvent::TouchMotion { event, .. } => {
if let Some(seat) = self.common.seat_with_device(&event.device()).cloned() {
let Some(output) = mapped_output_for_device(&self.common, &event.device()).cloned() else {
let Some(output) =
mapped_output_for_device(&self.common, &event.device()).cloned()
else {
return;
};
@ -1227,7 +1231,9 @@ impl State {
InputEvent::TouchFrame { event: _, .. } => {}
InputEvent::TabletToolAxis { event, .. } => {
if let Some(seat) = self.common.seat_with_device(&event.device()).cloned() {
let Some(output) = mapped_output_for_device(&self.common, &event.device()).cloned() else {
let Some(output) =
mapped_output_for_device(&self.common, &event.device()).cloned()
else {
return;
};
let geometry = output.geometry();
@ -1288,7 +1294,9 @@ impl State {
}
InputEvent::TabletToolProximity { event, .. } => {
if let Some(seat) = self.common.seat_with_device(&event.device()).cloned() {
let Some(output) = mapped_output_for_device(&self.common, &event.device()).cloned() else {
let Some(output) =
mapped_output_for_device(&self.common, &event.device()).cloned()
else {
return;
};
let geometry = output.geometry();