Skip to content

Instantly share code, notes, and snippets.

@romuald
Created January 2, 2014 15:34
Show Gist options
  • Save romuald/8220954 to your computer and use it in GitHub Desktop.
Save romuald/8220954 to your computer and use it in GitHub Desktop.
Fix Awesome / GTK3 focus bug … but probably breaks badly when no window manager is running
diff --git a/gdk/x11/gdkeventsource.c b/gdk/x11/gdkeventsource.c
index 7fff28f..a687963 100644
--- a/gdk/x11/gdkeventsource.c
+++ b/gdk/x11/gdkeventsource.c
@@ -249,7 +249,7 @@ gdk_event_source_translate_event (GdkEventSource *event_source,
event->crossing.window != NULL)
{
/* Handle focusing (in the case where no window manager is running */
- handle_focus_change (&event->crossing);
+ // handle_focus_change (&event->crossing);
}
#ifdef HAVE_XGENERICEVENTS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment