mirror of
https://github.com/miracle-wm-org/miracle-wm.git
synced 2024-11-26 12:34:40 +03:00
(#180) bugfix: no longer crashing due to shell elements on startup
This commit is contained in:
parent
362547bd89
commit
68bd9c8460
@ -35,7 +35,8 @@ namespace window_helpers
|
||||
WindowType get_ideal_type(T const& requested_specification)
|
||||
{
|
||||
auto has_exclusive_rect = requested_specification.exclusive_rect().is_set();
|
||||
if (has_exclusive_rect)
|
||||
auto is_attached = requested_specification.attached_edges().is_set();
|
||||
if (has_exclusive_rect || is_attached)
|
||||
return WindowType::other;
|
||||
|
||||
auto t = requested_specification.type();
|
||||
|
Loading…
Reference in New Issue
Block a user