Skip to content

Not compatible with pyglet.window.Window #166

Open
@skjerns

Description

@skjerns

Great tool!

I discovered a bug that appears when using monitortool together with pyglet:

import monitorcontrol
from pyglet.window import Window

monitorcontrol.get_monitors()

# ArgumentError: argument 2: <class 'TypeError'>: expected LP_RECT instance instead of int
# TypeError: catching classes that do not inherit from BaseException is not allowed

image

Do you think there is any way to repair that?

  • Operating system: Win 10
  • Python version: 3.9.7
  • monitorcontrol version (monitorcontrol --version): 3.0.0 (dev)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions