Skip to content

Commit 2d34bc8

Browse files
author
dessant
committed
set pause_on_minimize to 0 by default
1 parent e2e6647 commit 2d34bc8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kivy/config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@
5454
0 is disabled, 1 is enabled.
5555
`pause_on_minimize`: int, 0 or 1
5656
If set to `1`, the main loop is paused and the `on_pause` event
57-
is dispatched when the window is minimized. Defaults to `0`
57+
is dispatched when the window is minimized. This option is intended
58+
for desktop use only. Defaults to `0`.
5859
on desktop and `1` on mobile.
5960
`keyboard_layout`: string
6061
Identifier of the layout to use.
@@ -742,8 +743,7 @@ def name(self, value):
742743
Config.setdefault('graphics', 'borderless', '0')
743744

744745
elif version == 11:
745-
Config.setdefault('kivy', 'pause_on_minimize', '1'
746-
if platform in ('android', 'ios') else '0')
746+
Config.setdefault('kivy', 'pause_on_minimize', '0')
747747

748748
#elif version == 1:
749749
# # add here the command for upgrading from configuration 0 to 1

0 commit comments

Comments
 (0)