Use wlroots scene-graph API

Move xdg-shell and xwayland-shell surfaces to new API

Also render alt-tab on-screen-display by converting cairo-surface to
wlr_buffer
This commit is contained in:
Johan Malm 2022-02-11 23:12:45 +00:00
parent d2552232c7
commit 532656ad5b
16 changed files with 189 additions and 1465 deletions

View file

@ -2,6 +2,7 @@
#include <wlr/backend/multi.h>
#include <wlr/backend/session.h>
#include "action.h"
#include "buffer.h"
#include "key-state.h"
#include "labwc.h"
@ -49,6 +50,8 @@ keyboard_modifiers_notify(struct wl_listener *listener, void *data)
server->cycle_view);
desktop_move_to_front(server->cycle_view);
server->cycle_view = NULL;
wlr_scene_node_set_enabled(
&server->osd_tree->node, false);
}
}