Re: icewm, icewmtray and displays

Ingo Brückl <[email protected]> Fri, 24 Dec 2010 17:21:16 +0100
Newsgroups gmane.comp.window-managers.icewm.devel
Message-ID <[email protected]>
> One icewmtray started appears on both screens.

Now I know that each icewm creates a taskbar on its display if icewmtray has
been started.

> (A hint on how/where to make a private patch is also appreciated.)

Replying to myself. ;-)

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl

_______________________________________________
Icewm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/icewm-devel
icewm.taskbar.patch (application/octet-stream, 522 B)
diff -Nur icewm-1.3.3.orig/src/wmapp.cc icewm-1.3.3/src/wmapp.cc
--- icewm-1.3.3.orig/src/wmapp.cc	2008-10-15 19:21:47.000000000 +0200
+++ icewm-1.3.3/src/wmapp.cc	2010-12-24 16:57:36.000000000 +0100
@@ -1336,7 +1336,8 @@
     if (quickSwitch)
         switchWindow = new SwitchWindow(manager);
 #ifdef CONFIG_TASKBAR
-    if (showTaskBar) {
+    // Taskbar only on screen 0
+    if (showTaskBar && (xapp->screen() == 0)) {
         taskBar = new TaskBar(manager);
         if (taskBar)
           taskBar->showBar(true);