Remove xsync option (no XCB equivalent of XSynchronize)

This commit is contained in:
Arnaud Fontaine 2008-03-28 12:51:38 +00:00 committed by Julien Danjou
parent 989b89c0cd
commit d2383012f7
2 changed files with 2 additions and 12 deletions

View File

@ -9,7 +9,7 @@ awesome - awesome window manager
SYNOPSIS SYNOPSIS
-------- --------
awesome [ -v | --version ] [ -h | --help ] [ -k | --check ] [ -s | --sync ] [ --config | -c configuration file ] awesome [ -v | --version ] [ -h | --help ] [ -k | --check ] [ --config | -c configuration file ]
DESCRIPTION DESCRIPTION
----------- -----------
@ -49,9 +49,6 @@ OPTIONS
Use an alternate configuration file instead of $HOME/.awesomerc. Use an alternate configuration file instead of $HOME/.awesomerc.
--check | -k:: --check | -k::
Check configuration file syntax. Check configuration file syntax.
--sync | -s::
Enable X11 synchronization mode. All X11 calls will be synchronized,
so you can break on exit to retrieve a backtrace of X errors.
DEFAULTS MOUSE BINDINGS DEFAULTS MOUSE BINDINGS
----------------------- -----------------------

View File

@ -259,8 +259,7 @@ exit_help(int exit_code)
-h, --help show help\n\ -h, --help show help\n\
-v, --version show version\n\ -v, --version show version\n\
-c, --config FILE configuration file to use\n\ -c, --config FILE configuration file to use\n\
-k, --check check configuration file syntax\n\ -k, --check check configuration file syntax\n");
-s --sync enable synchronization (X debug)\n");
exit(exit_code); exit(exit_code);
} }
@ -290,7 +289,6 @@ main(int argc, char *argv[])
{"version", 0, NULL, 'v'}, {"version", 0, NULL, 'v'},
{"check", 0, NULL, 'k'}, {"check", 0, NULL, 'k'},
{"config", 1, NULL, 'c'}, {"config", 1, NULL, 'c'},
{"sync", 0, NULL, 's'},
{NULL, 0, NULL, 0} {NULL, 0, NULL, 0}
}; };
@ -365,11 +363,6 @@ main(int argc, char *argv[])
/* set the default xerror handler */ /* set the default xerror handler */
xutil_set_error_handler_catch_all(globalconf.evenths, xerror, NULL); xutil_set_error_handler_catch_all(globalconf.evenths, xerror, NULL);
/* TODO
if(xsync)
XSynchronize(dpy, true);
*/
/* Allocate the key symbols */ /* Allocate the key symbols */
globalconf.keysyms = xcb_key_symbols_alloc(conn); globalconf.keysyms = xcb_key_symbols_alloc(conn);