make apps think that they are fullscreen
This commit is contained in:
@@ -235,6 +235,7 @@ impl XdgShellHandler for Application {
|
|||||||
}
|
}
|
||||||
surface.with_pending_state(|state| {
|
surface.with_pending_state(|state| {
|
||||||
state.states.set(xdg_toplevel::State::Activated);
|
state.states.set(xdg_toplevel::State::Activated);
|
||||||
|
state.states.set(xdg_toplevel::State::Fullscreen);
|
||||||
});
|
});
|
||||||
surface.send_configure();
|
surface.send_configure();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user