xcb Questions

21

Solved

I wrote application for linux which uses Qt5. But when I am trying to launch it on the linux without Qt SDK installed, the output in console is: Failed to load platform plugin "xcb". Available ...
Hefty asked 14/6, 2013 at 10:22

2

I want to create OpenGL Context only with XCB without GLX and Xlib. Could you tell me that might be happened.
Cristinacristine asked 24/9, 2015 at 8:5

3

Solved

How can I send a key press or key release event to a window (the currently active window) from another program using XCB? I found some tutorials using XLib, however I would like to use XCB. I gue...
Nightjar asked 9/1, 2012 at 19:34

2

Solved

I am trying to work out how to ignore repeated keys when using xcb for input. I need something like this acheives: uint32_t mask = XCB_KB_AUTO_REPEAT_MODE; uint32_t values[] = {XCB_AUTO_REPEAT_MO...
Viminal asked 24/7, 2015 at 17:42

1

I am trying to integrate two bodies of code into the same process that each previously had independent event loops for their respective GUI toolkits - one of them using Xt, and the other using Qt5....
Spittoon asked 11/6, 2015 at 8:1

2

Solved

The official XCB documentation tells us that using OpenGL purely with XCB is impossible: one must also use Xlib. This post by Bart Massey (creator of XCB) doesn't suggest this should be impossible...
Sheepherder asked 9/12, 2016 at 21:16

3

Solved

I am trying to be notified about any pointer motion. Since I don't want to run as the window manager, I need to set XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY | XCB_EVENT_MASK_POINTER_MOTION on all windows...
Tola asked 4/5, 2015 at 14:16

1

I'm having trouble displaying an image (PNG extracted with libpng) into an XCB window, it is always entirely empty/white. I'm pretty sure the PNG extraction is correct since I can perfectly re-writ...
Raylenerayless asked 26/3, 2017 at 13:43

1

Solved

I am writing a window list into my C application that shows all of the top level windows, including shaded, minimized, and on other desktops. I would like to restore unmapped (minimized) windows, r...
Emmie asked 22/1, 2019 at 21:13

1

Solved

I have followed the tutorial at https://vulkan-tutorial.com... I created it without using the GLFW etension. So far I'm up to "Swap chain Recreation", and all is setup and rendering correctly. How...
Armorer asked 28/10, 2018 at 1:12

2

Solved

In a separate thread (std::thread), I have an event loop that waits on xcb_wait_for_event. When the program exits, I'd like to shut things down nicely by interrupting (I have a solution that sets a...
Jinn asked 22/5, 2015 at 1:47

2

I'm creating an on-screen keyboard for Linux integrated in a simple Window Manager. I'm currently using XCB, and now I want to make the fake keystrokes. Everything works fine using xtest extension,...
Caucasus asked 9/9, 2013 at 0:1

2

Solved

I'm trying to figure what keys are handled by: XCB_MOD_MASK_1 XCB_MOD_MASK_2 XCB_MOD_MASK_3 XCB_MOD_MASK_4 XCB_MOD_MASK_5 in xcb, for XCB_MOD_MASK_1 it seems to be Alt (i'm correct?), but for o...
Gilbertgilberta asked 15/10, 2013 at 8:18

2

Solved

If one needs low level access to X11 events, windowing and input without using GTK, QT et al., should one use Xlib or XCB? What are the pros and cons of each?
Vertigo asked 26/1, 2012 at 22:0

4

How to get top-level window position relative to root window (i.e. whole screen) using plain ol' xlib (or brand new XCB)?
Hackler asked 27/9, 2010 at 18:55

0

I am developing a GUI using PyQt5 on a server with Ubuntu 14.04 via VNC. After I run the following command: import sys from PyQt5.QtWidgets import QApplication app = QApplication(sys.argv) I alw...
Bensen asked 18/1, 2018 at 21:42

5

Solved

I'm newbie with Mint. I installed Genymotion emulator from the .bin file in /home/user/Android directory. And when I'm trying to execute Genymotion I receive such message: /Android/genymotion $ ...
Choir asked 12/12, 2015 at 10:48

1

Solved

I am currently porting one of my applications from Xlib to libxcb and I am having a bit trouble finding informations on the XInput2 extension I use at some point. Is there an XInput2 implementation...
Edme asked 7/9, 2016 at 7:29

1

Solved

Currently I am in charge of developing a (C++) window class for a little project; the goal is to keep dependencies at a bare minimum. The implementation for Win32/WinAPI works as supposed, however,...
Peal asked 1/6, 2016 at 12:4

1

I am working on a simple window manager in c with libxcb and I am trying to decorate a window with a titlebar, icon and min/max/close buttons. I test my wm in Xephyr. I can spawn a new xterm windo...
Trucker asked 28/5, 2016 at 17:38

1

Solved

I am trying to set up a global hotkey on Linux. I had initially used x11 (libX11.so) however I had to do this from a thread. I tried it but the XPendingEvent and XNextEvent would eventually crash ...
Seedbed asked 10/3, 2016 at 2:0

1

I'm currently working on a latency test for Linux. For minimizing side effects I try to write a C-program which directly accesses the X-Server with XCB. Because not having any experience in C, bu...
Unconsidered asked 4/2, 2015 at 13:18

1

Solved

I try to learn how to use shared memory pixmaps in the xcb library. Did any of you have experience with this and want to share example codes and/or information? This would be very helpful. Thanks ...
Spriggs asked 2/1, 2015 at 16:21

1

Solved

I'm working on a project that is already using xcb and need to get the resolution of individual outputs rather than the resolution of the combined screen. Can I do this with the RandR extension for...
Ruhnke asked 1/3, 2014 at 1:16

2

Solved

I am stuck with a problem installing Qt5 on OSX. The Qt Requirements for Mac OSX are done - Xcode and command line are installed. Then I followed the steps: # mkdir qt5 # cd qt5 # git clone gi...
Pentheus asked 16/12, 2013 at 5:32

© 2022 - 2024 — McMap. All rights reserved.