include/Spectre/Display/DisplayDescription.h: Rename DisplayDecorate::None to Empty (None clashes with X11)
This commit is contained in:
parent
080c4f77c3
commit
12b2413e23
2 changed files with 2 additions and 2 deletions
|
|
@ -9,7 +9,7 @@ namespace sp {
|
|||
namespace DisplayDecorate {
|
||||
|
||||
enum Type {
|
||||
None = 0,
|
||||
Empty = 0,
|
||||
Menu = 1 << 0,
|
||||
Resize = 1 << 1,
|
||||
Close = 1 << 2,
|
||||
|
|
|
|||
|
|
@ -114,7 +114,7 @@ void Display::setVideoMode(Mode mode)
|
|||
m_cacheDesc = m_description;
|
||||
}
|
||||
|
||||
desc.decoration = DisplayDecorate::None;
|
||||
desc.decoration = DisplayDecorate::Empty;
|
||||
} else {
|
||||
desc = m_cacheDesc;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue