Skip to content

Commit

Permalink
Remove pan_frame debugging.
Browse files Browse the repository at this point in the history
  • Loading branch information
somiaj authored and ThomasAdam committed Nov 7, 2023
1 parent 1ae43db commit df6544e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 0 additions & 2 deletions fvwm/events.c
Original file line number Diff line number Diff line change
Expand Up @@ -2338,8 +2338,6 @@ void HandleEnterNotify(const evh_args_t *ea)
int p = HandlePaging(
&e, edge_scroll, &junk, &delta,
True, True, False, Scr.ScrollDelay);
fvwm_debug(__func__, "handled paging for %s (%d)",
m->si->name, p);
return;
}
}
Expand Down
7 changes: 1 addition & 6 deletions fvwm/virtual.c
Original file line number Diff line number Diff line change
Expand Up @@ -733,12 +733,9 @@ int HandlePaging(
int mwidth, mheight;
int edge_thickness = m->virtual_scr.edge_thickness;

fvwm_debug(__func__, "ET (%s) is: %d", m->si->name, edge_thickness);

mwidth = monitor_get_all_widths();
mheight = monitor_get_all_heights();


delta->x = 0;
delta->y = 0;
if (!is_timestamp_valid && do_continue_previous)
Expand Down Expand Up @@ -1317,7 +1314,6 @@ void initPanFrames(struct monitor *ref)
}

/* Free panframes here for all monitors. */
fvwm_debug(__func__, "freeing panframes");
TAILQ_FOREACH(m, &monitor_q, entry) {
if (ref != NULL && m != ref)
continue;
Expand Down Expand Up @@ -1362,7 +1358,6 @@ void initPanFrames(struct monitor *ref)
checkPanFrames(m);
}
ref->virtual_scr.edge_thickness = saved_thickness;
fvwm_debug(__func__, "finished setting up per-monitor panframes");
}

Bool is_pan_frame(Window w)
Expand Down Expand Up @@ -3151,4 +3146,4 @@ void CMD_DesktopName(F_CMD_ARGS)

TAILQ_FOREACH(m, &monitor_q, entry)
apply_desktops_monitor(m);
}
}

0 comments on commit df6544e

Please sign in to comment.