pyloid 0.16.6__tar.gz → 0.16.9__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyloid
3
- Version: 0.16.6
3
+ Version: 0.16.9
4
4
  Summary:
5
5
  Author: aesthetics-of-record
6
6
  Author-email: 111675679+aesthetics-of-record@users.noreply.github.com
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pyloid"
3
- version = "0.16.6"
3
+ version = "0.16.9"
4
4
  description = ""
5
5
  authors = ["aesthetics-of-record <111675679+aesthetics-of-record@users.noreply.github.com>"]
6
6
  readme = "README.md"
@@ -71,7 +71,7 @@ class CustomWebEngineView(QWebEngineView):
71
71
  self.is_resizing = False
72
72
  self.resize_start_pos = None
73
73
  self.resize_direction = None
74
- self.screen_geometry = self.screen().availableGeometry()
74
+ self.screen_geometry = self.screen().virtualGeometry()
75
75
  self.is_resizing_enabled = True
76
76
 
77
77
  def mouse_press_event(self, event):
@@ -48,8 +48,9 @@ def custom_message_handler(mode, context, message):
48
48
  print(
49
49
  "\033[93mPyloid Warning: Vulkan GPU API issue detected. Switching to software backend.\033[0m"
50
50
  )
51
- os.environ["QT_QUICK_BACKEND"] = "software"
52
- custom_message_handler.vulkan_warning_shown = True
51
+ if "linux" in sys.platform:
52
+ os.environ["QT_QUICK_BACKEND"] = "software"
53
+ custom_message_handler.vulkan_warning_shown = True
53
54
 
54
55
  if "Autofill.enable failed" in message:
55
56
  print(
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes