mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-02 09:01:39 -05:00
Move background drawing to a client.
This commit is contained in:
parent
1b2f4390f5
commit
6b5e7626f5
4 changed files with 165 additions and 11 deletions
|
|
@ -145,7 +145,6 @@ void event_handler(struct wl_display *display,
|
|||
struct pointer *pointer = data;
|
||||
|
||||
wl_surface_map(pointer->surface, arg1, arg2, pointer->width, pointer->height);
|
||||
|
||||
}
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
|
|
@ -156,8 +155,6 @@ int main(int argc, char *argv[])
|
|||
uint32_t name;
|
||||
cairo_surface_t *s;
|
||||
|
||||
srandom(time(NULL));
|
||||
|
||||
fd = open(gem_device, O_RDWR);
|
||||
if (fd < 0) {
|
||||
fprintf(stderr, "drm open failed: %m\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue