<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">Le 05/09/2023 à 06:18, Carsten Haitzler
a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:20230905051815.b30a2e741979c2c462a1fe81@rasterman.com">
<pre class="moz-quote-pre" wrap="">On Thu, 31 Aug 2023 08:02:38 -0400 (EDT) Vladimir Dergachev
<a class="moz-txt-link-rfc2396E" href="mailto:volodya@mindspring.com"><volodya@mindspring.com></a> said:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">The cool thing however, is that I can launch xeyes and it works just the
same as when it was created decades ago. This is because people back then
thought through the mathematical model of what they are doing, and did not
just "softwared" their way to a kludge that needed compatibility breaking
changes every year the way python does.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
hear hear. api stability has been one of x's shining bits. it's got ugly parts
- but not breaking is one of its positive points. evolving instead.
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">best
Vladimir Dergachev
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">--
regards,
Zbigniew
</pre>
</blockquote>
</blockquote>
<pre class="moz-quote-pre" wrap="">
</pre>
</blockquote>
<p>Hello,</p>
<p>I'm writing things at xlib level, so:</p>
<p>************************************<br>
</p>
<p>unsigned int displaywidth, displayheight;<br>
</p>
<p>Display * serveur = XOpenDisplay (NULL);</p>
<p>int ecran = DefaultScreen (serveur);</p>
<p>displaywidth = DisplayWidth(serveur,ecran);<br>
displayheight = DisplayHeight(serveur,ecran);</p>
<p>**************************************</p>
<p style="line-height: 100%" align="justify">and if you have more
than one screen, you can get their number via macro <tt
class="western"><font face="Liberation Serif, serif"><font
style="font-size: 12pt" size="3"><span lang="fr-FR"><span
style="font-style: normal"><span style="font-weight:
normal"></span></span></span></font></font></tt><font
size="4"><span class="western"><font style="font-size: 12pt"><span
lang="fr-FR"><span style="font-style: normal"><span
style="font-weight: normal">ScreenCount)(display)</span></span></span></font></span></font></p>
<p style="line-height: 100%" align="justify"><font size="4"><span
class="western"><font style="font-size: 12pt"><span
lang="fr-FR"><span style="font-style: normal"><span
style="font-weight: normal">Lucien<br>
</span></span></span></font></span></font></p>
<p>
<style type="text/css">p { line-height: 115%; margin-bottom: 0.25cm; background: transparent }a:visited { color: #800000; text-decoration: underline }a.cjk:visited { so-language: zxx }a.ctl:visited { so-language: zxx }a:link { color: #000080; so-language: zxx; text-decoration: underline }tt.western { font-family: "Liberation Mono", monospace }tt.cjk { font-family: "Courier New", monospace }tt.ctl { font-family: "Liberation Mono", monospace }</style></p>
</body>
</html>