ReadOnly means...well, read *only*. Duh.

The app_server doesn't handle this message -- yet


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19149 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
DarkWyrm 2006-10-30 03:02:21 +00:00
parent 59463a9aa1
commit 53885da0f0
1 changed files with 5 additions and 4 deletions

View File

@ -746,10 +746,11 @@ set_ui_color(const color_which &which, const rgb_color &color)
return; return;
} }
if (be_app) { BPrivate::AppServerLink link;
server_read_only_memory* shared = BApplication::Private::ServerReadOnlyMemory(); link.StartMessage(AS_SET_UI_COLOR);
shared->colors[index] = color; link.Attach<color_which>(which);
} link.Attach<rgb_color>(color);
link.Flush();
} }