Skip to content

Commit

Permalink
fixed vertical window ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
hazelwiss committed Dec 28, 2023
1 parent d5a55f4 commit 94c3df2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/focus-change.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -236,11 +236,11 @@ class wayfire_focus_change_t : public wf::plugin_interface_t
switch (orientation)
{
case orientation_t::UP:
distance = cy;
distance = pos.height - cy;
break;

case orientation_t::DOWN:
distance = pos.height - cy;
distance = cy;
break;

case orientation_t::RIGHT:
Expand Down

0 comments on commit 94c3df2

Please sign in to comment.