Code Monkey home page Code Monkey logo

x-compositing-wm's Introduction

x-compositing-wm's People

Contributors

obiwac avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

x-compositing-wm's Issues

window attributes errors

i wanted to try your project and ran into some issues.
i'm testing this on a devuan (chimaera), laptop is an old macbookpro from 2015. the only missing dependencies i had was :

src/cwm.h:15:10: fatal error: GL/glew.h: No such file or directory

so i installed sudo apt install libglew-dev and then compile went fine. i'm testing it through xephyr, nested X session. like so:

 Xephyr -br -ac -reset -no-host-grab -screen 1024x768 :1 &

so everything i want to run is prefixed by DISPLAY=:1.
here's what i got:

[ x-compositing-wm ]
> cc src/main.c -Isrc -I/usr/local/include -L/usr/local/lib -lX11 -lGL -lGLEW -lXcomposite -lXfixes -lXinerama -lm -o x-compositing-wm

[ x-compositing-wm ]
> ls
LICENSE  pics  README.md  src  x-compositing-wm

[ x-compositing-wm ]
> DISPLAY=:1 xterm &
[4] 1297

[ x-compositing-wm ]
> DISPLAY=:1 ./x-compositing-wm 
XError code = 9, string = BadDrawable (invalid Pixmap or Window parameter), resource ID = 0x200009
XError code = 9, string = BadDrawable (invalid Pixmap or Window parameter), resource ID = 0x200009
XError code = 9, string = BadDrawable (invalid Pixmap or Window parameter), resource ID = 0x200009
XError code = 9, string = BadDrawable (invalid Pixmap or Window parameter), resource ID = 0x200009
XError code = 9, string = BadDrawable (invalid Pixmap or Window parameter), resource ID = 0x200009

when i run xterm, i see a dark window appearing, but nothing is visible in it. X pointer seems to notice when i'm hovering terminal or not, the pointer changes from an "X" to a "I" .. if i ctrl-c break x-compositing-wm, suddenly everything becomes visible. but of course x-compositing-wm process is gone. if i try to relaunch it i get:

[ x-compositing-wm ]
> DISPLAY=:1 ./x-compositing-wm 
XError code = 10, string = BadAccess (attempt to access private resource denied), resource ID = 0x51f
XError code = 9, string = BadDrawable (invalid Pixmap or Window parameter), resource ID = 0x200009
XError code = 9, string = BadDrawable (invalid Pixmap or Window parameter), resource ID = 0x200009

seems something is wrong with window attributes. i can run lxqt fine using the same method, through xephyr, and also other WMs too.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.