X-Git-Url: https://diplodocus.org/git/xorg-xinput/blobdiff_plain/ccef360e5ee6598a0ab722389bdf8d391ff7efee..6f444b5d063452e7a8705c756269960e509241d8:/src/xinput.c?ds=inline diff --git a/src/xinput.c b/src/xinput.c index b1cd0a3..1207f9d 100644 --- a/src/xinput.c +++ b/src/xinput.c @@ -53,6 +53,10 @@ static entry drivers[] = " ", set_integer_feedback }, + {"get-button-map", + "", + get_button_map + }, {"set-button-map", " [ [...]]", set_button_map @@ -102,6 +106,7 @@ static entry drivers[] = " ", set_clientpointer }, +#endif { "list-props", " [ ...]", list_props @@ -110,6 +115,14 @@ static entry drivers[] = " [ ...]", set_int_prop }, + { "set-float-prop", + " [ ...]", + set_float_prop + }, + { "set-atom-prop", + " [ ...]", + set_atom_prop + }, { "watch-props", "", watch_props @@ -118,7 +131,6 @@ static entry drivers[] = " ", delete_prop }, -#endif {0, 0, 0 } }; @@ -232,7 +244,7 @@ main(int argc, char * argv[]) if (strcmp(driver->func_name, func) == 0) { int r = (*driver->func)(display, argc-2, argv+2, driver->func_name, driver->arg_desc); - XFlush(display); + XSync(display, False); return r; } driver++;