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...
2
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...
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()
{
...
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...
1
Solved
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...
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...
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 ...
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...
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...
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...
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...
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. ...
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
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...
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...
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.