Skip to content

Commit

Permalink
Fix grabbing code when DRM is enabled and X11 is disabled (#1956)
Browse files Browse the repository at this point in the history
  • Loading branch information
chewi authored Dec 31, 2023
1 parent d97f724 commit 64be0aa
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/platform/linux/x11grab.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ namespace platf::x11 {
xdisplay_t
make_display();
#else
// It's never something different from nullptr
util::safe_ptr<_XDisplay, std::default_delete<_XDisplay>>;

class cursor_t {
public:
static std::optional<cursor_t>
Expand All @@ -65,7 +62,7 @@ namespace platf::x11 {
blend(img_t &, int, int) {}
};

xdisplay_t
void *
make_display() { return nullptr; }
#endif
} // namespace platf::x11

0 comments on commit 64be0aa

Please sign in to comment.