mirror of
https://github.com/pinnacle-comp/pinnacle.git
synced 2024-12-26 21:58:10 +01:00
Return instead of asserting
This commit is contained in:
parent
60e5910bfc
commit
ce22883125
1 changed files with 4 additions and 1 deletions
|
@ -42,7 +42,10 @@ impl XwmHandler for State {
|
|||
fn map_window_request(&mut self, _xwm: XwmId, surface: X11Surface) {
|
||||
trace!("XwmHandler::map_window_request");
|
||||
|
||||
assert!(!surface.is_override_redirect());
|
||||
if surface.is_override_redirect() {
|
||||
// Steam games that reach this: Ori and the Will of the Wisps, Pizza Tower
|
||||
return;
|
||||
}
|
||||
|
||||
let window = WindowElement::new(Window::new_x11_window(surface));
|
||||
self.space.map_element(window.clone(), (0, 0), true);
|
||||
|
|
Loading…
Reference in a new issue