Re: Icewm и разрешение экрана
On Fri, Oct 31, 2003 at 02:26:28PM +0300, Artem Chuprina wrote:
> А. Нет, этого не бывает. Ибо иксы никому об изменении разрешения не
> докладывают. Можно попытаться почитать документацию на предмет "вдруг их можно
> попросить докладывать?", но вряд ли - Resource Database не так устроена.
Уже умеют (man Xrandr):
The XRRScreenChangeNotify event is sent to clients that
ask to be informed whenever the root window configuration
changes. Configuration changes may include resolution,
physical size, subpixel order (see XRender(3)), and rota-
tion. Note that changes to any or all of these could
occur due to external events (user control in the X
server, a different monitor/flat panel display being hot-
plugged) and is not only the result of a protocol/library
request to the X server.
Осталось научить клиентов это использовать.
--
Andrey V. Kiselev
Home phone: +7 812 5274898 ICQ# 26871517
Reply to: