I opened a new window, I made it fullscreen and then set it to always on top with XSendEvent on _NET_WM_STATE to set _NET_WM_STATE_ABOVE and then I XFlush'ed. This makes the window appear on top of ...

I am writing a GTK2 widget that shows images of all open windows. These images will update in real time.
To do this, I will use the X11 Damage extension. As far as I understand, the first step is to ...

I have an application that grabs X windows and hosts them as sub-windows.
It somehow implements a very basic window manager. No window manager is running.
Works well except for Java applications.
For ...

I have read 'Need for XEventsQueued(display, QueuedAfterReading) in XCB' but the answer specifies a function (xcb_poll_for_queued_event) that modifies the internal event queue. I need a function that ...

I want to set the good old X window properties when starting Firefox instances. E.g. WM_CLASS or WM_WINDOW_ROLE. I can set the first using e.g. xterm -name somename or the second using e.g. gvim -role ...

I have installed Source Navigator in my Ubuntu 14.04 (using KDE for desktop). However, the font of the application looks really bad (as you can see in the attached screenshot). I am pretty newbie to ...

I'm trying to create a small window manager (just for fun), but i'm having problems in handling windows created by firefox (only with that application, other apps works fine)
The problem is, after i ...

I was trying to find all monitors and their coordinates (width w, height h, x origin/top-left-most x, and y origin/top-left-most y) and was using this code, it works good on some systems. But on other ...

I was working on displaying some of the 2-D plots on X11 display. For example, values of X in X-axis and corresponding sin(X) in Y-axis, which should be displayed on the display window.
The only idea ...

So i run mousekeys using the same command every time:
xkbset ma 60 10 10 5 2
yet every time i strike / or -, mousekey's start glitching.
The glitch is:
when i use the numpad to move my mouse, instead ...

Is there such thing as a standard file chooser (and file save) dialogs in X? If yes, what's the extension/request for invoking that? If no, does that mean that Qt, GTK, wxWidgets, etc. each implement ...

I'm just starting my first ever program using the X11 library. To start, I'm just trying to access the colors from the user's color-scheme as defined in xrdb. For example, in my ~/.Xresources I have ...

Can I have a window with alpha that I can click-through the 100% transparent portions of the window? I'm looking for a general solution not based on the shapes extension.
In Windows this is done by ...

Is there an XAppFocusOut event similar to Windows WM_ACTIVATEAPP
or OSX's applicationDidResignActive or some other way to get notified when an app loses focus? XCB solution preferred.
To clarify: I'm ...

I have a Python script on a Raspberry Pi that streams radio. It was working great for a long time, but today not so much. Here is a reproducible example that produces the error message:
import pygst
...

I have been modifying a project and now when I try to compile the software I get the following error:
In file included from main.cpp:32:0:
main.h: In member function ‘virtual void Fl_Root::show()’:
...

I wanted to start GUI developing on Raspbian, so I set up PyQt4. I ran a simple example code, and it threw an exceptation because it couldn't access the X server. I thought OK, PyQt4 sucks on Pi, so I ...

Host System: RHEL 6.6 with realvnc-vnc-server-5.1.0.15125-1.x86_64
Client: TightVNC 2.7.10 for Windows (which I am connected to via a SunRay station but I don't think that matters)
I can connect to ...

In most terminal applications (e.g. Konsole) one can select text with the mouse. A middle click will then pastes it at the current cursor position. The same happens when pasting with Shift+Ctrl+V.
In ...