* configuration file.
*
*/
-void load_configuration(xcb_connection_t *conn, const char *override_configfile, bool reload);
+void load_configuration(const char *override_configfile, bool reload);
/**
* Ungrabs all keys, to be called before re-grabbing the keys because of a
LOG("reloading\n");
kill_nagbar(&config_error_nagbar_pid, false);
kill_nagbar(&command_error_nagbar_pid, false);
- load_configuration(conn, NULL, true);
+ load_configuration(NULL, true);
x_set_i3_atoms();
/* Send an IPC event just in case the ws names have changed */
ipc_send_workspace_event("reload", NULL, NULL);
* configuration file.
*
*/
-void load_configuration(xcb_connection_t *conn, const char *override_configpath, bool reload) {
+void load_configuration(const char *override_configpath, bool reload) {
if (reload) {
/* If we are currently in a binding mode, we first revert to the
* default since we have no guarantee that the current mode will even
#include "atoms.xmacro"
#undef xmacro
- load_configuration(conn, override_configpath, false);
+ load_configuration(override_configpath, false);
if (config.ipc_socket_path == NULL) {
/* Fall back to a file name in /tmp/ based on the PID */