With Emacs GTK, when left clicking with the mouse on an empty part of the menubar, it starts moving the whole window (aka it moves the frame).
Emacs is doing this also, when starting it with
I would like to rebind this action to another function, but since emacs seems to not register this click. And my Windowmanager is not handling this click, the question is:
Where to search for the function, which tells my windowmanager to move this window?
Emacs-lucid was not doing this, but emacs-gtk does it.
Is this a GTK feature?
But if so: why are other GTK programs, which share the same
~/.gtkrc-2.0 config file, not showing this behavior?
Is there another gtk config file which emacs is using? Because removing the file
~/.gtkrc-2.0 does not change emacs behavior.
More detail on emacs' behavior
A short click into the red marked area (see picture below) makes the frame stick to the mouse pointer until you click again. And a mouse click drag action, moves the window.
Other GTK programs do not show this behavior. (Edit: This is not the case, I was just checking against GTK2 programs)
As comments show this is not always standard behavior of emacs.
Edit: This question is not just emacs, but related to all GTK3 programs.