Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 2249 Details for
Bug 5005
dirty patch to get fluxbox root menu close when left clicking on any windows
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
left clicking on any window closes root menu. Fluxbox 0.1.10
patch_.10 (text/plain), 1.07 KB, created by
Vania Dolukhanian
on 2002-07-14 20:31:55 UTC
(
hide
)
Description:
left clicking on any window closes root menu. Fluxbox 0.1.10
Filename:
MIME Type:
Creator:
Vania Dolukhanian
Created:
2002-07-14 20:31:55 UTC
Size:
1.07 KB
patch
obsolete
>diff -urN fluxbox-0.1.10/src/fluxbox.cc fluxbox-0.1.10_patched/src/fluxbox.cc >--- fluxbox-0.1.10/src/fluxbox.cc Sun Jul 14 01:00:23 2002 >+++ fluxbox-0.1.10_patched/src/fluxbox.cc Mon Jul 15 03:14:04 2002 >@@ -884,6 +884,31 @@ > > if (be.button == 1) > win->installColormap(True); >+ >+ // Very dirty fix to enable closing the root menu when left >+ // clicking on any window. Vano D. >+ // FIX START >+ ScreenList::iterator it2 = screenList.begin(); >+ ScreenList::iterator it_end2 = screenList.end(); >+ >+ for (; it2 != it_end2; ++it2) { >+ >+ BScreen *screen2 = *it2; >+// if (be.window != screen->getRootWindow()) >+// continue; >+ >+ if (be.button == 1) { >+ if (! screen2->isRootColormapInstalled()) >+ screen2->getImageControl()->installRootColormap(); >+ >+ if (screen2->getWorkspacemenu()->isVisible()) >+ screen2->getWorkspacemenu()->hide(); >+ if (screen2->getRootmenu()->isVisible()) >+ screen2->getRootmenu()->hide(); >+ } >+ } >+ // FIX END >+ > > } else if ((menu = searchMenu(be.window))) { > menu->buttonPressEvent(&be);
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 5005
: 2249