emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: is there a hook run when display geometry changes?


From: Thien-Thi Nguyen
Subject: Re: is there a hook run when display geometry changes?
Date: Fri, 12 Aug 2011 22:04:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

() David De La Harpe Golden <address@hidden>
() Fri, 12 Aug 2011 20:40:41 +0100

   > Perhaps there's a way to request such notifications from dbus.

   That would seem rather unnecessarily convoluted.

Yes, but on the other hand...

   libxrandr exists and has the
   function for it. man 3 xrandr

   A XRRScreenChangeNotifyEvent is sent to a client that has requested
   notification whenever the screen configuration is changed. A client can
   perform this request by calling XRRSelectInput, passing the display, the root
   window, and the RRScreenChangeNotifyMask mask.

...keeping out of C has its charms, too.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]