init_logging();
/* On release builds, disable SHM logging by default. */
- shmlog_size = (is_debug_build() ? default_shmlog_size : 0);
+ shmlog_size = (is_debug_build() || strstr(argv[0], "i3-with-shmlog") != NULL ? default_shmlog_size : 0);
start_argv = argv;
only_check_config = true;
break;
case 'v':
- printf("i3 version " I3_VERSION " © 2009-2013 Michael Stapelberg and contributors\n");
+ printf("i3 version " I3_VERSION " © 2009-2014 Michael Stapelberg and contributors\n");
exit(EXIT_SUCCESS);
break;
case 'm':
- printf("Binary i3 version: " I3_VERSION " © 2009-2013 Michael Stapelberg and contributors\n");
+ printf("Binary i3 version: " I3_VERSION " © 2009-2014 Michael Stapelberg and contributors\n");
display_running_version();
exit(EXIT_SUCCESS);
break;
x_set_i3_atoms();
ewmh_update_workarea();
+ /* Set the _NET_CURRENT_DESKTOP property. */
+ ewmh_update_current_desktop();
+
struct ev_io *xcb_watcher = scalloc(sizeof(struct ev_io));
struct ev_io *xkb = scalloc(sizeof(struct ev_io));
xcb_check = scalloc(sizeof(struct ev_check));