- Feb 28, 2025
-
-
Enrico Weigelt, metux IT consult . authored
Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Making it easier to let link it to test cases. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Replace VLA usage by calloc() Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Since we're now using xcb for upstream X11 connection, it's cleaner to use it's type for the window IDs. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Now that we completely ported from Xlib to XCB, we can finally stop importing Xlib :) FIN. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Now that no Xlib operations (besides opening and closing connection) aren't used anymore, we can move over the last pieces and use XCB instead of Xlib for connecting the upstream Xserver. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Now that no X11 calls are being done via Xlib anymore, we're free to also move over event receiving, leaving Xlib pretty much unused. Also need to add a simple event queue mechanism, because we've go a screen operation (see xnestBitBlitHelper) that needs to collect up certain events for it's return value. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
xnestWindowExposures() is a micro-optimization for the specific case that a newly created window receives exposure events (from our upstream server) inside the region we're already exposing on our own (miWindowExposures()): it peeks the Xlib event queue for all expose events, checks whether their areas are inside our exposure region and requeue's those that aren't. Unfortunately, this depends on Xlib's internal queue mechamism, thus standing in the way of moving to XCB (which doesn't have that). Removing this doens't seem to make any practical difference, even with demanding applications like GIMP. The only cost is potentially having some initial window content painted twice, *if* the application really draws something complicated right after creating the window. *If* there'll really be a demand for such an optimization some day, it can be reimplemented without any message queue: just redirecting all expose events into recording them in a region, which is flushed out later. But for now, there really doesn't seem to be any practical need for that. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
FIXME: support xf86bigfont extension Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Use the visuals lookup table introduced by previous commit for looking up local vs upstream visuals and their colormaps. Replacing the the old Xlib visuals table. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Record the associations between host's and our visuals as well their corresponding cmaps in a global table, which's used later for lookups. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Preparational cleanup to make upcoming changes easier to digest. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Use xcb function instead of Xlib, and also spare one additional (unused) request. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
This is a temporary measure, until xcbproto / libxcb is fixed: keep an own copy of the fixed xcb_xkb_get_kbd_by_name(), renamed as xcb_xkb_get_kbd_by_name_1(). Once xcbproto/libxcb is fixed (and new xcb release is out), this commit can be reverted. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
This needs fix in xcbproto: xorg/proto/xcbproto!49 Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
There's even no need to keep our own copies, since we can ask XCB's copy any time. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
There's even no need to keep our own copies, since we can ask XCB's copy any time. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Enrico Weigelt, metux IT consult . authored
Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-