Bug found in bugfix :-)
Carl Svensson <[email protected]>
| Newsgroups | gmane.comp.window-managers.ctwm |
|---|---|
| Message-ID | <[email protected]> |
I'm using Firefox 77.0.1 and whenever I enable the 3D look in CTWM, the back button in Firefox' context menu gets automatically clicked when I bring up the menu, thus sending me directly to the previous page, even if my intention was something else.
After a bit of fiddling around, I managed to narrow it down to UseThreeDBorders and found this little chunk of code in event_handlers.c:
/* Workaround for Java 1.4 bug that freezes the application whenever
* a new window is displayed. (When UsePPosition is on and either
* UseThreeDBorders or BorderWidth 0 is set.)
*/
if(!bw) {
sendEvent = true;
}
When commenting out that little if-statement and recompiling, the Firefox context menu works as expected again.
Not sure how to approach this - it seems to be a fix for something else already, although I suspect Firefox is a more common application than Java 1.4 (which I think is from 2002 or something).
--
Carl Svensson