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 பதிலளி
  • 4 இந்த பிரச்னைகள் உள்ளது
  • 1 view
  • Last reply by johnfound

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?

தீர்வு தேர்ந்தெடுக்கப்பட்டது

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.

Read this answer in context 👍 0

All Replies (1)

தீர்வு தேர்ந்தெடுக்கப்பட்டது

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.