Fix invalid compositor type check in e_dpms_force_update

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2015-11-23 10:00:36 -05:00
parent eff826b4e3
commit ebf1318b0d
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ e_dpms_force_update(void)
off += OFF;
}
#ifndef HAVE_WAYLAND_ONLY
if (!e_comp->comp_type == E_PIXMAP_TYPE_X) return;
if (e_comp->comp_type != E_PIXMAP_TYPE_X) return;
ecore_x_dpms_timeouts_set(standby + 10, suspend + 10, off + 10);
ecore_x_dpms_timeouts_set(standby, suspend, off);
#endif