mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 07:48:07 +02:00
desktop-shell: Don't get a shell surface for the grab surface
The grab surface does not depend on any of the shell surface functionality, so don't allocated one.
This commit is contained in:
parent
ddca49600f
commit
07a91cd9fd
1 changed files with 1 additions and 1 deletions
|
|
@ -826,7 +826,7 @@ grab_surface_create(struct desktop *desktop)
|
|||
{
|
||||
struct wl_surface *s;
|
||||
|
||||
desktop->grab_window = window_create(desktop->display);
|
||||
desktop->grab_window = window_create_custom(desktop->display);
|
||||
window_set_user_data(desktop->grab_window, desktop);
|
||||
|
||||
s = window_get_wl_surface(desktop->grab_window);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue