I think this would be relatively straightforward to fix in Firefox; we already have code for this behavior for Mac (although for Mac we can move the window by dragging even more area than we'd want for these GTK themes: on Mac, empty parts of the toolbars and statusbar can be dragged too).
However, I don't see how to detect when the current GTK theme has this unified titlebar+menubar behavior. I don't see any obviously-related code in gtkmenubar.c (after a quick skim of the file), and I'm not sure where else to look, or what terms to look for.
I think this would be relatively straightforward to fix in Firefox; we already have code for this behavior for Mac (although for Mac we can move the window by dragging even more area than we'd want for these GTK themes: on Mac, empty parts of the toolbars and statusbar can be dragged too).
I filed https:/ /bugzilla. mozilla. org/show_ bug.cgi? id=566480 on fixing this. (I thought there was a way to link that to this bug in the UI, but I don't see it.)
However, I don't see how to detect when the current GTK theme has this unified titlebar+menubar behavior. I don't see any obviously-related code in gtkmenubar.c (after a quick skim of the file), and I'm not sure where else to look, or what terms to look for.