Commit graph

3897 commits

Author SHA1 Message Date
simonb
a65511a32e fix titlebar transparency in some cases 2005-05-07 06:25:51 +00:00
mathias
4338fbec76 Added new Buttons for the Titlebar of a Window (Mathias)
- Shade - just like the "Stick"-button
  Styleresources:
    window.shade.pixmap, window.shade.unfocus.pixmap, window.shade.pressed.pixmap
    window.unshade.pixmap, window.unshade.unfocus.pixmap, window.unshade.pressed.pixmap
    etc.
- MenuIcon - click on it provides the windowmenu, if the app
  contains a pixmap (gvim, konqueror etc etc) the pixmap is displayed, a
  little menu otherwise. 
  Styleresources:
    windowmenu.pixmap, windowmenu.unfocus.pixmap windowmenu.pressed.pixmap
    etc.
Example ~/.fluxbox/init - entry:
  session.titlebar.left: MenuIcon Stick
  session.titlebar.right: Shade Minimize Maximize Close


hint: if the app HAS a pixmap i use window.title.focus.pixmap (look
WinButtonTheme for reference)in pixmap-based-styles. this looks excellent and dont need 
much extra-code to pipe that info into WinButtons.
2005-05-06 18:04:14 +00:00
simonb
783a390375 fix wm_name for fluxbox 2005-05-06 15:24:53 +00:00
simonb
90fcc93d6e fix segfault opportunity in menu 2005-05-06 15:22:24 +00:00
mathias
d6ee96775d more keyactions for textbox-patch from Vadim <suhanov_vadim at mail dot ru> 2005-05-06 10:02:03 +00:00
mathias
6c057c6903 Fix for #1160244, #1099704, #1094107:
if the xkb-extension is enabled and the user switches between his/her
keyboardlayouts fluxbox's keybhandling doesn't work well anymore because
xkeyevent.state contains also xkb-related flags and thus we have to handle
that with caution.

KeyUtils now contain 'isolateModifierMask()' to really work only on the
modifiers. why not as part of cleanMods() ? because the XLookupString return
false results, eg TextBox's would only print chars from the first
keyboardlayout.
2005-05-06 09:22:53 +00:00
simonb
7d4f711204 fix some menu drawing issues 2005-05-03 13:53:25 +00:00
fluxgen
575578d810 minor fix 2005-05-03 09:53:13 +00:00
fluxgen
6aee5b22b7 update 2005-05-03 09:29:50 +00:00
fluxgen
1bf17f9c32 using associateClient to create new tab and map it to labelbuttons 2005-05-03 09:28:05 +00:00
fluxgen
bc3b377efb code cleaning 2005-05-03 09:25:46 +00:00
fluxgen
86ee497b55 more compose and select2nd 2005-05-02 18:55:36 +00:00
fluxgen
ab3309338f Select2nd file 2005-05-02 12:14:31 +00:00
fluxgen
e5d4fc1267 update 2005-05-02 12:10:24 +00:00
fluxgen
dce0e2e40c using Select2nd 2005-05-02 12:10:01 +00:00
fluxgen
6b943ec69a select 2nd element in pair 2005-05-02 12:03:15 +00:00
fluxgen
d8b8934089 update 2005-05-02 01:18:11 +00:00
fluxgen
d3362370f5 cleaning, create and delete tabs with FbWinFrame createTab/removeTab 2005-05-02 01:17:08 +00:00
mathias
55f62bc5cc Fix #1086673 ArrangeWindows on shaded aterms causes inconsistency (Mathias)
we now place shaded Windows above the normal windows. ArrangeWindows
touches only windows on the current (xinerama)-head.

there are still some open issues with this, look at my notes at the function
itself.
2005-04-30 13:10:15 +00:00
fluxgen
815e0cb09a minor const fix 2005-04-30 10:29:06 +00:00
mathias
cd3062405f commited the wrong file in the last session :/ 2005-04-29 18:02:14 +00:00
mathias
7aed31fc5c updated changes 2005-04-29 16:58:17 +00:00
mathias
9214e519b3 added new IconbarModes:
NoIcons          - display all noniconified windows
  WorkspaceNoIcons - display all noniconified windows on the current
                     workspace

modified the nls-files accordingly
2005-04-29 16:54:30 +00:00
mathias
e2acd2b04c removed dead code 2005-04-29 16:46:26 +00:00
mathias
f567d1d420 little fix for nls and in the Makefile 2005-04-29 16:28:59 +00:00
mathias
08601c23d3 enabled MenuItems / Separators are not clickable and the same logic should
apply to keys.
2005-04-29 11:20:41 +00:00
fluxgen
e108c5cac0 update 2005-04-29 03:01:14 +00:00
fluxgen
7e11e99f79 minor stuff 2005-04-29 02:53:34 +00:00
fluxgen
dba0d4ffb3 display accessor 2005-04-29 02:53:06 +00:00
fluxgen
c7eb5b0332 transient window fix 2005-04-29 02:52:36 +00:00
fluxgen
40d026ff99 transient window fix 2005-04-29 02:49:24 +00:00
simonb
94e3fa88fc revert mathias last change, and fix it differently using info already
there
2005-04-28 14:20:59 +00:00
mathias
f1c5abd17f i added an attribute to FbWindow to mark windows which are only used as
"carrier" (maybe a temporarly name?) ... carriers dont need background-updates
.. ever.

this leads to a big performance"boost" over the last commits. before we
updated also the windows which are the hosts for the apps (m_window and
        m_clientarea in FbWinFrame) -> bad idea.
2005-04-27 21:18:41 +00:00
simonb
c0f7258063 fix background setting + initialisation 2005-04-27 17:57:40 +00:00
simonb
690030444b add rough support for non-default depth pixmaps. Saves us having ghost
holes in windows
2005-04-27 17:45:56 +00:00
simonb
9970dd11c7 fix a few more bugs with recent reworking stuff
Some fixes could incidentally fix a few other bugs... the flaws were
pre-existing, I've just been weeding out a lot of duplication
2005-04-27 15:15:36 +00:00
mathias
8a43bec0e8 cosmetic 2005-04-27 12:52:51 +00:00
mathias
7f967a6497 use of @PREFIX@ 2005-04-27 12:50:08 +00:00
mathias
079279c693 close #1107216, buildsystem issue 2005-04-27 12:19:05 +00:00
mathias
b97c3db251 close #1182770
if someone changed the session.screen0.workspaces:<int> value and fired a
"reload config"/reconfigure-Command fluxbox crashed.

changes:

  - cleaner way of reading in the workspacenames
  - cleaner way of initialize the workspaces in BScreen()
  - on BScreen::reconfigure we add/delete Workspaces to the 
    current screen until init-file and fluxbox are in sync

    -> the user changed the initfile and pressed reload, so
       imho he wants to have the changes in the init-file realized.
2005-04-27 09:52:30 +00:00
simonb
6df9d6ed54 fix drawing foreground when transparency off 2005-04-26 11:37:29 +00:00
simonb
e57a30f664 fix systray client sizing 2005-04-26 04:18:10 +00:00
simonb
1c2f92a3d2 extension of previous big patch. Move a bunch of menu things onto
background pixmap. Same for textbuttons.
2005-04-26 01:41:55 +00:00
mathias
b49432be05 we are fluxbox, not blackbox. 2005-04-25 09:43:31 +00:00
mathias
adc88698fb #1188690, fbrun segfault 2005-04-25 06:47:01 +00:00
mathias
9288ae8eb0 close #956325 2005-04-23 10:03:06 +00:00
mathias
efe4ead214 fixed #960535, Deiconify with apps set 'sticky' 2005-04-23 08:44:45 +00:00
mathias
b0076fb3b4 fixed #1020399 aka broken ShowDesktop, its an error to travers the
workspace-windowlist and deiconify each window coz that list is
modified each time a window is iconified. a copy of that list solves
the problem.
2005-04-23 08:11:42 +00:00
mathias
d1876666c9 clear the maximized-Flag from a resized/moved Window ... a moved or resized
Window is not maximized any longer per definition imho. maybe we need to apply
the same policy to the fullscreen-State
2005-04-22 17:21:30 +00:00
mathias
0cc3391cec fixed a problem with iconified + sticky window not displayed in the iconbar
when running in WorkspaceIcons-mode
2005-04-22 11:25:07 +00:00