Skip to content

Commit

Permalink
Advertise support for single-pixel-buffer-v1
Browse files Browse the repository at this point in the history
Fixes #1958.
  • Loading branch information
soreau committed Dec 7, 2023
1 parent f55c32d commit b3bf44c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/api/wayfire/nonstd/wlroots-full.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ extern "C"
#include <wlr/types/wlr_text_input_v3.h>
#include <wlr/types/wlr_primary_selection_v1.h>
#include <wlr/types/wlr_fractional_scale_v1.h>
#include <wlr/types/wlr_single_pixel_buffer_v1.h>

// Activation plugin
#include <wlr/types/wlr_xdg_activation_v1.h>
Expand Down
1 change: 1 addition & 0 deletions src/core/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ void wf::compositor_core_impl_t::init()
protocols.foreign_registry);

wlr_fractional_scale_manager_v1_create(display, 1);
wlr_single_pixel_buffer_manager_v1_create(display);

this->bindings = std::make_unique<bindings_repository_t>();
image_io::init();
Expand Down

0 comments on commit b3bf44c

Please sign in to comment.