Skip to content

Commit

Permalink
uix/windowmanager: sync display after changing resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-nrs committed Jan 28, 2021
1 parent eac39c8 commit 67b368d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kivywm/uix/windowmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,8 @@ def set_screen_size(self, size_id, rotation='preserve'):
app_window.configure(
width=size['width_in_pixels'], height=size['height_in_pixels'])

self.display.sync()

def set_cursor(self, name='left_ptr'):
p = subprocess.Popen(['xsetroot', '-cursor_name', name])
p.communicate()
Expand Down

0 comments on commit 67b368d

Please sign in to comment.