mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-12 16:35:58 +01:00
fix: tabs instead of spaces
This commit is contained in:
parent
d0b3aed584
commit
f93234d6f5
1 changed files with 7 additions and 7 deletions
|
@ -216,7 +216,7 @@ static void xwm_send_focus_window(struct wlr_xwm *xwm,
|
|||
return;
|
||||
}
|
||||
|
||||
if (xsurface->override_redirect) {
|
||||
if (xsurface->override_redirect) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -224,12 +224,12 @@ static void xwm_send_focus_window(struct wlr_xwm *xwm,
|
|||
message_data.data32[0] = xwm->atoms[WM_TAKE_FOCUS];
|
||||
message_data.data32[1] = XCB_TIME_CURRENT_TIME;
|
||||
|
||||
if (xsurface->hints && !xsurface->hints->input) {
|
||||
// if the surface doesn't allow the focus request, we will send him
|
||||
// only the take focus event. It will get the focus by itself.
|
||||
xwm_send_wm_message(xsurface, &message_data, XCB_EVENT_MASK_NO_EVENT);
|
||||
return;
|
||||
}
|
||||
if (xsurface->hints && !xsurface->hints->input) {
|
||||
// if the surface doesn't allow the focus request, we will send him
|
||||
// only the take focus event. It will get the focus by itself.
|
||||
xwm_send_wm_message(xsurface, &message_data, XCB_EVENT_MASK_NO_EVENT);
|
||||
return;
|
||||
}
|
||||
|
||||
xwm_send_wm_message(xsurface, &message_data, XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT);
|
||||
|
||||
|
|
Loading…
Reference in a new issue