Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mouse events & friends for Wayland #1672

Closed
wants to merge 38 commits into from
Closed

Add mouse events & friends for Wayland #1672

wants to merge 38 commits into from

Commits on Jan 1, 2023

  1. Prepare environment

    Signed-off-by: Tin Svagelj <[email protected]>
    Caellian committed Jan 1, 2023
    Configuration menu
    Copy the full SHA
    1b479ae View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2023

  1. Add Wayland event listeners for pointer

    Signed-off-by: Tin Svagelj <[email protected]>
    Caellian committed Nov 5, 2023
    Configuration menu
    Copy the full SHA
    ae5afd5 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'feature/wayland-mouse-events' of github.com:Caellian/co…

    …nky into feature/wayland-mouse-events
    
    Signed-off-by: Tin <[email protected]>
    Caellian committed Nov 5, 2023
    Configuration menu
    Copy the full SHA
    78ea7b6 View commit details
    Browse the repository at this point in the history
  3. Include mouse-events.h in llua.cc

    Signed-off-by: Tin <[email protected]>
    Caellian committed Nov 5, 2023
    Configuration menu
    Copy the full SHA
    596fa72 View commit details
    Browse the repository at this point in the history
  4. Pass cursor move event to the script

    Set initial window scale to 0 because wayland freezes the process when it's not >0.
    Provide more information from `llua_mouse_hook` about why the callback is failing.
    Prevent call to `llua_init` when provided lua_load script doesn't exist.
    - This caused me a headache and now lua_L won't be initialized if the
      script doesn't exist. This prevents a missing file from causing later
      issues which might be harder to catch.
    Feature gated X11 in mouse-events.h/.cc files.
    
    Signed-off-by: Tin <[email protected]>
    Caellian committed Nov 5, 2023
    Configuration menu
    Copy the full SHA
    9799417 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2023

  1. Add support for all previously supported events

    Signed-off-by: Tin <[email protected]>
    Caellian committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    51de904 View commit details
    Browse the repository at this point in the history
  2. Improve Lua table data

    Signed-off-by: Tin <[email protected]>
    Caellian committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    441d031 View commit details
    Browse the repository at this point in the history
  3. Add deprecation error and fix stack management

    Signed-off-by: Tin <[email protected]>
    Caellian committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    fd9ea17 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2023

  1. Fix lua stack pops in one of error branches

    Remove some code added by accident; reduce change list.
    Fix mouse_enter and mouse_leave events.
    
    Signed-off-by: Tin <[email protected]>
    Caellian committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    646d5d9 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2023

  1. Fix X11 build

    Fix most issues with X11 event propagation.
    Remove X11 code from mouse-events.cc/.h completely.
    
    CMake:
    Update toluapp cmake_minimum_required to stop it complaining during build.
    Fix ConkyPlatformCheck.cmake not providing access to cairo, imlib2 and rsvg to Wayland.
    Move BUILD_MOUSE_EVENTS includes under BUILD_GUI so they're not duplicated.
    
    Signed-off-by: Tin <[email protected]>
    Caellian committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    0bfb013 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    78cc998 View commit details
    Browse the repository at this point in the history
  3. Tweaks

    Signed-off-by: Tin <[email protected]>
    Caellian committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    e595547 View commit details
    Browse the repository at this point in the history
  4. Add <array> import

    Update /doc
    
    Signed-off-by: Tin <[email protected]>
    Caellian committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    cc9e2a7 View commit details
    Browse the repository at this point in the history
  5. Cleanup includes

    Signed-off-by: Tin <[email protected]>
    Caellian committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    be30bf0 View commit details
    Browse the repository at this point in the history
  6. Remove uint to make MacOS happy

    Signed-off-by: Tin <[email protected]>
    Caellian committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    4b67529 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    091efc3 View commit details
    Browse the repository at this point in the history
  8. Cleanup display-x11 includes

    Signed-off-by: Tin <[email protected]>
    Caellian committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    07b0c81 View commit details
    Browse the repository at this point in the history
  9. Debug X11 enter & leave events

    Fix import derps
    
    Signed-off-by: Tin <[email protected]>
    Caellian committed Nov 8, 2023
    Configuration menu
    Copy the full SHA
    ed76b16 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2023

  1. Fix X11 area enter & leave bug

    Signed-off-by: Tin <[email protected]>
    Caellian committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    62a9519 View commit details
    Browse the repository at this point in the history
  2. Modify CI and Nix flake

    Code tweaks
    
    Signed-off-by: Tin <[email protected]>
    Caellian committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    670323e View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2023

  1. Simplify cursor checking

    Additional tweaks and docs improvements
    
    Signed-off-by: Tin <[email protected]>
    Caellian committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    8f98f68 View commit details
    Browse the repository at this point in the history
  2. Cleanup focus handling code on propagation

    Signed-off-by: Tin <[email protected]>
    Caellian committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    d16d977 View commit details
    Browse the repository at this point in the history
  3. Handle movement through XInput if enabled

    Cleanup modifiers
    - This is preparation so that once Wayland adds support for these
      they're not an alien X11 bitset.
    - Removed ones that aren't actual modifiers.
    
    Tidy up code
    
    Signed-off-by: Tin <[email protected]>
    Caellian committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    e0d210b View commit details
    Browse the repository at this point in the history
  4. Fix CMake script

    Cleanup debug statements
    
    Signed-off-by: Tin <[email protected]>
    Caellian committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    91b6796 View commit details
    Browse the repository at this point in the history
  5. Update README.md to trigger CI

    Signed-off-by: Tin <[email protected]>
    Caellian committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    9d07fc9 View commit details
    Browse the repository at this point in the history
  6. Provide a notice when build options get disabled

    Reformat files and hope it invalidates CI cache :)
    
    Signed-off-by: Tin <[email protected]>
    Caellian committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    662cda8 View commit details
    Browse the repository at this point in the history
  7. Fix issues building without BUILD_ARGB flag

    Fix half-saved change in display-wayland.cc
    
    Signed-off-by: Tin <[email protected]>
    Caellian committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    2aebf68 View commit details
    Browse the repository at this point in the history
  8. Fix DependentOptions splitting arguments on spaces

    Fix broken x11.cc
    
    Signed-off-by: Tin <[email protected]>
    Caellian committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    cc604bc View commit details
    Browse the repository at this point in the history
  9. Fix build & cleanup

    Signed-off-by: Tin <[email protected]>
    Caellian committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    71e2860 View commit details
    Browse the repository at this point in the history
  10. Hide Nvidia on non-linux OSs

    Signed-off-by: Tin <[email protected]>
    Caellian committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    cebc045 View commit details
    Browse the repository at this point in the history
  11. Prevent infinite loop in DependentOption

    Signed-off-by: Tin <[email protected]>
    Caellian committed Nov 10, 2023
    Configuration menu
    Copy the full SHA
    9d20e72 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

  1. Use core X11 events when Xinput is enabled

    There was no way to propagate move events otherwise
    
    Also, clang-format decided to kick in and reformat Xinput related
    code...
    
    Signed-off-by: Tin <[email protected]>
    Caellian committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    2ce7796 View commit details
    Browse the repository at this point in the history
  2. Namespace mouse-events.cc/.h

    Cleanup number namespaces so they use cstdint types instead of stdint.h
    types. Latter could've caused some issues in the future.
    
    Simplify valuator mask checking expression.
    
    Signed-off-by: Tin <[email protected]>
    Caellian committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    8016a0a View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2023

  1. Configuration menu
    Copy the full SHA
    cbab03d View commit details
    Browse the repository at this point in the history
  2. Drop graph/linechart from web header

    This resolves #1669.
    
    Also bumped some dependencies.
    brndnmtthws committed Nov 19, 2023
    Configuration menu
    Copy the full SHA
    a2e25f6 View commit details
    Browse the repository at this point in the history
  3. Run npm audit fix

    brndnmtthws committed Nov 19, 2023
    Configuration menu
    Copy the full SHA
    347379e View commit details
    Browse the repository at this point in the history
  4. One more byte for error

    brndnmtthws committed Nov 19, 2023
    Configuration menu
    Copy the full SHA
    5a59001 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bbd18f5 View commit details
    Browse the repository at this point in the history