1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-22 05:48:01 +01:00

Removed unused keymove_tick variable

The variable keymove_tick is set, but is never used after, so can
be removed.

kix@osaka:~/src/wmaker/git/wmaker-crm/src$ grep keymove_tick *[ch]
moveres.c:                      scr->keymove_tick = 0;
screen.h:    int keymove_tick;
kix@osaka:~/src/wmaker/git/wmaker-crm/src$

Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
This commit is contained in:
Rodolfo García Peñas (kix)
2013-10-07 00:12:11 +02:00
committed by Carlos R. Mafra
parent 97ecb7b613
commit 6d65daf1be
2 changed files with 2 additions and 7 deletions

View File

@@ -1469,10 +1469,6 @@ int wKeyboardMoveResizeWindow(WWindow * wwin)
};
if (done) {
scr->keymove_tick = 0;
/*
WMDeleteTimerWithClientData(&looper);
*/
if (!opaqueMoveResize) { /* ctrlmode => resize */
if (wwin->flags.shaded || scr->selected_windows) {
if (scr->selected_windows)
@@ -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,

View File

@@ -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 */