Skip to main content
Advice
0 votes
2 replies
65 views

I am trying to understand how actually selections work in X11, like Primary and Clipboard selections. This question will have multiple questions inside it so I am sorry. I did my own research and ...
RudraSama's user avatar
2 votes
1 answer
55 views

I have a bitmap that I'm using for the background of a window in Xlib, but the pattern appears to be reversed (mirrored). The "shadow" should be in the upper-left of each square, but is ...
Mike's user avatar
  • 834
9 votes
1 answer
485 views

How can I get notified when the user minimizes or restores my X11 window? On very old Linux versions I could check for the UnmapNotify message to learn when the window is minimized and MapNotify when ...
Andreas's user avatar
  • 10.7k
3 votes
1 answer
69 views

I am trying to use XbaeMatrix to display tabular/matrix data but I do not want the cells to be editable. I can not find how to achieve that. This is what I have tried: /* * xbae_example.c * Minimal ...
M.E.'s user avatar
  • 5,705
2 votes
0 answers
69 views

I want to use the Motif MainWindow using: A container as work region A label as message window. But the label is not shown. My expectation is that it would be shown below the container (work region)....
M.E.'s user avatar
  • 5,705
1 vote
1 answer
115 views

I have a basic input grabber which looks like this: Display *display = NULL; int main(const int argc, const char *argv[]) { display = XOpenDisplay(NULL); if (!display) { return 1; ...
Coarse Rosinflower's user avatar
1 vote
1 answer
163 views

Preface: I'm aware fixed-function OpenGL is obsolete, I'm just using it for fun and learning. I'm trying to set up a classic fixed-function OpenGL context with Xlib and EGL. However, I'm getting ...
Sijmen Mulder's user avatar
0 votes
1 answer
109 views

I am having trouble getting the keyboard to function during my simulation program. My code that doesn't work: int running = 1; while (running) { // Process all pending X events while (XPending(...
Richard's user avatar
  • 25
3 votes
2 answers
274 views

I need to convert keycodes in X11 to symbols in another system. There's an easy function to convert Unicode characters to symbols for that system, so all I need to do for most keycodes is convert into ...
Coarse Rosinflower's user avatar
1 vote
0 answers
54 views

I have been working on a window manager and was able to get the icon from a X window via its ID. This script properly returns a Pillow Image object that I can use to get the icon of a window. However, ...
SpinningCubes's user avatar
1 vote
0 answers
79 views

I am working on a window manager made in Python 3 using python-xlib. When I tried to implement displaying the icons (as a PNG) on a window as a 16x16 image, it worked with this dummy image, but when I ...
SpinningCubes's user avatar
3 votes
2 answers
100 views

I am trying to make a window manager in python 3 and I need to find out how to render 16x16 window icons. I have used Pillow and Xlib to render a dummy image, and I was expecting that it would work, ...
SpinningCubes's user avatar
1 vote
1 answer
99 views

Context I'm newbie with X11 protocol, and I want to use it in a Rust application, in order to listen to global key events (mainly by using XGrabKey() in a way or another). Initially I started with ...
yolenoyer's user avatar
  • 9,597
6 votes
0 answers
238 views

I'm trying to draw a rounded rectangle in X11 using the following: #include <X11/Xlib.h> #include <stdlib.h> int main() { Display *display; Window window; GC gc; XEvent ...
Andereoo's user avatar
  • 1,078
2 votes
1 answer
116 views

Currently I am trying to make a sort of distro-independent message box (similar to all those modal popup windows, but which can work without the explicitly specified parent window) for Linux, which ...
DumbStudent2016's user avatar

15 30 50 per page
1
2 3 4 5
73