mirror of
https://github.com/swaywm/sway.git
synced 2026-04-29 06:46:22 -04:00
extensions,handlers: Add notification area support
notification-area.{c,h} are bare imports from the
wayland-notification-area project.
Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
parent
db8dacf76e
commit
5e969fd229
7 changed files with 305 additions and 0 deletions
|
|
@ -22,12 +22,20 @@ WAYLAND_ADD_PROTOCOL_SERVER(proto-server-swaylock
|
|||
swaylock
|
||||
)
|
||||
|
||||
pkg_check_modules(WLC_NOTIFICATION_AREA "wayland-notification-area >= 3")
|
||||
pkg_get_variable(WAYLAND_NOTIFICATION_AREA_PKGDATADIR wayland-notification-area pkgdatadir)
|
||||
WAYLAND_ADD_PROTOCOL_SERVER(proto-server-wayland-notification-area
|
||||
${WAYLAND_NOTIFICATION_AREA_PKGDATADIR}/notification-area-unstable-v2.xml
|
||||
notification-area-unstable-v2
|
||||
)
|
||||
|
||||
add_library(sway-protocols STATIC
|
||||
${proto-client-xdg-shell}
|
||||
${proto-client-desktop-shell}
|
||||
${proto-server-desktop-shell}
|
||||
${proto-client-swaylock}
|
||||
${proto-server-swaylock}
|
||||
${proto-server-wayland-notification-area}
|
||||
)
|
||||
|
||||
set(PROTOCOLS_INCLUDE_DIRS ${CMAKE_BINARY_DIR}/protocols PARENT_SCOPE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue