Remove a few extra HAVE_XKBs
This commit is contained in:
parent
5f0fab2156
commit
e830b66604
@ -57,12 +57,6 @@ void meta_bell_set_audible (MetaDisplay *display, gboolean audible);
|
|||||||
* to send us bell notifications, and then also switching
|
* to send us bell notifications, and then also switching
|
||||||
* off the audible bell if we're using a visual one ourselves.
|
* off the audible bell if we're using a visual one ourselves.
|
||||||
*
|
*
|
||||||
* Unlike most X extensions we use, we only initialise XKB here
|
|
||||||
* (rather than in main()). It's possible that XKB is not
|
|
||||||
* installed at all, but if that was known at build time
|
|
||||||
* we will have HAVE_XKB undefined, which will cause this
|
|
||||||
* function to be a no-op.
|
|
||||||
*
|
|
||||||
* \bug There is a line of code that's never run that tells
|
* \bug There is a line of code that's never run that tells
|
||||||
* XKB to reset the bell status after we quit. Bill H said
|
* XKB to reset the bell status after we quit. Bill H said
|
||||||
* (<http://bugzilla.gnome.org/show_bug.cgi?id=99886#c12>)
|
* (<http://bugzilla.gnome.org/show_bug.cgi?id=99886#c12>)
|
||||||
|
@ -1584,7 +1584,6 @@ handle_other_xevent (MetaDisplay *display,
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
#ifdef HAVE_XKB
|
|
||||||
if (event->type == display->xkb_base_event_type)
|
if (event->type == display->xkb_base_event_type)
|
||||||
{
|
{
|
||||||
XkbAnyEvent *xkb_ev = (XkbAnyEvent *) event;
|
XkbAnyEvent *xkb_ev = (XkbAnyEvent *) event;
|
||||||
@ -1606,7 +1605,6 @@ handle_other_xevent (MetaDisplay *display,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user