mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-13 13:29:47 -05:00
Add an orange pop-up menu to test the new map_transient request
This commit is contained in:
parent
8dc378ff76
commit
248c1b61ce
10 changed files with 140 additions and 20 deletions
|
|
@ -628,7 +628,6 @@ static struct dnd *
|
|||
dnd_create(struct display *display)
|
||||
{
|
||||
struct dnd *dnd;
|
||||
gchar *title;
|
||||
int i, x, y;
|
||||
int32_t width, height;
|
||||
|
||||
|
|
@ -637,9 +636,9 @@ dnd_create(struct display *display)
|
|||
return dnd;
|
||||
memset(dnd, 0, sizeof *dnd);
|
||||
|
||||
title = g_strdup_printf("Wayland Drag and Drop Demo");
|
||||
dnd->window = window_create(display, 400, 400);
|
||||
window_set_title(dnd->window, "Wayland Drag and Drop Demo");
|
||||
|
||||
dnd->window = window_create(display, title, 500, 400);
|
||||
dnd->display = display;
|
||||
dnd->key = 100;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue