Skip to content
Snippets Groups Projects
Commit e3dde4bb authored by Olivier Fourdan's avatar Olivier Fourdan
Browse files

Remove the annoying "beep" on xsetting notification.

(Old svn revision: 10502)
parent ded84ec8
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,7 @@ XSettingsClient *client;
/* Forward decls */
static void notify_cb (const char *, XSettingsAction, XSettingsSetting *, void *);
GdkFilterReturn client_event_filter (GdkXEvent *, GdkEvent *, gpointer);
static GdkFilterReturn client_event_filter (GdkXEvent *, GdkEvent *, gpointer);
static void watch_cb (Window, Bool, long, void *);
......@@ -496,7 +496,6 @@ static void notify_cb (const char *name, XSettingsAction action, XSettingsSettin
int row;
char *text[4];
gdk_beep();
printf("xsettings notification\n");
switch (action)
{
......@@ -509,7 +508,7 @@ static void notify_cb (const char *name, XSettingsAction action, XSettingsSettin
}
}
GdkFilterReturn client_event_filter (GdkXEvent *xevent, GdkEvent *event, gpointer data)
static GdkFilterReturn client_event_filter (GdkXEvent *xevent, GdkEvent *event, gpointer data)
{
if (xsettings_client_process_event (client, (XEvent *)xevent))
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment