diff options
author | ulteq <ulteq@web.de> | 2018-01-17 09:45:09 +0100 |
---|---|---|
committer | ulteq <ulteq@web.de> | 2018-03-10 21:30:54 +0100 |
commit | b71d8407eea710d654438f423b6f56eb323ee5d2 (patch) | |
tree | 737782cdd6a9494519544e66ae6b70c142c2da99 | |
parent | d9c1cab85af4107cde67a2aba5657fc0b680f852 (diff) |
Remove unused code
-rw-r--r-- | src/winwidget.c | 8 | ||||
-rw-r--r-- | src/winwidget.h | 1 |
2 files changed, 0 insertions, 9 deletions
diff --git a/src/winwidget.c b/src/winwidget.c index 576ff58..39d7d7b 100644 --- a/src/winwidget.c +++ b/src/winwidget.c @@ -645,13 +645,6 @@ Pixmap feh_create_checks(void) return(checks_pmap); } -void winwidget_clear_background(winwidget w) -{ - XSetWindowBackgroundPixmap(disp, w->win, feh_create_checks()); - /* XClearWindow(disp, w->win); */ - return; -} - void feh_draw_checks(winwidget win) { static GC gc = None; @@ -818,7 +811,6 @@ void winwidget_resize(winwidget winwid, int w, int h, int force_resize) return; } if (winwid && ((winwid->w != w) || (winwid->h != h))) { - /* winwidget_clear_background(winwid); */ if (opt.screen_clip) { double required_zoom = 1.0; int max_w = (w > scr_width) ? scr_width : w; diff --git a/src/winwidget.h b/src/winwidget.h index dd8489a..280c977 100644 --- a/src/winwidget.h +++ b/src/winwidget.h @@ -146,7 +146,6 @@ winwidget winwidget_create_from_image(Imlib_Image im, char type); void winwidget_rename(winwidget winwid, char *newname); void winwidget_destroy(winwidget winwid); void winwidget_create_window(winwidget ret, int w, int h); -void winwidget_clear_background(winwidget w); Pixmap feh_create_checks(void); double feh_calc_needed_zoom(double *zoom, int orig_w, int orig_h, int dest_w, int dest_h); void feh_debug_print_winwid(winwidget winwid); |