为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 1 个回答
  • 4 人有此问题
  • 1 次查看
  • 最后回复者为 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?

被采纳的解决方案

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.

定位到答案原位置 👍 0

所有回复 (1)

more options

选择的解决方案

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.