aboutsummaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/utils.c b/src/utils.c
index 92abbb0..e00f3c5 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -329,10 +329,8 @@ gsr_monitor_rotation drm_monitor_get_display_server_rotation(const gsr_egl *egl,
userdata.rotation = GSR_MONITOR_ROT_0;
userdata.match_found = false;
for_each_active_monitor_output_wayland(egl, get_monitor_by_name_and_size_callback, &userdata);
- if(userdata.match_found) {
- fprintf(stderr, "found!\n");
+ if(userdata.match_found)
return userdata.rotation;
- }
}
{
get_monitor_by_connector_id_userdata userdata;