@@ -884,6 +884,8 @@ auto App::create_layer_surface() -> void
|
|||||||
zwlr_layer_surface_v1_set_anchor(m_wayland.layer_surface, 0);
|
zwlr_layer_surface_v1_set_anchor(m_wayland.layer_surface, 0);
|
||||||
zwlr_layer_surface_v1_set_size(m_wayland.layer_surface, m_win_w, m_win_h);
|
zwlr_layer_surface_v1_set_size(m_wayland.layer_surface, m_win_w, m_win_h);
|
||||||
zwlr_layer_surface_v1_set_exclusive_zone(m_wayland.layer_surface, 0);
|
zwlr_layer_surface_v1_set_exclusive_zone(m_wayland.layer_surface, 0);
|
||||||
|
zwlr_layer_surface_v1_set_layer(
|
||||||
|
m_wayland.layer_surface, ZWLR_LAYER_SHELL_V1_LAYER_TOP);
|
||||||
|
|
||||||
if (zwlr_layer_shell_v1_get_version(m_wayland.layer_shell) >= 3) {
|
if (zwlr_layer_shell_v1_get_version(m_wayland.layer_shell) >= 3) {
|
||||||
zwlr_layer_surface_v1_set_keyboard_interactivity(
|
zwlr_layer_surface_v1_set_keyboard_interactivity(
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ constexpr auto make_default_themes() -> enum_array<Theme, ColorScheme> const
|
|||||||
.foreground_preedit = { 0, 0, 0, 255 },
|
.foreground_preedit = { 0, 0, 0, 255 },
|
||||||
.window =
|
.window =
|
||||||
{
|
{
|
||||||
.background = { 255, 255, 255, 200 },
|
.background = { 255, 255, 255, 220 },
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
array[Theme::Dark] = {
|
array[Theme::Dark] = {
|
||||||
@@ -37,7 +37,7 @@ constexpr auto make_default_themes() -> enum_array<Theme, ColorScheme> const
|
|||||||
.foreground_preedit = { 255, 255, 255, 255 },
|
.foreground_preedit = { 255, 255, 255, 255 },
|
||||||
.window =
|
.window =
|
||||||
{
|
{
|
||||||
.background = { 0, 0, 0, 200 },
|
.background = { 0, 0, 0, 220 },
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
return array;
|
return array;
|
||||||
|
|||||||
Reference in New Issue
Block a user