Skip to content

Commit

Permalink
xwm: do not try to focus override_redirect windows
Browse files Browse the repository at this point in the history
Chromium context menus for example instantly just decide to close to
this decision.
  • Loading branch information
Cloudef committed Aug 2, 2016
1 parent 4cbd5b7 commit a5d6a31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xwayland/xwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ wlc_x11_window_set_active(struct wlc_x11_window *win, bool active)
{
assert(win);

if (!x11.connection || !win->id)
if (!x11.connection || !win->id || win->override_redirect)
return false;

if (active) {
Expand Down

0 comments on commit a5d6a31

Please sign in to comment.