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 nzaghachinzaghachi
  • 4
  • 1 view
  • Nzaghachi ikpeazụ nke 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?

Asịsa ahọpụtara

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.

Gụọ azịza a na nghọta 👍 0

All Replies (1)

more options

Asịsa Ahọpụtara

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.