Confusing _NET_SUPPORTING_WM_CHECK

I am trying to make my window manager conform to the ICCCM specifications. I fully understand the reason for the _NET_SUPPORTING_WM_CHECK atom - this ensures that no invalid information stays...

How to identify top-level X11 windows using xlib?

I'm trying to get a list of all top level desktop windows in an X11 session. Basically, I want to get a list of all windows that are shown in the window managers application-switching UI (commonly...

X11, how to detect I’m the last window/application on the display

I have an x11 display with a windowmanager (sadly not a specific one, could be twm, dtwm, mwm, metacity …) , myApp and other applications with windows. I want to close the display if the other...

How do I stop/workaround Java apps stealing focus in Linux window managers

We want to quickly prototype widgets in Java. We overlay them on top of a display written in a proprietary 3rd party graphics package. We find that the Java GUI steals keyboard focus away from...

How do I create a X-windows window independent of the current window manager?

I am playing with X-windows, Xlib, etc. I want to create a X-window independent of the window-manager: meaning that I do not want the WM to put a frame, minimize-maximize, close, menu, title-bar,...

X11 XM_NAME type is 'UTF-8' rather than STRING_UTF8

I'm looking at some X11 code that uses XmbTextListToTextProperty to set the WM_NAME property, with encoding style...

is clipboard implemented by xlib or to be implemented by individual applications

ICCCM defined three selections 1)primary 2)secondary 3)clipboard. But in the xlib, xatom.h had defined only XA_PRIMARY and XA_SECONDARY but clipboard has no such atom. So my doubt is whether...

How should I program a window manager in Qt?

I'm thinking about making a basic window manager for Linux based off of X11 and using the Qt toolkit. QML looks like a good language, so I'll probably use that. The problem is that I've never...

Corrupted resource .cpp file when using QT5_ADD_RESOURCES and multithread compiling with CMake

The 5.0 release of Qt has brought a set of easier commands to build Qt projects using CMake. See http://qt-project.org/doc/qt-5/cmake-manual.html. Resources for a project need to be included using...

Going from Qt4 to Qt5 on Linux: This application failed to start because it could not find or load the Qt platform plugin "xcb"

I'm moving from Qt4 (4.8.6) to Qt5 (5.4.1) in cross-build environment (GAR environment, MiniMyth2 project). I have perfectly building and running Qt4. I already successful cross-compiled and...

Xlib XGetWindowProperty Zero items returned

I have problems reading some XWindow ICCCM Properties. The problem actually is when i try to read _NET_WM_STATUS property. The function i'm using is: int get_property_value(Display* display,...

How to get inner and outer window dimensions with Xlib/XCB?

Is there a reliable way to get the inner and outer rectangle of a top level window with XCB/Xlib? (IOW frame and client rectangle). Here's what I tried: xcb_get_geometry always returns the...

Qt5.5 static build cannot find -IGL on ubuntu14

I have compiled qt 5.5 for static building and it works fine. However, when I add the widgets "QT += widgets" in the pro file I get the link error "cannot find -IGL" From what I read this is to do...

Missing library starting up QT5

I have a Qt application that I am trying to run, but fails to start because it "could not find or load the Qt platform plugin "xcb". When I run ldd on libqxcb.so all the libraries are linked...

X11: list top level windows

So far I've found two approaches: For each root window (default screen, specific screen, all screens, etc), list each immediate child. Search each immediate child recursively for a window with...

No RandR 1.5 support in test install of awesome 4.0, what to check?

Of course I think I've installed all the dependencies. The new API docs look great but I can't find any installation debugging tips. I'm chasing references to RandR in the build directory with...

How can I build fully static QT application in Linux?

Sorry for my English. I want build QT application without dependencies from any shared libraries(qt libs and glibc and ALL libraries). For this I download QT sources, build it with -static...