Silence the warning: Unhandled client message: "_GTK_LOAD_ICONTHEMES"
Qt Creator keeps printing that warning. Change-Id: I0c94a5c2846b48c8aea7ffff1435775f04234656 Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com> Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
This commit is contained in:
parent
bfdbfeb012
commit
00f1c4ac3a
@ -1954,7 +1954,9 @@ static const char * xcb_atomnames = {
|
||||
"_COMPIZ_DECOR_PENDING\0"
|
||||
"_COMPIZ_DECOR_REQUEST\0"
|
||||
"_COMPIZ_DECOR_DELETE_PIXMAP\0"
|
||||
"_COMPIZ_TOOLKIT_ACTION\0" // \0\0 terminates loop.
|
||||
"_COMPIZ_TOOLKIT_ACTION\0"
|
||||
"_GTK_LOAD_ICONTHEMES\0"
|
||||
// \0\0 terminates loop.
|
||||
};
|
||||
|
||||
QXcbAtom::Atom QXcbConnection::qatom(xcb_atom_t xatom) const
|
||||
|
@ -288,6 +288,7 @@ namespace QXcbAtom {
|
||||
_COMPIZ_DECOR_REQUEST,
|
||||
_COMPIZ_DECOR_DELETE_PIXMAP,
|
||||
_COMPIZ_TOOLKIT_ACTION,
|
||||
_GTK_LOAD_ICONTHEMES,
|
||||
|
||||
NPredefinedAtoms,
|
||||
|
||||
|
@ -2033,8 +2033,9 @@ void QXcbWindow::handleClientMessageEvent(const xcb_client_message_event_t *even
|
||||
} else if (event->type == atom(QXcbAtom::_COMPIZ_DECOR_PENDING)
|
||||
|| event->type == atom(QXcbAtom::_COMPIZ_DECOR_REQUEST)
|
||||
|| event->type == atom(QXcbAtom::_COMPIZ_DECOR_DELETE_PIXMAP)
|
||||
|| event->type == atom(QXcbAtom::_COMPIZ_TOOLKIT_ACTION)) {
|
||||
//silence the _COMPIZ messages for now
|
||||
|| event->type == atom(QXcbAtom::_COMPIZ_TOOLKIT_ACTION)
|
||||
|| event->type == atom(QXcbAtom::_GTK_LOAD_ICONTHEMES)) {
|
||||
//silence the _COMPIZ and _GTK messages for now
|
||||
} else {
|
||||
qWarning() << "QXcbWindow: Unhandled client message:" << connection()->atomName(event->type);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user