ALT Linux Bugzilla
– Attachment 2032 Details for
Bug 12119
[IceWM] [dock] Unneeded xxkb icon shown over the taskbar
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
The patch that fixes this bug
xxkb-evadedock.patch (text/plain), 1006 bytes, created by
Konstantin Uvarin (lodin)
on 2007-06-23 21:48:04 MSD
(
hide
)
Description:
The patch that fixes this bug
Filename:
MIME Type:
Creator:
Konstantin Uvarin (lodin)
Created:
2007-06-23 21:48:04 MSD
Size:
1006 bytes
patch
obsolete
>diff -ur xxkb-1.11/xxkb.c xxkb-1.11-lodin/xxkb.c >--- xxkb-1.11/xxkb.c 2007-03-15 00:54:53 +0300 >+++ xxkb-1.11-lodin/xxkb.c 2007-06-10 08:42:53 +0400 >@@ -606,7 +606,32 @@ > repar_evt->parent != root_win && > BASE(repar_evt->parent) != BASE(temp_win) && > repar_evt->override_redirect != True) { >- AddWindow(temp_win, repar_evt->parent); >+ >+ Window rwin, parent, *children, *child, app; >+ int num; >+ >+ /* Iterate through the window list until we find >+ * the window the event was about. >+ * >+ * The code was mostly copied >+ * */ >+ >+ XQueryTree(dpy, root_win, &rwin, &parent, &children, &num); >+ child = children; >+ >+ while (num --> 0) { >+ app = None; >+ GetAppWindow(*child, &app); >+ >+ if (app == temp_win) { >+ AddWindow(temp_win, repar_evt->parent); >+ break; >+ } >+ child++; >+ }; >+ >+ if (children != None) >+ XFree(children); > } > break; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 12119
:
2032
|
2233