diff --git a/src/moveres.c b/src/moveres.c index b7aedb96..89fce684 100644 --- a/src/moveres.c +++ b/src/moveres.c @@ -1469,11 +1469,7 @@ int wKeyboardMoveResizeWindow(WWindow * wwin) }; if (done) { - scr->keymove_tick = 0; - /* - WMDeleteTimerWithClientData(&looper); - */ - if (!opaqueMoveResize) {/*ctrlmode=> resize */ + if (!opaqueMoveResize) { /* ctrlmode => resize */ if (wwin->flags.shaded || scr->selected_windows) { if (scr->selected_windows) drawFrames(wwin, scr->selected_windows, off_x, off_y); @@ -1482,7 +1478,7 @@ int wKeyboardMoveResizeWindow(WWindow * wwin) } else { drawTransparentFrame(wwin, src_x + off_x, src_y + off_y, ww, wh); } - }; + } if (ctrlmode) { showGeometry(wwin, src_x + off_x, src_y + off_y, src_x + off_x + ww, diff --git a/src/screen.h b/src/screen.h index fc933f11..cc7538af 100644 --- a/src/screen.h +++ b/src/screen.h @@ -219,7 +219,6 @@ typedef struct _WScreen { int drawer_count; /* Nb of drawers that */ struct WDock *attracting_drawer; /* The drawer that auto-attracts icons, or NULL */ - int keymove_tick; struct RContext *rcontext; /* wrlib context */ WMScreen *wmscreen; /* for widget library */