Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: python-xlib/python-xlib
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: selkies-project/python-xlib
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 2 files changed
  • 3 contributors

Commits on May 1, 2024

  1. randr: inherit XError in error classes (#1)

    Commit c87624d ('Add Randr error classes and register them during
    init') introduces three new error classes to xrandr, but makes them
    inherit from Exception.
    
    Let all error classes in randr inherit from Xerror, like all other code
    expects.
    
    Fixes the traceback
    
    ```
    ...
      File "/tmp/python-env/lib/python3.8/site-packages/Xlib/display.py", line 182, in sync
        self.get_pointer_control()
      File "/tmp/python-env/lib/python3.8/site-packages/Xlib/display.py", line 833, in get_pointer_control
        return request.GetPointerControl(display = self.display)
      File "/tmp/python-env/lib/python3.8/site-packages/Xlib/protocol/rq.py", line 1369, in __init__
        self.reply()
      File "/tmp/python-env/lib/python3.8/site-packages/Xlib/protocol/rq.py", line 1381, in reply
        self._display.send_and_recv(request = self._serial)
      File "/tmp/python-env/lib/python3.8/site-packages/Xlib/protocol/display.py", line 612, in send_and_recv
        gotreq = self.parse_response(request)
      File "/tmp/python-env/lib/python3.8/site-packages/Xlib/protocol/display.py", line 719, in parse_response
        gotreq = self.parse_error_response(request) or gotreq
      File "/tmp/python-env/lib/python3.8/site-packages/Xlib/protocol/display.py", line 745, in parse_error_response
        req = self.get_waiting_request(e.sequence_number)
    AttributeError: 'BadRRModeError' object has no attribute 'sequence_number'
    ```
    
    fixes #241
    
    Co-authored-by: Frans Klaver <frans.klaver@vislink.com>
    ehfd and fransklaver authored May 1, 2024
    Configuration menu
    Copy the full SHA
    1f68858 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2025

  1. Fix package build

    ehfd committed Mar 23, 2025
    Configuration menu
    Copy the full SHA
    583fe2e View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2026

  1. Configuration menu
    Copy the full SHA
    932e5d1 View commit details
    Browse the repository at this point in the history
Loading