diff options
-rwxr-xr-x | script/rofi-sensible-terminal | 2 | ||||
-rw-r--r-- | source/rofi.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/script/rofi-sensible-terminal b/script/rofi-sensible-terminal index c0951c5a..ca86148d 100755 --- a/script/rofi-sensible-terminal +++ b/script/rofi-sensible-terminal @@ -9,7 +9,7 @@ # We welcome patches that add distribution-specific mechanisms to find the # preferred terminal emulator. On Debian, there is the x-terminal-emulator # symlink for example. -for terminal in $TERMINAL x-terminal-emulator termite urxvt rxvt terminator Eterm aterm xterm gnome-terminal roxterm xfce4-terminal termite lxterminal; do +for terminal in $TERMINAL xdg-terminal x-terminal-emulator termite urxvt rxvt terminator Eterm aterm xterm gnome-terminal roxterm xfce4-terminal termite lxterminal; do if command -v $terminal > /dev/null 2>&1; then exec $terminal "$@" fi diff --git a/source/rofi.c b/source/rofi.c index 8c2b050c..2765f1e9 100644 --- a/source/rofi.c +++ b/source/rofi.c @@ -979,7 +979,7 @@ static void menu_resize ( MenuState *state ) h -= state->line_height + config.line_margin; } if ( h < 0 ) { - fprintf ( stderr, "Current padding %d (on each side) does not fit within visible window %d.\n", config.padding, state->h ); + fprintf ( stderr, "Current padding %u (on each side) does not fit within visible window %u.\n", config.padding, state->h ); h = ( state->h - state->top_offset - state->h / 3 ); if ( config.sidebar_mode == TRUE ) { h -= state->line_height + config.line_margin; |