ALT Linux Bugzilla
– Attachment 2233 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]
Patch for xxkb-1.10-alt3
xxkb-lodin.patch (text/plain), 1.07 KB, created by
Konstantin Uvarin (lodin)
on 2007-10-23 14:14:40 MSD
(
hide
)
Description:
Patch for xxkb-1.10-alt3
Filename:
MIME Type:
Creator:
Konstantin Uvarin (lodin)
Created:
2007-10-23 14:14:40 MSD
Size:
1.07 KB
patch
obsolete
>diff -ur xxkb-1.10/xxkb.c xxkb-1.10-lodin/xxkb.c >--- xxkb-1.10/xxkb.c 2007-10-05 03:30:44 +0400 >+++ xxkb-1.10-lodin/xxkb.c 2007-10-05 03:29:33 +0400 >@@ -352,7 +352,34 @@ > BASE(ev.core.xreparent.parent) == BASE(win) || > ev.core.xreparent.override_redirect == TRUE ) break; > >- AddWindow(win, ev.core.xreparent.parent); >+ /* This is an ugly hack performed by an IceWM user. >+ * In order to skip the IceWM's dock, >+ * we iterate through all 'real' windows >+ * and only proceed if win is on the list. >+ */ >+ >+ Window rwin, parent, *children, *child, app; >+ int num; >+ >+ XQueryTree(dpy, root, &rwin, &parent, &children, &num); >+ child = children; >+ >+ while (num --> 0) { >+ app = None; >+ GetAppWindow(*child, &app); >+ >+ if (app == win) { >+ AddWindow(win, ev.core.xreparent.parent); >+ break; >+ } >+ child++; >+ }; >+ >+ if (children != None) >+ XFree(children); >+ >+ // AddWindow(win, ev.core.xreparent.parent); >+ > break; > case DestroyNotify: > if (ev.core.xdestroywindow.event == root) 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