GLUT popup menus stopped working between 2.6.0 and 2.8.0. They no longer appear when the button to which they're bound is pressed. Patch attached based on current upstream source. Reproducible: Always Steps to Reproduce: 1.Write a program that uses GLUT popup menus 2.Run program 3.Click mouse button bound to menu Actual Results: Menu button press registers as a regular button press Expected Results: A popup menu appears
Created attachment 340416 [details, diff] Patch based on upstream code to fix popup menus in freeglut-2.8.0
Created attachment 340662 [details] simple GLUT popup menu program Here's a test program that demonstrates the bug. It displays a small white window and waits for a left-click to show a one-item ("Exit") popup menu. Without the patch, left-clicking will not show the menu. Compile like so: gcc -o popup-test popup-test.c -lglut
Fixed in 2.8.1