mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-04-04 07:15:55 -04:00
fix: extra scene to be create
This commit is contained in:
parent
140137c5dc
commit
26f1bccca7
1 changed files with 1 additions and 2 deletions
|
|
@ -3295,12 +3295,11 @@ mapnotify(struct wl_listener *listener, void *data) {
|
||||||
c->geom.width += 2 * c->bw;
|
c->geom.width += 2 * c->bw;
|
||||||
c->geom.height += 2 * c->bw;
|
c->geom.height += 2 * c->bw;
|
||||||
|
|
||||||
c->image_capture_scene = wlr_scene_create();
|
|
||||||
|
|
||||||
struct wlr_ext_foreign_toplevel_handle_v1_state foreign_toplevel_state = {
|
struct wlr_ext_foreign_toplevel_handle_v1_state foreign_toplevel_state = {
|
||||||
.app_id = client_get_appid(c),
|
.app_id = client_get_appid(c),
|
||||||
.title = client_get_title(c),
|
.title = client_get_title(c),
|
||||||
};
|
};
|
||||||
|
|
||||||
c->image_capture_scene = wlr_scene_create();
|
c->image_capture_scene = wlr_scene_create();
|
||||||
c->ext_foreign_toplevel = wlr_ext_foreign_toplevel_handle_v1_create(
|
c->ext_foreign_toplevel = wlr_ext_foreign_toplevel_handle_v1_create(
|
||||||
foreign_toplevel_list, &foreign_toplevel_state);
|
foreign_toplevel_list, &foreign_toplevel_state);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue