swaygrab: make focused output default

This makes swaygrab use the currently focused output as source if no
other output is defined with the `-o, --output <output>` option.
This commit is contained in:
Mikkel Oscar Lyderik 2015-12-17 16:01:36 +01:00
parent 101a14faf8
commit d49282b2c3
2 changed files with 47 additions and 8 deletions

View file

@ -1,9 +1,14 @@
include_directories(
${JSONC_INCLUDE_DIRS}
)
add_executable(swaygrab
main.c
)
target_link_libraries(swaygrab
sway-common
${JSONC_LIBRARIES}
rt
)