<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>lnseab</author_name>
  <author_url>https://blog.hatena.ne.jp/lnseab/</author_url>
  <blog_title>Drawing Codes</blog_title>
  <blog_url>https://lnseab.hatenablog.jp/</blog_url>
  <categories>
    <anon>C++</anon>
    <anon>X11</anon>
  </categories>
  <description>man見たりしたけど、XRRScreenResourcesとかが見当たらなかったのでX11/extension/Xrandr.hの転載をのせつつメモ。 XRandRのバージョンが1.2以上なら使えるはずです。 準備 以下のヘッダをインクルードします。 #include &lt;X11/extension/Xrandr.h&gt; まずXRRGetScreenResourcesを使って、XRRScreenResourcesのポインタを取得します。XRRScreenResoucesのoutputsはディスプレイの数だけ要素があるRROutputの配列で、要素数はnoutputに格納されています。RROutpu…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flnseab.hatenablog.jp%2Fentry%2F2013%2F02%2F16%2F222217&quot; title=&quot;X11 extensionsのXRandRでディスプレイの名前と使用できる解像度とリフレッシュレートを取得してみる - Drawing Codes&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-02-16 22:22:17</published>
  <title>X11 extensionsのXRandRでディスプレイの名前と使用できる解像度とリフレッシュレートを取得してみる</title>
  <type>rich</type>
  <url>https://lnseab.hatenablog.jp/entry/2013/02/16/222217</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
