Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 icewm (1.8.2-1.0antix1) unstable; urgency=medium
 .
   * latest upstream bugfix relese
   * includes Use wmHide or wmShow to hide or show the taskbar fix
Author: anticapitalista <antix@operamail.com>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2020-09-11

--- icewm-1.8.2.orig/src/wmtaskbar.cc
+++ icewm-1.8.2/src/wmtaskbar.cc
@@ -645,8 +645,6 @@ void TaskBar::updateLocation() {
     if (fIsHidden) {
         if (fIsMapped && getFrame())
             getFrame()->wmHide();
-        else
-            hide();
         xapp->sync();
     }
 
@@ -692,7 +690,7 @@ void TaskBar::updateLocation() {
     if ( !fIsHidden) {
         if (fIsMapped && getFrame()) {
             getFrame()->configureClient(x, y, w, h);
-            getFrame()->show();
+            getFrame()->wmShow();
         } else
             setGeometry(YRect(x, y, w, h));
     }
