No longer filter out all events by default
This commit is contained in:
parent
08bbb66d47
commit
36bfcf2e52
24
src/framer.c
24
src/framer.c
|
@ -483,7 +483,7 @@ static GdkFilterReturn _framer_filter(GdkXEvent * xevent, GdkEvent * event,
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return GDK_FILTER_REMOVE;
|
return GDK_FILTER_CONTINUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static GdkFilterReturn _filter_client_message(XClientMessageEvent * xclient,
|
static GdkFilterReturn _filter_client_message(XClientMessageEvent * xclient,
|
||||||
|
@ -522,7 +522,7 @@ static GdkFilterReturn _filter_client_message(XClientMessageEvent * xclient,
|
||||||
g_free(p);
|
g_free(p);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return GDK_FILTER_REMOVE;
|
return GDK_FILTER_CONTINUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static GdkFilterReturn _filter_configure_notify(XConfigureEvent * xconfigure)
|
static GdkFilterReturn _filter_configure_notify(XConfigureEvent * xconfigure)
|
||||||
|
@ -530,7 +530,7 @@ static GdkFilterReturn _filter_configure_notify(XConfigureEvent * xconfigure)
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
fprintf(stderr, "DEBUG: %s()\n", __func__);
|
fprintf(stderr, "DEBUG: %s()\n", __func__);
|
||||||
#endif
|
#endif
|
||||||
return GDK_FILTER_REMOVE;
|
return GDK_FILTER_CONTINUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static GdkFilterReturn _filter_configure_request(
|
static GdkFilterReturn _filter_configure_request(
|
||||||
|
@ -603,7 +603,7 @@ static GdkFilterReturn _filter_configure_request(
|
||||||
wc.border_width = 0;
|
wc.border_width = 0;
|
||||||
#endif
|
#endif
|
||||||
XConfigureWindow(xconfigure->display, xconfigure->window, mask, &wc);
|
XConfigureWindow(xconfigure->display, xconfigure->window, mask, &wc);
|
||||||
return GDK_FILTER_REMOVE;
|
return GDK_FILTER_CONTINUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static GdkFilterReturn _filter_create_notify(XCreateWindowEvent * xcreate,
|
static GdkFilterReturn _filter_create_notify(XCreateWindowEvent * xcreate,
|
||||||
|
@ -613,7 +613,7 @@ static GdkFilterReturn _filter_create_notify(XCreateWindowEvent * xcreate,
|
||||||
fprintf(stderr, "DEBUG: %s()\n", __func__);
|
fprintf(stderr, "DEBUG: %s()\n", __func__);
|
||||||
#endif
|
#endif
|
||||||
framer_window_add(framer, xcreate->window);
|
framer_window_add(framer, xcreate->window);
|
||||||
return GDK_FILTER_REMOVE;
|
return GDK_FILTER_CONTINUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static GdkFilterReturn _filter_destroy_notify(XDestroyWindowEvent * xdestroy,
|
static GdkFilterReturn _filter_destroy_notify(XDestroyWindowEvent * xdestroy,
|
||||||
|
@ -623,7 +623,7 @@ static GdkFilterReturn _filter_destroy_notify(XDestroyWindowEvent * xdestroy,
|
||||||
fprintf(stderr, "DEBUG: %s()\n", __func__);
|
fprintf(stderr, "DEBUG: %s()\n", __func__);
|
||||||
#endif
|
#endif
|
||||||
framer_window_remove(framer, xdestroy->window);
|
framer_window_remove(framer, xdestroy->window);
|
||||||
return GDK_FILTER_REMOVE;
|
return GDK_FILTER_CONTINUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static GdkFilterReturn _filter_leave_notify(XCrossingEvent * xleave)
|
static GdkFilterReturn _filter_leave_notify(XCrossingEvent * xleave)
|
||||||
|
@ -631,7 +631,7 @@ static GdkFilterReturn _filter_leave_notify(XCrossingEvent * xleave)
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
fprintf(stderr, "DEBUG: %s()\n", __func__);
|
fprintf(stderr, "DEBUG: %s()\n", __func__);
|
||||||
#endif
|
#endif
|
||||||
return GDK_FILTER_REMOVE;
|
return GDK_FILTER_CONTINUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static GdkFilterReturn _filter_map_notify(XMapEvent * xmap)
|
static GdkFilterReturn _filter_map_notify(XMapEvent * xmap)
|
||||||
|
@ -639,7 +639,7 @@ static GdkFilterReturn _filter_map_notify(XMapEvent * xmap)
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
fprintf(stderr, "DEBUG: %s()\n", __func__);
|
fprintf(stderr, "DEBUG: %s()\n", __func__);
|
||||||
#endif
|
#endif
|
||||||
return GDK_FILTER_REMOVE;
|
return GDK_FILTER_CONTINUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static GdkFilterReturn _filter_map_request(XMapRequestEvent * xmap)
|
static GdkFilterReturn _filter_map_request(XMapRequestEvent * xmap)
|
||||||
|
@ -648,7 +648,7 @@ static GdkFilterReturn _filter_map_request(XMapRequestEvent * xmap)
|
||||||
fprintf(stderr, "DEBUG: %s()\n", __func__);
|
fprintf(stderr, "DEBUG: %s()\n", __func__);
|
||||||
#endif
|
#endif
|
||||||
XMapWindow(xmap->display, xmap->window);
|
XMapWindow(xmap->display, xmap->window);
|
||||||
return GDK_FILTER_REMOVE;
|
return GDK_FILTER_CONTINUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static GdkFilterReturn _filter_motion_notify(XMotionEvent * xmotion)
|
static GdkFilterReturn _filter_motion_notify(XMotionEvent * xmotion)
|
||||||
|
@ -656,7 +656,7 @@ static GdkFilterReturn _filter_motion_notify(XMotionEvent * xmotion)
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
fprintf(stderr, "DEBUG: %s()\n", __func__);
|
fprintf(stderr, "DEBUG: %s()\n", __func__);
|
||||||
#endif
|
#endif
|
||||||
return GDK_FILTER_REMOVE;
|
return GDK_FILTER_CONTINUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static GdkFilterReturn _filter_property_notify(XPropertyEvent * xproperty,
|
static GdkFilterReturn _filter_property_notify(XPropertyEvent * xproperty,
|
||||||
|
@ -673,7 +673,7 @@ static GdkFilterReturn _filter_property_notify(XPropertyEvent * xproperty,
|
||||||
xproperty->send_event ? "TRUE" : "FALSE");
|
xproperty->send_event ? "TRUE" : "FALSE");
|
||||||
#endif
|
#endif
|
||||||
g_free(name);
|
g_free(name);
|
||||||
return GDK_FILTER_REMOVE;
|
return GDK_FILTER_CONTINUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static GdkFilterReturn _filter_unmap_notify(XUnmapEvent * xunmap,
|
static GdkFilterReturn _filter_unmap_notify(XUnmapEvent * xunmap,
|
||||||
|
@ -682,5 +682,5 @@ static GdkFilterReturn _filter_unmap_notify(XUnmapEvent * xunmap,
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
fprintf(stderr, "DEBUG: %s()\n", __func__);
|
fprintf(stderr, "DEBUG: %s()\n", __func__);
|
||||||
#endif
|
#endif
|
||||||
return GDK_FILTER_REMOVE;
|
return GDK_FILTER_CONTINUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user