Skip to content

XWin: Fix infinite loop in GetShift()

dslater38 requested to merge dslater38/xserver:dan/GetShiftFix into master

GetShift(mask) can be called with mask==0, leading to an infinite loop.

Added a check for mask != 0 before entering the while loop.

Merge request reports

Loading