From: Ingo Bürk Date: Fri, 23 Mar 2018 18:17:12 +0000 (+0100) Subject: Merge pull request #3184 from orestisf1993/issue-1341 X-Git-Tag: 4.16~120 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=83ac1c0e72f314152e559d33f062677dc89cd99e;p=i3%2Fi3 Merge pull request #3184 from orestisf1993/issue-1341 floating_enable & floating_maybe_reassign_ws changes --- 83ac1c0e72f314152e559d33f062677dc89cd99e diff --cc src/floating.c index 2130d673,13b30f16..fc68df8e --- a/src/floating.c +++ b/src/floating.c @@@ -864,12 -846,12 +846,12 @@@ drag_result_t drag_pointer(Con *con, co * outputs. * */ -void floating_reposition(Con *con, Rect newrect) { +bool floating_reposition(Con *con, Rect newrect) { /* Sanity check: Are the new coordinates on any output? If not, we * ignore that request. */ - if (!contained_by_output(newrect)) { + if (!output_containing_rect(newrect)) { ELOG("No output found at destination coordinates. Not repositioning.\n"); - return; + return false; } con->rect = newrect;