Do not change windows focus on mouse-up action

This commit is contained in:
pelya
2014-11-16 01:59:32 +02:00
parent 0d3412d064
commit 9875c97661

View File

@@ -2894,7 +2894,7 @@ static void MouseLoop(MouseClick click, int mousewheel)
if (w == NULL) return;
if (click != MC_NONE && click != MC_HOVER && !MaybeBringWindowToFront(w)) return;
if (click != MC_NONE && click != MC_HOVER && click != MC_LEFT_UP && !MaybeBringWindowToFront(w)) return;
if (mousewheel != 0) {
/* Send mousewheel event to window */