From 452edd8f7aa25fc1e69b6c2a747f59f58ab07f32 Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Fri, 6 Nov 2015 14:11:39 +0000 Subject: server: create display and cursor channels in RedWorker constructor Instead of requiring the dispatcher to send a message to the worker to create the display channel and cursor channel, just create them when the worker is created. Acked-by: Jonathon Jongsma --- server/red_dispatcher.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/red_dispatcher.h') diff --git a/server/red_dispatcher.h b/server/red_dispatcher.h index 242143a9..fde965d8 100644 --- a/server/red_dispatcher.h +++ b/server/red_dispatcher.h @@ -119,8 +119,8 @@ enum { /* suspend/windows resolution change command */ RED_WORKER_MESSAGE_FLUSH_SURFACES_ASYNC, - RED_WORKER_MESSAGE_DISPLAY_CHANNEL_CREATE, - RED_WORKER_MESSAGE_CURSOR_CHANNEL_CREATE, + RED_WORKER_MESSAGE_DISPLAY_CHANNEL_CREATE, /* unused */ + RED_WORKER_MESSAGE_CURSOR_CHANNEL_CREATE, /* unused */ RED_WORKER_MESSAGE_MONITORS_CONFIG_ASYNC, RED_WORKER_MESSAGE_DRIVER_UNLOAD, -- cgit