Do not change windows focus on mouse-up action

This commit is contained in:
pelya
2014-11-16 01:59:32 +02:00
parent 8c90e543f1
commit 3b50884ffc

View File

@@ -2891,7 +2891,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 */