emacs-devel
[Top][All Lists]
Advanced

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

Re: x-display-pixel-width/height inconsistency


From: YAMAMOTO Mitsuharu
Subject: Re: x-display-pixel-width/height inconsistency
Date: Fri, 10 May 2013 15:05:11 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Fri, 10 May 2013 15:00:33 +0900, YAMAMOTO Mitsuharu <address@hidden> 
>>>>> said:

>> And actually, I don't see why you need the list of monitor HMONITOR
>> handles, you get them from MonitorFromWindow anyway.  All you need is
>> the count of the monitors, and then you can create the vector in
>> monitor_frames by simply inserting every monitor you get from
>> MonitorFromWindow, and leave the rest at nil.  Or am I missing
>> something?

>> So could we please get rid of the consing inside the callback, and
>> just count them instead?

> The display-monitor-function lists all the monitors regardless of the
> existence of Emacs frames in it.

s/display-monitor-function/display-monitor-attributes-list function/

                                     YAMAMOTO Mitsuharu
                                address@hidden



reply via email to

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