Subject: Re: bug#32975: Emacs 26.1; GTK Warnings

From: Tjernlund <[email-masked]>
Date: Sun, 14 Oct 2018 17:22:41 +0200

On Sun, 2018-10-14 at 17:57 +0300, Eli Zaretskii wrote:
> [PLEASE don't remove the bug address from the list of addressees.]
> 
> > From: Tjernlund <[email-masked]>
> > Date: Sun, 14 Oct 2018 10:31:46 +0200
> > 
> > > That's a lot to consume.  Let's start from the other end: if you have
> > > only this line in your .emacs:
> > > 
> > >   (setq initial-frame-alist '((background-color . "#333333") (foreground-color . "White") (cursor-color .
> > > "White")))
> > > 
> > > does it then work as expected?
> > 
> > Did that and no, it does not work as expected.
> 
> And if you invoke Emacs with "emacs --no-x-resources"?

That works ! :)
I only need default-frame-alist settings then.

Seems like MATE tries to control every background color there is:

xrdb -query | grep background
*Box.background:	#edeceb
*Button.background:	#edeceb
*Canvas.background:	#edeceb
*Canvas.selectbackground:	#86abd9
*Checkbutton.background:	#edeceb
*Command.background:	#edeceb
*Dialog.background:	#edeceb
*Entry.background:	#edeceb
*Form.background:	#edeceb
*Frame.background:	#edeceb
*Label.background:	#edeceb
*Labelframe.background:	#edeceb
*List.background:	#edeceb
*Listbox.background:	#edeceb
*Menu.background:	#edeceb
*MenuButton.background:	#edeceb
*Menubutton.background:	#edeceb
*Radiobutton.background:	#edeceb
*Scale.background:	#edeceb
*Scrollbar*background:	#edeceb
*Scrollbar.background:	#edeceb
*SimpleMenu*background:	#edeceb
*Text.background:	#edeceb
*Toggle.background:	#edeceb
*Toplevel.background:	#edeceb
*XmCascadeButton.background:	#edeceb
*XmCascadeButtonGadget.background:	#edeceb
*XmDialogShell.background:	#edeceb
*XmFileSelectionBox.background:	#edeceb
*XmForm.background:	#edeceb
*XmFrame.background:	#edeceb
*XmLabel.background:	#edeceb
*XmLabelGadget.background:	#edeceb
*XmList.background:	#edeceb
*XmMenuShell.background:	#edeceb
*XmMessageBox.background:	#edeceb
*XmPanedWindow.background:	#edeceb
*XmPushButton.background:	#edeceb
*XmPushButtonGadget.background:	#edeceb
*XmRowColumn.background:	#edeceb
*XmSash.background:	#edeceb
*XmScrollBar.background:	#edeceb
*XmScrolledWindow.background:	#edeceb
*XmSelectionBox.background:	#edeceb
*XmSeparator.background:	#edeceb
*XmSeparatorGadget.background:	#edeceb
*XmTearOffButton.background:	#edeceb
*XmTearOffButtonGadget.background:	#edeceb
*XmText.background:	#edeceb
*XmTextField.background:	#edeceb
*XmToggleButton.background:	#edeceb
*XmToggleButtonGadget.background:	#edeceb
*background:	#edeceb
Emacs*Dialog*background:	#edeceb
Emacs*backgroundToolBarColor:	#edeceb
Emacs*menubar*background:	#edeceb