- More implementations and dependencies for Linux Wayland support
This commit is contained in:
@@ -21,15 +21,10 @@
|
||||
namespace fennec
|
||||
{
|
||||
|
||||
window::window(display* display, window* parent, bool modal)
|
||||
window::window(displaydev* display, window* parent)
|
||||
: _display(display)
|
||||
, _parent(parent)
|
||||
, _config() {
|
||||
|
||||
bool child = parent != nullptr;
|
||||
assert(!modal || child, "Attempted to create non-child modal window.");
|
||||
_config.flags |= child ? flags_child : flags_none;
|
||||
_config.flags |= modal ? flags_modal : flags_none;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user