Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Learn More

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

  • 1 resposta
  • 4 têm este problema
  • 53 visualizações
  • Última resposta de 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?

Solução escolhida

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.

Ler esta resposta 👍 0

Todas as respostas (1)

more options

Solução escolhida

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.