Skip to content

Commit

Permalink
Always pass first mouse click to icewm internal windows for issue #768.
Browse files Browse the repository at this point in the history
  • Loading branch information
gijsbers committed Mar 5, 2024
1 parent bc5bcbe commit 6af4047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wmcontainer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ void YClientContainer::handleButton(const XButtonEvent &button) {
if (doRaise && (!doActivate || !raiseOnFocus))
getFrame()->wmRaise();
///!!! it might be nice if this was per-window option (app-request)
if (!firstClick || passFirstClickToClient)
if (!firstClick || passFirstClickToClient || !getFrame()->client()->adopted())
XAllowEvents(xapp->display(), ReplayPointer, CurrentTime);
else
XAllowEvents(xapp->display(), AsyncPointer, CurrentTime);
Expand Down

0 comments on commit 6af4047

Please sign in to comment.