Starting the deprecation process for --sw-opti

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2019-02-21 03:42:03 +00:00
parent 6909597ee3
commit a7f373dec3
No known key found for this signature in database
GPG Key ID: 37C999F617EA1A47
2 changed files with 3 additions and 1 deletions

View File

@ -1856,6 +1856,8 @@ update_refresh_rate(session_t *ps) {
*/
static bool
swopti_init(session_t *ps) {
log_warn("--sw-opti is going to be deprecated. If you get real benefits from using "
"this option, please open an issue to let us know.");
// Prepare refresh rate
// Check if user provides one
ps->refresh_rate = ps->o.refresh_rate;

View File

@ -874,7 +874,7 @@ void add_win(session_t *ps, xcb_window_t id, xcb_window_t prev) {
auto duplicated_win = find_win(ps, id);
if (duplicated_win) {
log_warn("Window %#010x (recorded name: %s) added multiple times", id,
log_debug("Window %#010x (recorded name: %s) added multiple times", id,
duplicated_win->name);
return;
}