How to disable moving window by dragging the free area of toolbar/tabbar/menubar?
So, the subject.
Now, when I drag by mistake the free area of the UI (menubar, tabbar or the toolbars, the whole window of firefox moves and this is confusing and annoying. How to disable this behaviour?
Gekose oplossing
OK, I have an answer now, so will answer my own question. :)
The problem is not actually in Firefox, but in the gtk 3.0 wrong settings. The fix is to add to the file "~/.config/gtk-3.0/gtk.css" following lines:
menubar, .menubar { -GtkWidget-window-dragging: false; }
If the file does not exists, simply create it. After adding these lines and restarting Firefox everithing should be ok.
Lees dié antwoord in konteks 👍 0All Replies (1)
Gekose oplossing
OK, I have an answer now, so will answer my own question. :)
The problem is not actually in Firefox, but in the gtk 3.0 wrong settings. The fix is to add to the file "~/.config/gtk-3.0/gtk.css" following lines:
menubar, .menubar { -GtkWidget-window-dragging: false; }
If the file does not exists, simply create it. After adding these lines and restarting Firefox everithing should be ok.