wayland

glVertexAttribPointer() can't find valid context on Wayland environment?

glVertexAttribPointer() can't find valid context on Wayland environment? Question: I try to draw colorized triangle. I want to use modern OpenGL and translate data via vertex attrib array. Vertex shader and Fragment shader just pass color from input to output and don’t contain any interesting code pg.init() triangle = np.array( triangle, dtype=np.float32 ) triangle_buffer = …

Total answers: 1

How do I get the active window on Gnome Wayland?

How do I get the active window on Gnome Wayland? Question: Background: I’m working on a piece of software called ActivityWatch that logs what you do on your computer. Basically an attempt at addressing some of the issues with: RescueTime, selfspy, arbtt, etc. One of the core things we do is log information about the …

Total answers: 4