Re: GUADEC meeting summary
- From: Rodrigo Moya <rodrigo gnome-db org>
- To: Bastien Nocera <hadess hadess net>
- Cc: Sergey Udaltsov <sergey udaltsov gmail com>, gnomecc-list gnome org
- Subject: Re: GUADEC meeting summary
- Date: Mon, 13 Aug 2007 12:23:51 +0200
On Fri, 2007-08-10 at 11:12 +0100, Bastien Nocera wrote:
> On Sat, 2007-07-21 at 00:06 +0100, Sergey Udaltsov wrote:
> > > * some stuff that might be considered 'services' is right now in g-s-d,
> > > and those (screensaver, typing break) could perfectly be started via the
> > > autostart mechanism from gnome-session.
> > Though, as I said, we should be very accurate splitting 'services'
> > into separate processes. It would be rather expensive. So for every
> > "suspect" service we should carefully analyze whether it would be
> > "inproc" (in g-s-d) or "outproc" service. Ideally, we could create a
> > framework where each service could be made either inproc or outproc
> > depending on the configure-time option. Would it make sense?
>
> It would be useful to do that for all the bits of gnome-settings-daemon
> that require keyboard filtering.
>
> Right now, we can't put an X filter because XkbSelectEvents doesn't
> allow us to apply more than one filter-per-process:
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=205910
>
> And the accessibility bits use XkbSelectEvents which probably breaks the
> multimedia keys setup if a11y is enabled.
>
> $ grep gdk_window_add_filter *.c
> gnome-settings-accessibility-keyboard.c: gdk_window_add_filter (NULL, cb_xkb_event_filter, NULL);
> gnome-settings-clipboard.c: gdk_window_add_filter (gdkwin, clipboard_manager_event_filter, NULL);
> gnome-settings-daemon.c: gdk_window_add_filter (
> gnome-settings-keybindings.c: gdk_window_add_filter (gdk_screen_get_root_window (screen),
> gnome-settings-keyboard.c: gdk_window_add_filter (NULL,
> gnome-settings-keyboard-xkb.c: gdk_window_add_filter (NULL, (GdkFilterFunc)
> gnome-settings-mouse.c: gdk_window_add_filter (gdk_screen_get_root_window (screen),
> gnome-settings-multimedia-keys.c: gdk_window_add_filter (gdk_screen_get_root_window (l->data),
>
> There's probably a better way to do this.
>
hmm, could we install just a filter only and from there signal the g-s-d
modules? With the new architecture, this should be very easy to do,
provided we can install a filter for all the needs.
--
Rodrigo Moya <rodrigo gnome-db org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]