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: fizzi01/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
  • 3 files changed
  • 3 contributors

Commits on Dec 25, 2022

  1. randr: inherit XError in error classes

    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
    fransklaver committed Dec 25, 2022
    Configuration menu
    Copy the full SHA
    52800b1 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2026

  1. Merge pull request #1 from fransklaver/randr-errors-inherit-xerror

    randr: inherit XError in error classes
    fizzi01 authored Feb 26, 2026
    Configuration menu
    Copy the full SHA
    b387531 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f2432e8 View commit details
    Browse the repository at this point in the history
Loading