mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:57:46 +00:00
WindowServer: Don't use old GNU-style designator
Since we use C++20, we can move to the new standardized designated initializer syntax.
This commit is contained in:
parent
ca06fd658d
commit
a2e0291172
1 changed files with 4 additions and 4 deletions
|
@ -241,10 +241,10 @@ bool ScreenLayout::try_auto_add_framebuffer(String const& device_path)
|
|||
|
||||
if (!collision) {
|
||||
screens.append({
|
||||
device : device_path,
|
||||
location : new_screen_rect.location(),
|
||||
resolution : new_screen_rect.size(),
|
||||
scale_factor : 1
|
||||
.device = device_path,
|
||||
.location = new_screen_rect.location(),
|
||||
.resolution = new_screen_rect.size(),
|
||||
.scale_factor = 1
|
||||
});
|
||||
|
||||
if (is_valid()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue