Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • xserver xserver
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 887
    • Issues 887
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 113
    • Merge requests 113
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xorg
  • xserverxserver
  • Issues
  • #1303
Closed
Open
Created Feb 10, 2022 by Alexander Zvegintsev@zvegintsev.alex

XWayland: wrong cursor color displayed

Affected version

Fedora 36 (Rawhide) / GNOME Shell 42.alpha

Bug summary

Cursor created with XCreatePixmapCursor is not displayed correctly.

Steps to reproduce

wrongCursorColor.c
This reproducer tries to display yellow X11 logo while mouse cursor is over its window.

  1. Compile and run testcase with gcc wrongCursorColor.c -o wrongCursorColor -lX11 && ./wrongCursorColor

  2. Place mouse cursor over the test window

What happened

White logo displayed

shouldBeYellow Wayland session

What did you expect to happen

Yellow logo displayed

yellow X11 session.

Relevant logs, screenshots, screencasts etc.

However provided reproducer works correctly for several colors(e.g. white or red).

You can play with it by changing following line in test:

XParseColor(display, colormap, "yellow", &fg_color);

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking