<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.trinitydesktop.net/index.php?action=history&amp;feed=atom&amp;title=System_Tray_Docking_Protocol_%28KDE3_Architecture%29</id>
	<title>System Tray Docking Protocol (KDE3 Architecture) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.trinitydesktop.net/index.php?action=history&amp;feed=atom&amp;title=System_Tray_Docking_Protocol_%28KDE3_Architecture%29"/>
	<link rel="alternate" type="text/html" href="https://wiki.trinitydesktop.net/index.php?title=System_Tray_Docking_Protocol_(KDE3_Architecture)&amp;action=history"/>
	<updated>2026-05-24T23:54:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.13</generator>
	<entry>
		<id>https://wiki.trinitydesktop.net/index.php?title=System_Tray_Docking_Protocol_(KDE3_Architecture)&amp;diff=2252&amp;oldid=prev</id>
		<title>Blu256: + KDE3</title>
		<link rel="alternate" type="text/html" href="https://wiki.trinitydesktop.net/index.php?title=System_Tray_Docking_Protocol_(KDE3_Architecture)&amp;diff=2252&amp;oldid=prev"/>
		<updated>2022-04-21T16:41:36Z</updated>

		<summary type="html">&lt;p&gt;+ KDE3&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:41, 21 April 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;{{KDE3}}&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;== The KDE System Tray Docking Protocol ==&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;== The KDE System Tray Docking Protocol ==&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key mwdb:diff:wikidiff2:1.12:old-670:rev-2252:1.13.0 --&gt;
&lt;/table&gt;</summary>
		<author><name>Blu256</name></author>
	</entry>
	<entry>
		<id>https://wiki.trinitydesktop.net/index.php?title=System_Tray_Docking_Protocol_(KDE3_Architecture)&amp;diff=670&amp;oldid=prev</id>
		<title>imported&gt;Eliddell: Created page with &quot;== The KDE System Tray Docking Protocol ==  A tray window is a small window (typically 24x24 pixel) that docks into the system tray in the desktop panel. It usually displays a...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.trinitydesktop.net/index.php?title=System_Tray_Docking_Protocol_(KDE3_Architecture)&amp;diff=670&amp;oldid=prev"/>
		<updated>2014-06-11T20:43:22Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== The KDE System Tray Docking Protocol ==  A tray window is a small window (typically 24x24 pixel) that docks into the system tray in the desktop panel. It usually displays a...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== The KDE System Tray Docking Protocol ==&lt;br /&gt;
&lt;br /&gt;
A tray window is a small window (typically 24x24 pixel) that docks&lt;br /&gt;
into the system tray in the desktop panel. It usually displays an icon&lt;br /&gt;
or an animated icon there. The icon serves as representative for the&lt;br /&gt;
application, similar to a taskbar button, but consumes less screen&lt;br /&gt;
space.&lt;br /&gt;
&lt;br /&gt;
This page contains just the raw protocol description. More&lt;br /&gt;
information on the system tray itself and how to use it with KDE&lt;br /&gt;
applications can be found in the section &amp;quot;Docking Into the Panel&amp;#039;s System Tray&amp;quot; of this&lt;br /&gt;
architecture overview.&lt;br /&gt;
&lt;br /&gt;
== From the application&amp;#039;s point of view ==&lt;br /&gt;
&lt;br /&gt;
For the application, a tray window is just another toplevel window&lt;br /&gt;
with one special property defined. The property is called&lt;br /&gt;
&amp;lt;tt&amp;gt;_KDE_NET_SYSTEM_TRAY_WINDOW_FOR&amp;lt;/tt&amp;gt; and is of type&lt;br /&gt;
&amp;lt;tt&amp;gt;XA_WINDOW&amp;lt;/tt&amp;gt;, format 32.&lt;br /&gt;
&lt;br /&gt;
The pure existence of this property indicates that the window&lt;br /&gt;
manager should treat this window as a tray window. The property value&lt;br /&gt;
may further define the tray window&amp;#039;s main window, i.e. the window&lt;br /&gt;
the tray window is representing.&lt;br /&gt;
&lt;br /&gt;
The following code can be used to declare a window a tray window:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;cpp-qt&amp;quot;&amp;gt;&lt;br /&gt;
/** Prototypes:&lt;br /&gt;
    Display dpy;&lt;br /&gt;
    Window trayWin, forWin;&lt;br /&gt;
*/&lt;br /&gt;
Atom kde_net_wm_system_tray_window_for =&lt;br /&gt;
  XInternAtom( dpy, &amp;quot;_KDE_NET_WM_SYSTEM_TRAY_WINDOW_FOR&amp;quot;, False);&lt;br /&gt;
XChangeProperty( dpy, trayWin, kde_net_wm_system_tray_window_for,&lt;br /&gt;
                 XA_WINDOW, 32, PropModeReplace,&lt;br /&gt;
                 (unsigned char *)&amp;amp;amp;forWin, 1);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When the application maps the window with &amp;lt;tt&amp;gt;XMapWindow()&amp;lt;/tt&amp;gt;,&lt;br /&gt;
the window will dock into a system tray  if possible. Undocking is done with either&lt;br /&gt;
&amp;lt;tt&amp;gt;XUnmapWindow()&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;XDestroyWindow()&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== From the windowmanager&amp;#039;s point of view ==&lt;br /&gt;
&lt;br /&gt;
TODO (once it is done)&lt;br /&gt;
&lt;br /&gt;
== From the docking-container&amp;#039;s point of view ==&lt;br /&gt;
&lt;br /&gt;
TODO (once it is done)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Initial Author:&amp;#039;&amp;#039; [mailto:ettrich@kde.org Matthias Ettrich]&lt;br /&gt;
&lt;br /&gt;
[[Category:KDE3]]&lt;br /&gt;
[[Category:Architecture]]&lt;br /&gt;
[[Category:Developers]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Eliddell</name></author>
	</entry>
</feed>