acomminos / xpand

An experimental tool to upscale X11 windows.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xpand

xpand provides tools to zoom windows by a integer scale factor. It requires XComposite and XDamage extensions.

The targeted window is redirected offscreen and a new window is created with scaled dimensions. xpand reads the offscreen window pixmap and renders it at a scaled resolution in the new window, proxying input events to the backing window.

Cairo is used for rendering.

xpandwindow

xpandwindow is a shim to scale a given window using xpand.

TODO

  • fix rough getopt use in xpandwindow shim
  • use procedures defined in xpand.h to implement LD_PRELOAD hack to expand created windows for a program
  • find some way to work around windows that listen directly to /dev/input/*
    • simulate evdev events with X using intercepted procedure call to read?
    • that sounds terrible

About

An experimental tool to upscale X11 windows.

License:GNU General Public License v3.0


Languages

Language:C 96.8%Language:Makefile 3.2%