Skip to content

Commit

Permalink
core: move to stable/linux-dmabuf-v1 instead of unstable (#299)
Browse files Browse the repository at this point in the history
* dmabuf-v1 instead of dmabuf-unstable-v1

* meson: dmabuf-unstable-v1 -> dmabuf-v1

* PortalManager: dmabuf-unstable -> dmabuf

* Screencopy: dmabuf-unstable -> dmabuf

* flake.lock: update

---------

Co-authored-by: Mihai Fufezan <[email protected]>
  • Loading branch information
Honkazel and fufexan authored Dec 2, 2024
1 parent 8070f36 commit fd85ef3
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ protocolnew("${HYPRLAND_PROTOCOLS}/protocols" "hyprland-global-shortcuts-v1"
true)
protocolnew("${HYPRLAND_PROTOCOLS}/protocols" "hyprland-toplevel-export-v1"
true)
protocolnew("unstable/linux-dmabuf" "linux-dmabuf-unstable-v1" false)
protocolnew("stable/linux-dmabuf" "linux-dmabuf-v1" false)

# Installation
install(TARGETS hyprland-share-picker)
Expand Down
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion protocols/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ client_protocols = [
'wlr-foreign-toplevel-management-unstable-v1.xml',
hl_protocol_dir / 'protocols/hyprland-toplevel-export-v1.xml',
hl_protocol_dir / 'protocols/hyprland-global-shortcuts-v1.xml',
wl_protocol_dir / 'unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml',
wl_protocol_dir / 'stable/linux-dmabuf/linux-dmabuf-v1.xml',
]

wl_proto_files = []
Expand Down
4 changes: 2 additions & 2 deletions src/core/PortalManager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

#include "hyprland-toplevel-export-v1.hpp"
#include "hyprland-global-shortcuts-v1.hpp"
#include "linux-dmabuf-unstable-v1.hpp"
#include "linux-dmabuf-v1.hpp"
#include "wlr-foreign-toplevel-management-unstable-v1.hpp"
#include "wlr-screencopy-unstable-v1.hpp"

Expand Down Expand Up @@ -122,4 +122,4 @@ class CPortalManager {
std::mutex m_mEventLock;
};

inline std::unique_ptr<CPortalManager> g_pPortalManager;
inline std::unique_ptr<CPortalManager> g_pPortalManager;
2 changes: 1 addition & 1 deletion src/portals/Screencopy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#include <libdrm/drm_fourcc.h>
#include <pipewire/pipewire.h>
#include "linux-dmabuf-unstable-v1.hpp"
#include "linux-dmabuf-v1.hpp"
#include <unistd.h>

constexpr static int MAX_RETRIES = 10;
Expand Down

0 comments on commit fd85ef3

Please sign in to comment.