This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to disable moving window by dragging the free area of toolbar/tabbar/menubar?

  • 1 ŋuɖoɖo
  • 4 masɔmasɔ sia le wosi
  • 1 view
  • Nuɖoɖo mlɔetɔ johnfound

more options

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?

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?

Ŋuɖoɖo si wotia

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.

Xle ŋuɖoɖo sia le goya me 👍 0

All Replies (1)

more options

Ɖɔɖɔɖo si wotia

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.