Revision 67a9a9459633dcf11ca4c37dc224ce8f9a8945b6 authored by Drew DeVault on 13 October 2016, 02:42:23 UTC, committed by Drew DeVault on 13 October 2016, 02:42:23 UTC
This does two important things when using alpha:

1. At corners, borders don't double in opacity
2. Foreground elements (text) can be made transparent and you can see
fully through to the wallpaper
1 parent 56a7e5f
Raw File
CMakeLists.txt
include_directories(
	${PROTOCOLS_INCLUDE_DIRS}
	${PANGO_INCLUDE_DIRS}
	${XKBCOMMON_INCLUDE_DIRS}
	${WAYLAND_INCLUDE_DIR}
)

add_library(sway-wayland STATIC
	buffers.c
	pango.c
	registry.c
	window.c
	cairo.c
	)

target_link_libraries(sway-wayland
	sway-common
	sway-protocols
	${PANGO_LIBRARIES}
	${XKBCOMMON_LIBRARIES}
	)

if (WITH_GDK_PIXBUF)
  include_directories(
	  ${GDK_PIXBUF_INCLUDE_DIRS}
  )
  target_link_libraries(sway-wayland
	  ${GDK_PIXBUF_LIBRARIES}
  )
endif()
back to top