1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 22:06:38 +02:00

core: use an integer for seconds in command /window bare <delay>

This commit is contained in:
Sébastien Helleu
2014-04-02 13:29:58 +02:00
parent dfe3ee6b18
commit a0d0711bb0
20 changed files with 88 additions and 89 deletions
+3 -3
View File
@@ -917,7 +917,7 @@ scroll_next_highlight: scroll to next highlight
scroll_unread: scroll to unread marker
swap: swap buffers of two windows (with optional direction for target window)
zoom: zoom on window
bare: toggle bare display (with optional delay in seconds, as decimal number, for automatic return to standard display mode)
bare: toggle bare display (with optional delay in seconds for automatic return to standard display mode)
For splith and splitv, pct is a percentage which represents size of new window, computed with current window as size reference. For example 25 means create a new window with size = current_size / 4
@@ -932,7 +932,7 @@ Examples:
/window scroll -d
zoom on window #2:
/window zoom -window 2
enable bare display for 2.5 seconds:
/window bare 2.5
enable bare display for 2 seconds:
/window bare 2
----
+3 -3
View File
@@ -917,7 +917,7 @@ scroll_next_highlight: scroll to next highlight
scroll_unread: scroll to unread marker
swap: swap buffers of two windows (with optional direction for target window)
zoom: zoom on window
bare: toggle bare display (with optional delay in seconds, as decimal number, for automatic return to standard display mode)
bare: toggle bare display (with optional delay in seconds for automatic return to standard display mode)
For splith and splitv, pct is a percentage which represents size of new window, computed with current window as size reference. For example 25 means create a new window with size = current_size / 4
@@ -932,7 +932,7 @@ Examples:
/window scroll -d
zoom on window #2:
/window zoom -window 2
enable bare display for 2.5 seconds:
/window bare 2.5
enable bare display for 2 seconds:
/window bare 2
----
+3 -3
View File
@@ -917,7 +917,7 @@ scroll_next_highlight: faire défiler jusqu'au highlight suivant
scroll_unread: faire défiler jusqu'au marqueur de données non lues
swap: échanger les tampons de deux fenêtres (avec une direction facultative pour la fenêtre cible)
zoom: zoomer sur la fenêtre
bare: activer/désactiver le mode d'affichage dépouillé (avec un délai facultatif en secondes, sous forme de nombre décimal, pour un retour automatique au mode d'affichage standard)
bare: activer/désactiver le mode d'affichage dépouillé (avec un délai facultatif en secondes pour un retour automatique au mode d'affichage standard)
Pour splith et splitv, pct est un pourcentage qui représente la taille de la nouvelle fenêtre, calculée par rapport à la taille de la fenêtre courante. Par exemple 25 signifie créer une fenêtre qui a pour taille: taille_courante / 4
@@ -932,7 +932,7 @@ Exemples:
/window scroll -d
zoom sur la fenêtre numéro 2:
/window zoom -window 2
activer le mode d'affichage dépouillé pendant 2,5 secondes:
/window bare 2.5
activer le mode d'affichage dépouillé pendant 2 secondes:
/window bare 2
----
+3 -3
View File
@@ -917,7 +917,7 @@ scroll_next_highlight: scroll to next highlight
scroll_unread: scroll to unread marker
swap: swap buffers of two windows (with optional direction for target window)
zoom: zoom on window
bare: toggle bare display (with optional delay in seconds, as decimal number, for automatic return to standard display mode)
bare: toggle bare display (with optional delay in seconds for automatic return to standard display mode)
For splith and splitv, pct is a percentage which represents size of new window, computed with current window as size reference. For example 25 means create a new window with size = current_size / 4
@@ -932,7 +932,7 @@ Examples:
/window scroll -d
zoom on window #2:
/window zoom -window 2
enable bare display for 2.5 seconds:
/window bare 2.5
enable bare display for 2 seconds:
/window bare 2
----
+3 -3
View File
@@ -917,7 +917,7 @@ scroll_next_highlight: scroll to next highlight
scroll_unread: scroll to unread marker
swap: swap buffers of two windows (with optional direction for target window)
zoom: zoom on window
bare: toggle bare display (with optional delay in seconds, as decimal number, for automatic return to standard display mode)
bare: toggle bare display (with optional delay in seconds for automatic return to standard display mode)
For splith and splitv, pct is a percentage which represents size of new window, computed with current window as size reference. For example 25 means create a new window with size = current_size / 4
@@ -932,7 +932,7 @@ Examples:
/window scroll -d
zoom on window #2:
/window zoom -window 2
enable bare display for 2.5 seconds:
/window bare 2.5
enable bare display for 2 seconds:
/window bare 2
----
+3 -3
View File
@@ -917,7 +917,7 @@ scroll_next_highlight: scroll to next highlight
scroll_unread: scroll to unread marker
swap: swap buffers of two windows (with optional direction for target window)
zoom: zoom on window
bare: toggle bare display (with optional delay in seconds, as decimal number, for automatic return to standard display mode)
bare: toggle bare display (with optional delay in seconds for automatic return to standard display mode)
For splith and splitv, pct is a percentage which represents size of new window, computed with current window as size reference. For example 25 means create a new window with size = current_size / 4
@@ -932,7 +932,7 @@ Examples:
/window scroll -d
zoom on window #2:
/window zoom -window 2
enable bare display for 2.5 seconds:
/window bare 2.5
enable bare display for 2 seconds:
/window bare 2
----
+5 -5
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-04-01 15:41+0200\n"
"POT-Creation-Date: 2014-04-02 13:28+0200\n"
"PO-Revision-Date: 2014-03-24 14:23+0100\n"
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -2410,8 +2410,8 @@ msgid ""
" swap: swap buffers of two windows (with optional direction for "
"target window)\n"
" zoom: zoom on window\n"
" bare: toggle bare display (with optional delay in seconds, as "
"decimal number, for automatic return to standard display mode)\n"
" bare: toggle bare display (with optional delay in seconds for "
"automatic return to standard display mode)\n"
"\n"
"For splith and splitv, pct is a percentage which represents size of new "
"window, computed with current window as size reference. For example 25 means "
@@ -2428,8 +2428,8 @@ msgid ""
" /window scroll -d\n"
" zoom on window #2:\n"
" /window zoom -window 2\n"
" enable bare display for 2.5 seconds:\n"
" /window bare 2.5"
" enable bare display for 2 seconds:\n"
" /window bare 2"
msgstr ""
" list: vypíše otevřená okna (bez paramatru implikuje tenhle list)\n"
" -1: přepne na přechozí okno\n"
+5 -5
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-04-01 15:41+0200\n"
"POT-Creation-Date: 2014-04-02 13:28+0200\n"
"PO-Revision-Date: 2014-03-27 19:25+0100\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <weechatter@arcor.de>\n"
@@ -2797,8 +2797,8 @@ msgid ""
" swap: swap buffers of two windows (with optional direction for "
"target window)\n"
" zoom: zoom on window\n"
" bare: toggle bare display (with optional delay in seconds, as "
"decimal number, for automatic return to standard display mode)\n"
" bare: toggle bare display (with optional delay in seconds for "
"automatic return to standard display mode)\n"
"\n"
"For splith and splitv, pct is a percentage which represents size of new "
"window, computed with current window as size reference. For example 25 means "
@@ -2815,8 +2815,8 @@ msgid ""
" /window scroll -d\n"
" zoom on window #2:\n"
" /window zoom -window 2\n"
" enable bare display for 2.5 seconds:\n"
" /window bare 2.5"
" enable bare display for 2 seconds:\n"
" /window bare 2"
msgstr ""
" list: listet die geöffneten Fenster (ohne Angabe von Argumente wird "
"diese Liste standardmäßig ausgegeben)\n"
+5 -5
View File
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-04-01 15:41+0200\n"
"POT-Creation-Date: 2014-04-02 13:28+0200\n"
"PO-Revision-Date: 2014-03-24 14:23+0100\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -2533,8 +2533,8 @@ msgid ""
" swap: swap buffers of two windows (with optional direction for "
"target window)\n"
" zoom: zoom on window\n"
" bare: toggle bare display (with optional delay in seconds, as "
"decimal number, for automatic return to standard display mode)\n"
" bare: toggle bare display (with optional delay in seconds for "
"automatic return to standard display mode)\n"
"\n"
"For splith and splitv, pct is a percentage which represents size of new "
"window, computed with current window as size reference. For example 25 means "
@@ -2551,8 +2551,8 @@ msgid ""
" /window scroll -d\n"
" zoom on window #2:\n"
" /window zoom -window 2\n"
" enable bare display for 2.5 seconds:\n"
" /window bare 2.5"
" enable bare display for 2 seconds:\n"
" /window bare 2"
msgstr ""
" list: lista las ventanas abiertas (si no hay argumentos se muestra esta "
"lista)\n"
+10 -10
View File
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-04-01 15:41+0200\n"
"PO-Revision-Date: 2014-04-01 15:41+0200\n"
"POT-Creation-Date: 2014-04-02 13:28+0200\n"
"PO-Revision-Date: 2014-04-02 13:28+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@@ -2724,8 +2724,8 @@ msgid ""
" swap: swap buffers of two windows (with optional direction for "
"target window)\n"
" zoom: zoom on window\n"
" bare: toggle bare display (with optional delay in seconds, as "
"decimal number, for automatic return to standard display mode)\n"
" bare: toggle bare display (with optional delay in seconds for "
"automatic return to standard display mode)\n"
"\n"
"For splith and splitv, pct is a percentage which represents size of new "
"window, computed with current window as size reference. For example 25 means "
@@ -2742,8 +2742,8 @@ msgid ""
" /window scroll -d\n"
" zoom on window #2:\n"
" /window zoom -window 2\n"
" enable bare display for 2.5 seconds:\n"
" /window bare 2.5"
" enable bare display for 2 seconds:\n"
" /window bare 2"
msgstr ""
" list: lister les fenêtres ouvertes (sans paramètre, cette liste est "
"affichée)\n"
@@ -2781,8 +2781,8 @@ msgstr ""
"facultative pour la fenêtre cible)\n"
" zoom: zoomer sur la fenêtre\n"
" bare: activer/désactiver le mode d'affichage dépouillé (avec un "
"délai facultatif en secondes, sous forme de nombre décimal, pour un retour "
"automatique au mode d'affichage standard)\n"
"délai facultatif en secondes pour un retour automatique au mode d'affichage "
"standard)\n"
"\n"
"Pour splith et splitv, pct est un pourcentage qui représente la taille de la "
"nouvelle fenêtre, calculée par rapport à la taille de la fenêtre courante. "
@@ -2800,8 +2800,8 @@ msgstr ""
" /window scroll -d\n"
" zoom sur la fenêtre numéro 2:\n"
" /window zoom -window 2\n"
" activer le mode d'affichage dépouillé pendant 2,5 secondes:\n"
" /window bare 2.5"
" activer le mode d'affichage dépouillé pendant 2 secondes:\n"
" /window bare 2"
msgid "names of buffers"
msgstr "noms des tampons"
+5 -5
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-04-01 15:41+0200\n"
"POT-Creation-Date: 2014-04-02 13:28+0200\n"
"PO-Revision-Date: 2014-03-24 14:23+0100\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -2097,8 +2097,8 @@ msgid ""
" swap: swap buffers of two windows (with optional direction for "
"target window)\n"
" zoom: zoom on window\n"
" bare: toggle bare display (with optional delay in seconds, as "
"decimal number, for automatic return to standard display mode)\n"
" bare: toggle bare display (with optional delay in seconds for "
"automatic return to standard display mode)\n"
"\n"
"For splith and splitv, pct is a percentage which represents size of new "
"window, computed with current window as size reference. For example 25 means "
@@ -2115,8 +2115,8 @@ msgid ""
" /window scroll -d\n"
" zoom on window #2:\n"
" /window zoom -window 2\n"
" enable bare display for 2.5 seconds:\n"
" /window bare 2.5"
" enable bare display for 2 seconds:\n"
" /window bare 2"
msgstr ""
" list: nyitott ablakok listája (paraméter nélkül ez hívódik meg)\n"
" -1: ugrás az előző ablakra\n"
+5 -5
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-04-01 15:41+0200\n"
"POT-Creation-Date: 2014-04-02 13:28+0200\n"
"PO-Revision-Date: 2014-03-24 14:23+0100\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -2618,8 +2618,8 @@ msgid ""
" swap: swap buffers of two windows (with optional direction for "
"target window)\n"
" zoom: zoom on window\n"
" bare: toggle bare display (with optional delay in seconds, as "
"decimal number, for automatic return to standard display mode)\n"
" bare: toggle bare display (with optional delay in seconds for "
"automatic return to standard display mode)\n"
"\n"
"For splith and splitv, pct is a percentage which represents size of new "
"window, computed with current window as size reference. For example 25 means "
@@ -2636,8 +2636,8 @@ msgid ""
" /window scroll -d\n"
" zoom on window #2:\n"
" /window zoom -window 2\n"
" enable bare display for 2.5 seconds:\n"
" /window bare 2.5"
" enable bare display for 2 seconds:\n"
" /window bare 2"
msgstr ""
" list: elenca le finestre aperte (senza argomento, questa lista "
"viene visualizzata)\n"
+5 -5
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-04-01 15:41+0200\n"
"POT-Creation-Date: 2014-04-02 13:28+0200\n"
"PO-Revision-Date: 2014-03-29 20:07+0900\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/translation_ja>\n"
@@ -2657,8 +2657,8 @@ msgid ""
" swap: swap buffers of two windows (with optional direction for "
"target window)\n"
" zoom: zoom on window\n"
" bare: toggle bare display (with optional delay in seconds, as "
"decimal number, for automatic return to standard display mode)\n"
" bare: toggle bare display (with optional delay in seconds for "
"automatic return to standard display mode)\n"
"\n"
"For splith and splitv, pct is a percentage which represents size of new "
"window, computed with current window as size reference. For example 25 means "
@@ -2675,8 +2675,8 @@ msgid ""
" /window scroll -d\n"
" zoom on window #2:\n"
" /window zoom -window 2\n"
" enable bare display for 2.5 seconds:\n"
" /window bare 2.5"
" enable bare display for 2 seconds:\n"
" /window bare 2"
msgstr ""
" list: 開けられたウィンドウのリストアップ (引数無しの場合、このリスト"
"が表示されます)\n"
+5 -5
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-04-01 15:41+0200\n"
"POT-Creation-Date: 2014-04-02 13:28+0200\n"
"PO-Revision-Date: 2014-03-24 14:23+0100\n"
"Last-Translator: Krzysztof Korościk <soltys@szluug.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -2707,8 +2707,8 @@ msgid ""
" swap: swap buffers of two windows (with optional direction for "
"target window)\n"
" zoom: zoom on window\n"
" bare: toggle bare display (with optional delay in seconds, as "
"decimal number, for automatic return to standard display mode)\n"
" bare: toggle bare display (with optional delay in seconds for "
"automatic return to standard display mode)\n"
"\n"
"For splith and splitv, pct is a percentage which represents size of new "
"window, computed with current window as size reference. For example 25 means "
@@ -2725,8 +2725,8 @@ msgid ""
" /window scroll -d\n"
" zoom on window #2:\n"
" /window zoom -window 2\n"
" enable bare display for 2.5 seconds:\n"
" /window bare 2.5"
" enable bare display for 2 seconds:\n"
" /window bare 2"
msgstr ""
" list: lista otwartych okien (bez argumentu wyświetlana jest ta "
"lista)\n"
+5 -5
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-04-01 15:41+0200\n"
"POT-Creation-Date: 2014-04-02 13:28+0200\n"
"PO-Revision-Date: 2014-03-24 14:23+0100\n"
"Last-Translator: Sergio Durigan Junior <sergiosdj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -2499,8 +2499,8 @@ msgid ""
" swap: swap buffers of two windows (with optional direction for "
"target window)\n"
" zoom: zoom on window\n"
" bare: toggle bare display (with optional delay in seconds, as "
"decimal number, for automatic return to standard display mode)\n"
" bare: toggle bare display (with optional delay in seconds for "
"automatic return to standard display mode)\n"
"\n"
"For splith and splitv, pct is a percentage which represents size of new "
"window, computed with current window as size reference. For example 25 means "
@@ -2517,8 +2517,8 @@ msgid ""
" /window scroll -d\n"
" zoom on window #2:\n"
" /window zoom -window 2\n"
" enable bare display for 2.5 seconds:\n"
" /window bare 2.5"
" enable bare display for 2 seconds:\n"
" /window bare 2"
msgstr ""
" list: lista janelas abertas (sem argumentos, esta lista é "
"mostrada)\n"
+5 -5
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-04-01 15:41+0200\n"
"POT-Creation-Date: 2014-04-02 13:28+0200\n"
"PO-Revision-Date: 2014-03-24 14:23+0100\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -2120,8 +2120,8 @@ msgid ""
" swap: swap buffers of two windows (with optional direction for "
"target window)\n"
" zoom: zoom on window\n"
" bare: toggle bare display (with optional delay in seconds, as "
"decimal number, for automatic return to standard display mode)\n"
" bare: toggle bare display (with optional delay in seconds for "
"automatic return to standard display mode)\n"
"\n"
"For splith and splitv, pct is a percentage which represents size of new "
"window, computed with current window as size reference. For example 25 means "
@@ -2138,8 +2138,8 @@ msgid ""
" /window scroll -d\n"
" zoom on window #2:\n"
" /window zoom -window 2\n"
" enable bare display for 2.5 seconds:\n"
" /window bare 2.5"
" enable bare display for 2 seconds:\n"
" /window bare 2"
msgstr ""
" list: перечислить открытые окна (отсутствие параметров подразумевает этот "
"список)\n"
+5 -5
View File
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-04-01 15:41+0200\n"
"POT-Creation-Date: 2014-04-02 13:28+0200\n"
"PO-Revision-Date: 2014-03-24 14:23+0100\n"
"Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1900,8 +1900,8 @@ msgid ""
" swap: swap buffers of two windows (with optional direction for "
"target window)\n"
" zoom: zoom on window\n"
" bare: toggle bare display (with optional delay in seconds, as "
"decimal number, for automatic return to standard display mode)\n"
" bare: toggle bare display (with optional delay in seconds for "
"automatic return to standard display mode)\n"
"\n"
"For splith and splitv, pct is a percentage which represents size of new "
"window, computed with current window as size reference. For example 25 means "
@@ -1918,8 +1918,8 @@ msgid ""
" /window scroll -d\n"
" zoom on window #2:\n"
" /window zoom -window 2\n"
" enable bare display for 2.5 seconds:\n"
" /window bare 2.5"
" enable bare display for 2 seconds:\n"
" /window bare 2"
msgstr ""
msgid "names of buffers"
+5 -5
View File
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.4.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
"POT-Creation-Date: 2014-04-01 15:41+0200\n"
"POT-Creation-Date: 2014-04-02 13:28+0200\n"
"PO-Revision-Date: 2013-02-14 18:20+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -1903,8 +1903,8 @@ msgid ""
" swap: swap buffers of two windows (with optional direction for "
"target window)\n"
" zoom: zoom on window\n"
" bare: toggle bare display (with optional delay in seconds, as "
"decimal number, for automatic return to standard display mode)\n"
" bare: toggle bare display (with optional delay in seconds for "
"automatic return to standard display mode)\n"
"\n"
"For splith and splitv, pct is a percentage which represents size of new "
"window, computed with current window as size reference. For example 25 means "
@@ -1921,8 +1921,8 @@ msgid ""
" /window scroll -d\n"
" zoom on window #2:\n"
" /window zoom -window 2\n"
" enable bare display for 2.5 seconds:\n"
" /window bare 2.5"
" enable bare display for 2 seconds:\n"
" /window bare 2"
msgstr ""
msgid "names of buffers"
+3 -4
View File
@@ -7632,8 +7632,7 @@ command_init ()
"for target window)\n"
" zoom: zoom on window\n"
" bare: toggle bare display (with optional delay in "
"seconds, as decimal number, for automatic return to standard "
"display mode)\n"
"seconds for automatic return to standard display mode)\n"
"\n"
"For splith and splitv, pct is a percentage which represents size of "
"new window, computed with current window as size reference. For "
@@ -7650,8 +7649,8 @@ command_init ()
" /window scroll -d\n"
" zoom on window #2:\n"
" /window zoom -window 2\n"
" enable bare display for 2.5 seconds:\n"
" /window bare 2.5"),
" enable bare display for 2 seconds:\n"
" /window bare 2"),
"list"
" || -1 -window %(windows_numbers)"
" || +1 -window %(windows_numbers)"
+2 -2
View File
@@ -2375,7 +2375,7 @@ gui_window_bare_display_timer_cb (void *data, int remaining_calls)
void
gui_window_bare_display_toggle (const char *delay)
{
float seconds;
long seconds;
char *error;
gui_window_bare_display ^= 1;
@@ -2389,7 +2389,7 @@ gui_window_bare_display_toggle (const char *delay)
if (delay)
{
error = NULL;
seconds = strtof (delay, &error);
seconds = strtol (delay, &error, 10);
if (error && !error[0] && (seconds >= 0))
{
if (gui_window_bare_display_timer)