Skip to content

Commit

Permalink
Do not use immediate mode by default on MacOS
Browse files Browse the repository at this point in the history
According to #7 the immediate frontend does not work on MacOS, so we
should probably not use it by default.

It can still be forced with "-f immediate", because I am not 100% sure
yet, if maybe someone can get it to work on MacOS. However, if we get
further reports that this is impossible to implement on MacOS (like on
Wayland), then we should also disable the forcing flag (like we already
do for Wayland).

Note that we do not change the ifdef to Q_OS_LINUX, because we do not
want to exclude the BSDs.
  • Loading branch information
vimpostor committed Jun 27, 2024
1 parent bf1d033 commit 2efcd20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/path_registry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

void PathRegistry::add_path(Path p) {
paths.emplace_back(p);
#ifdef Q_OS_UNIX
#if defined(Q_OS_UNIX) && !defined(Q_OS_DARWIN)
if (!quartz::util::is_wayland()) {
// if no other frontend was explicitly selected,
// we could begin an immediate drag now (once startup is complete)
Expand Down

0 comments on commit 2efcd20

Please sign in to comment.