xlib Questions

2

I'm making a small window manager based on: simplewm.py https://github.com/mpnordland/Mozzarella/blob/master/cheesewm.py~ I'm trying to get firefox working but have been unable to get the unmapp...
Toxicity asked 4/9, 2015 at 5:36

1

The only fact I know is that XImage is stored on the client side and the pixmaps are stored on the server side. Is it so simple? Then what is XY and Z Pixmaps and why X needs so many types of ima...
Trigeminal asked 4/2, 2015 at 14:33

2

What's the difference between _NET_ACTIVE_WINDOW and XGetInputFocus() ? Do they always point to the same window? When use one over the other? Thanks.
Combine asked 4/8, 2015 at 4:46

1

Good afternoon everyone! I have been working on a project that requires a basic window without a titlebar. After browsing a bit on the web I came across this post create window without titlebar wit...
Leaven asked 11/7, 2015 at 21:6

2

Solved

I'm trying to use C and xlib to send a fake keypress event to the window with focus, here's my code: #include <X11/Xlib.h> #include <X11/keysymdef.h> #define XK_A 0x041 int main() { ...
Gabbert asked 23/5, 2015 at 13:33

1

Solved

I want to make a very simple python 3 script that will generate a single keypress (F15). I don't want to use a bunch of libraries to do this as I only need one key to be pressed and don't need supp...
Frasco asked 14/4, 2015 at 22:8

1

Solved

I've managed to iconify a window using XIconifyWindow, but haven't managed to later restore it. I tried the following: XMapRaised (display, window); And: XMapWindow (display, window); And: X...
Devoir asked 12/5, 2015 at 13:28

3

Solved

My goal is to have a program that sleeps in the background but can be activated by the user via some "hotkey". From digging around the Xlib manual and the Xlib O'reilly manual, I gather that the co...
Adelaidaadelaide asked 27/10, 2010 at 20:8

3

Solved

I need to display RAM-based framebuffer for a virtual GPU device that doesn't have real display connected to it. What I have is mmap'ed chunk of memory after DRM_IOCTL_MODE_MAP_DUMB in RGB32 format...
Geraldo asked 26/5, 2014 at 15:13

2

I try to use Xft, the tutorial, well let them calling that a tutorial... looks like it was written in a north korean camp... I also found this one. So let me try to do a step-by-step : // g++ XftT...
Arciniega asked 13/6, 2013 at 2:27

0

I'm developing a C++ application on embedded-linux and I need to display video from camera in it. I've used gstreamer to create a window and start the video capture (because it has hardware support...
Orchardist asked 27/11, 2014 at 13:29

1

Solved

I am getting stuck and don't know where to look further. I have a Java application and one of its functionality is to grab some specific windows (ie third party application windows) and host them ...
Turnout asked 17/9, 2014 at 12:23

1

Solved

Is there any general concept or definition of what is a "color map" within computer graphics? You sometimes stumble upon this term in some libraries - so may I assume that color maps intend to have...
Excitable asked 19/8, 2014 at 21:24

1

Solved

Goal I want to redirect the keyboard input to different windows depending on the key. Not all the key will be redirected to the same window, I can't use XSetInputFocus. First Attempt : XGrabKey...
Otherworld asked 2/5, 2014 at 14:50

1

I have the follow starting code to get a screenshot of a X window (the window can be covered, not visibled, or minimized). #include <stdlib.h> #include <stdio.h> #include <X11/Xlib...
Advance asked 2/2, 2014 at 15:13

2

What is the proper way to wait until an X11 window is mapped and viewable? Precisely, I want to wait until I can safely call XSetInputFocus() without running into any risks of the X server backfiri...
Dingman asked 10/6, 2014 at 18:54

2

Solved

Almost every tutorial I find tells me to do this for my event loop: XEvent event; while (true) { XNextEvent(display, &event); switch (event.type) { case Expose: printf("Expose\n"); bre...
Mistassini asked 29/5, 2012 at 2:12

1

Solved

I want to build 32 bits applications on my Debian 64 bits environment. So, I'm trying to compile the Qt sources in order to get the 32 bits libraries. I am trying to use the following configure c...
Mexican asked 12/3, 2014 at 17:18

1

Solved

I have found the following code (http://pastebin.com/rNkUj5V8), but I would rather use a direct lookup: import Xlib import Xlib.display def get_window_by_id(winid): mydisplay = Xlib.display.Disp...
Floristic asked 25/2, 2014 at 12:53

2

I'm trying to write a program that would detect external monitors being plugged in and automatically enable and configure them through Xlib. I know that there is XRandr extension that allows this. ...
Magnificat asked 1/5, 2012 at 15:46

1

Good day! I have a little bit of troubles making a xlib project. Here is the structure of my project: [ Init ] [ Making some stuff ] [ Creating a timer thread (see code below) ] [ Main cycle (see...
Boeotian asked 29/10, 2013 at 13:24

2

Solved

I had installed OpenGL and freeglut in Ubuntu 10.04 and it worked fine in 10.04 and 10.10. But after I upgraded to 11.04, the applications I've developed using OpenGL is not running properly. They'...
Gorget asked 17/12, 2011 at 14:9

1

Solved

I'm not sure why this happens, but any window I create using Xlib in C++ gives outputs an error to the terminal when I try to close is using the X button. I can close it programmatically with no er...
Greaseball asked 10/10, 2013 at 20:51

1

Solved

I've been trying and reading lots of resources on the internet, trying to find a way to get an UTF-8 keyboard (composed) input from a X Display. But I could not make it work. I have tried the exam...
Rajkot asked 15/8, 2013 at 5:31

1

Solved

as soon as i use display.grab_keyboard, no other window seems to know of its own focus. with the keyboardgrab running i can select other windows and even send keyevents to them, but if this window...
Hoarfrost asked 10/8, 2013 at 10:27

© 2022 - 2024 — McMap. All rights reserved.