mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-26 06:59:52 -05:00
Add support for fullscreen xwayland views
This commit is contained in:
parent
b04a9a248d
commit
80998cdf57
3 changed files with 26 additions and 0 deletions
|
|
@ -382,6 +382,10 @@ static void output_fullscreen_surface_handle_destroy(
|
|||
void wlr_output_set_fullscreen_surface(struct wlr_output *output,
|
||||
struct wlr_surface *surface) {
|
||||
// TODO: hardware fullscreen
|
||||
if (output->fullscreen_surface == surface) {
|
||||
return;
|
||||
}
|
||||
|
||||
output_fullscreen_surface_reset(output);
|
||||
|
||||
output->fullscreen_surface = surface;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue