haiku/headers/private/preferences/ScreenDefs.h
Brian Hill b8a6139981 Fix glitch in Screen prefs when changing background color.
When both Backgrounds and Screen are open, if the workspace color is changed
in Backgrounds the monitor preview in Screen will now refresh to the new color.

Also added a BAlert in BackgroundsView.cpp when failing to change the
background image.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Fixes #13286.
2017-04-30 10:29:39 +02:00

16 lines
346 B
C

/*
* Copyright 2017, Haiku.
* Distributed under the terms of the MIT License.
*
* Authors:
* Brian Hill <supernova@warpmail.net>
*/
#ifndef _SCREEN_DEFS_H
#define _SCREEN_DEFS_H
// Message sent to Screen from Backgrounds when updating the background color
static const uint32 UPDATE_DESKTOP_COLOR_MSG = 'udsc';
#endif // _SCREEN_DEFS_H