Skip to content

Commit

Permalink
doc: Clarify intercept option
Browse files Browse the repository at this point in the history
  • Loading branch information
vimpostor committed Feb 26, 2024
1 parent b595f99 commit a6f73f9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if (UNIX)
endif()

include(FetchContent)
FetchContent_Declare(quartz GIT_REPOSITORY https://github.com/vimpostor/quartz.git GIT_TAG bc6e73ec22e6ebd10e4704957b14a7ca5bb2f74a)
FetchContent_Declare(quartz GIT_REPOSITORY https://github.com/vimpostor/quartz.git GIT_TAG v0.4)
FetchContent_MakeAvailable(quartz)

list(APPEND LINK_LIBS ${PKGCONFIG_MODULES})
Expand Down
4 changes: 3 additions & 1 deletion doc/man/man1/blobdrop.1
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ below.
.B \-i, \-\-intercept
Intercept another drag and drop operation. This option is useful to convert other external drag and drop events into drag and drop events that use any of the available frontends. Using this option will unconditionally start the
.B gui
frontend. The \-\-frontend option in this case determines the frontend of outgoing intercepted drag and drop events.
frontend to intercept another drag and drop operation. Once an element is dropped into the window, the
.B \-\-frontend
option determines the frontend of the outgoing converted drag and drop event.
.TP
.B \-k, \-\-keep
When using sink mode, keep dropped files around by default.
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
owner = "vimpostor";
repo = "quartz";
rev = builtins.head (builtins.match ".*FetchContent_Declare\\(.*GIT_TAG ([[:alnum:]\\.]+).*" (builtins.readFile ./CMakeLists.txt));
hash = "sha256-UFXqkyXQYp0LjffeqocIJEP8u3vdgl/xzezuzae8YXA=";
hash = "sha256-gni+5kQkjU1LhoEK6/yVC0x6K36Ra30xM47w893nGJ4=";
};
makeStdenvPkg = env: env.mkDerivation {
pname = "blobdrop";
Expand Down
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ int main(int argc, char *argv[]) {

#ifdef Q_OS_UNIX
// handle unix signals
quartz::Signals signal_handler {{SIGINT, SIGHUP, SIGTERM, SIGQUIT}, []() { Backend::get()->quit_delayed(0ms); }};
quartz::Signals signal_handler {{SIGINT, SIGHUP, SIGTERM, SIGQUIT}, [](int) { Backend::get()->quit_delayed(0ms); }};
#endif

if (!Getopts::parse(app)) {
Expand Down

0 comments on commit a6f73f9

Please sign in to comment.