mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-03 06:46:38 -04:00
opt: optimize selmon update
This commit is contained in:
parent
20bc31d3c9
commit
948eb7bb32
1 changed files with 0 additions and 4 deletions
4
maomao.c
4
maomao.c
|
|
@ -3131,10 +3131,6 @@ void focusclient(Client *c, int lift) {
|
|||
if (c && client_surface(c) == old_keyboard_focus_surface)
|
||||
return;
|
||||
|
||||
if (c && c->mon && c->mon != selmon) {
|
||||
selmon = c->mon;
|
||||
}
|
||||
|
||||
if (selmon && selmon->sel && selmon->sel->foreign_toplevel) {
|
||||
wlr_foreign_toplevel_handle_v1_set_activated(selmon->sel->foreign_toplevel,
|
||||
false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue