kranewl

A wlroots-based dynamic Wayland compositor, written in C++, configurable with Lua
git clone git://git.deurzen.net/kranewl
Log | Files | Refs | LICENSE

commit 8795db798ae412e4d8294d7265b50313da219542
parent fd7b531812ae33edf1ff4c102040a1d15d536280
Author: deurzen <max@deurzen.net>
Date:   Tue, 31 May 2022 12:43:52 +0200

moderates aggressive focus-follows-mouse behavior

Diffstat:
Msrc/kranewl/model.cc | 6------
1 file changed, 0 insertions(+), 6 deletions(-)

diff --git a/src/kranewl/model.cc b/src/kranewl/model.cc @@ -1158,7 +1158,6 @@ Model::set_floating_view(Toggle toggle, View_ptr view) } apply_layout(view->mp_workspace); - mp_output->focus_at_cursor(); } void @@ -1217,7 +1216,6 @@ Model::set_fullscreen_view(Toggle toggle, View_ptr view) Workspace_ptr workspace = view->mp_workspace; apply_layout(workspace); - mp_output->focus_at_cursor(); } void @@ -1342,7 +1340,6 @@ Model::set_contained_view(Toggle toggle, View_ptr view) Workspace_ptr workspace = view->mp_workspace; apply_layout(workspace); - mp_output->focus_at_cursor(); } void @@ -1426,7 +1423,6 @@ Model::set_iconify_view(Toggle toggle, View_ptr view) return; workspace->view_to_icon(view); - // TODO: set iconify state view->unmap(); view->set_iconified(true); break; @@ -1437,7 +1433,6 @@ Model::set_iconify_view(Toggle toggle, View_ptr view) return; workspace->icon_to_view(view); - // TODO: unset iconify state view->set_iconified(false); break; } @@ -1456,7 +1451,6 @@ Model::set_iconify_view(Toggle toggle, View_ptr view) } apply_layout(workspace); - mp_output->focus_at_cursor(); sync_focus(); }