init_gvc(gvc, g);
init_layering(gvc, g);
- gvc->keybindings = gvevent_key_binding;
- gvc->numkeys = gvevent_key_binding_size;
gv_fixLocale (1);
for (job = gvjobs_first(gvc); job; job = gvjobs_next(gvc)) {
if (gvc->gvg) {
}
job->common = &(gvc->common);
job->layout_type = gvc->layout.type;
+ job->keybindings = gvevent_key_binding;
+ job->numkeys = gvevent_key_binding_size;
if (!GD_drawing(g)) {
agerr (AGERR, "layout was not done\n");
gv_fixLocale (0);
#undef ELEM
gvplugin_package_t *packages; /* list of available packages */
- /* keybindings for keyboard events */
- gvevent_key_binding_t *keybindings;
- int numkeys;
- void *keycodes;
-
/* externally provided write() displine */
size_t (*write_fn) (GVJ_t *job, const char *s, size_t len);
case KeyPress:
if (handle_keypress(job, &xev.xkey))
return -1; /* exit code */
+ rc++;
break;
case ConfigureNotify:
handle_configure_notify(job, &xev.xconfigure);