panel: don't focus windows when closing them from the context menu
This commit is contained in:
parent
27d944c5cf
commit
3456075a29
@ -34,7 +34,6 @@ static void _window_menu_start_maximize(struct MenuEntry * self) {
|
||||
static void _window_menu_close(struct MenuEntry * self) {
|
||||
if (!_window_menu_wid)
|
||||
return;
|
||||
yutani_focus_window(yctx, _window_menu_wid);
|
||||
yutani_special_request_wid(yctx, _window_menu_wid, YUTANI_SPECIAL_REQUEST_PLEASE_CLOSE);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user