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
--------
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
-----------
@ -49,9 +49,6 @@ OPTIONS
Use an alternate configuration file instead of $HOME/.awesomerc.
--check | -k::
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
-----------------------

View File

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