Commit graph

2730 commits

Author SHA1 Message Date
mathias
11fa3b8585 default-values for some path-related resources (groups, apps etc) 2005-01-12 06:16:03 +00:00
mathias
2a49732159 fix for #1099278 2005-01-11 12:39:01 +00:00
mathias
5bbab52d6d fix for #1099950, Missing initialization in FbTk/FbWindow.cc 2005-01-11 12:05:10 +00:00
mathias
baaa66787c ungrabbuttons on windows we dont handle anymore (withdrawn) 2005-01-11 04:56:29 +00:00
mathias
8054e16fab fix for #1087220 (Wrong handling of XWithdrawWindow)
an XWithdrawWindow unmaps a window and sends a synthetic UnmapEvent after
that. when the second UnmapEvent arrives we have to set either the WM_STATE to
WithdrawnState or delete it. i decided for deletion so its absolutly clear
its not any longer under our control
2005-01-10 09:04:46 +00:00
mathias
51f30a5a63 forgotten debug-stuff 2005-01-10 08:56:11 +00:00
simonb
6c710ba374 fix position init from atom handlers 2005-01-10 08:10:17 +00:00
simonb
83224b7f55 fix up window initialisation ordering 2005-01-05 05:37:06 +00:00
mathias
0c74e8c935 Simon's last changes lead to segfaults when the users specified <Sticky> or
<Workspace> in apps-file. Reason is, that an unmanaged window is not yet
assigned to an workspace and thus the returned workspacenumber is -1 ... which
leads in combination with getWorkspace(nr) to an invalid workspace (0x0) ...
This also fixes the problem with several deiconify-modes of the iconbar, when
the iconbar is in icons-only mode (same reason)

The other changes in the files are just cosmetic, i throw out the comments
about the changes Simon did coz they make sense and are correct imho.
2005-01-05 01:56:19 +00:00
simonb
61bb3f039a fix some initialisation, especially relating to placement and
decoration/handler hints
2005-01-04 10:51:38 +00:00
mathias
fdc9b5adb7 fixed #996298, maximized windows and snapped windows dont respect
toolbar-borderwidth

further more windows do snap at screen-edges, no matter if maxover
is enabled or not
2005-01-03 05:00:39 +00:00
mathias
0134038fee fix problems with imlib2 on restart:
only when using "imlib_load_image_with_error_return" as the loading
    function imlib2 seems to avoid trouble when an image with <filename>
    doesnt exist. all other loadroutines lead to heavy problems when 
    fluxbox shuts down and tries to restart (memleak(?), distorted xressources
    etc)

    i ll analyze this further. another open issue with imlib2 is that it
    doesnt work when xserver/fluxbox is running in dualscreen-mode (not
    xinerama), no valid pixmaps are visible on the second head. dunno why
    (yet).
2005-01-02 06:27:45 +00:00
mathias
c7a3200730 small issues:
- added a guard so no invalid(0)-handler is deleted at shutdown

- "if (s_image_map[extension] == 0)" -> creates an entry for sure, we
  dont want this.
2005-01-02 06:21:45 +00:00
fluxgen
45f00785e9 fixed remove workspace bug 2004-12-30 14:33:38 +00:00
fluxgen
a0340e73a7 fixed shape bug 2004-12-28 22:21:15 +00:00
mathias
ddfb14a264 correct isExecutable 2004-12-24 06:14:08 +00:00
mathias
bc7c988561 adds imlib2-support to fluxbox: allows us to load several imageformats
besides xpm. to get imlib2 support in fluxbox one has to 
 
  ./configure --enable-imblib2

default is disabled.  a fluxbox-binary that supports imlib2 will have 
IMLIB2 in "fluxbox -info"-output

explanation to the changed files:

 * xft.m4 -> acinclude.m4 + added ac_path_generic.m4 
   (from http://ac-archive.sourceforge.net/Miscellaneous/ac_path_generic.html)

 * configure.in, Makefile.am, src/FbTk/Makefile.am changed to handle
   imlib2-support

 * Font.cc/hh Image.cc/hh App.cc fluxbox.cc consistent way of init for global
   stuff for fonts and imagehandlers.

 * rest of changes just add the imlib2-code, pretty straightforward
2004-12-21 23:42:09 +00:00
mathias
ad10a3543e fix a problem with enabling/disabling fullscreen-mode in gtk2-apps
* synchronize _NET_WM_STATE in Ewmh.cc
 * added FluxboxWindow::setFullscreen(bool) to Window.cc

furthermore, if a window is in fullscreenmode any existing shape is 
disabled (looks pretty annoying in mplayer for example)
2004-12-21 16:17:14 +00:00
mathias
a88d3b39ad added deleteProperty to FbWindow 2004-12-21 16:12:28 +00:00
mathias
6dffafc39e * added new command:
sethead <int>

  which sets the current window to head<int>

* added remembering of the head to apps-file:
    
   [Head] {<int>}
2004-12-21 16:09:36 +00:00
mathias
f3dfb80c40 added url for gnome-hints 2004-12-21 16:04:14 +00:00
mathias
33d90f7a5e fix segfaulting when new text is smaller than the oldtext,
m_start_pos has to be 0 before calculating anything else.
2004-12-18 02:44:11 +00:00
mathias
b3fa5c2428 * moved FbTk/Directory.cc/hh over to FbTk/FileUtil.cc/hh which contain now
file and directory - helproutines.

* created the FileUtil-namespace which contains file-related functions, moved
  those functions out of Directory - code

* changes to the rest of the files to follow those changes
2004-12-18 01:29:22 +00:00
mathias
6458b1b485 cosmetic, double #include of the same header 2004-12-18 01:10:33 +00:00
mathias
0096ce6ea9 called the wrong 'update' function for the sendtomenu 2004-12-17 18:35:18 +00:00
mathias
eb42a7806d icc complaint about a "possible" conflict between the
FbTk::Menu::update(Subject*) and FbTk::Menu::update(int index)

to avoid this, we rename FbTk::Menu::update(int index) 
    -> FbTk::Menu::updateMenu(int index)

this is mostly cosmetic, but if it makes the life of a compiler happy, well ..
be happy icc :)
2004-12-13 14:03:17 +00:00
mathias
2095468fe6 applied patch from Rob Stevens:
fixes dragNdrop ordering of tabs so next/prevtab are not
  confused -> modification of m_clientlist
2004-12-13 12:17:58 +00:00
fluxgen
6ba7744f65 Tab command, thanks Steeve Lennmark, steeve dot lennmark at mediasvar dot se 2004-12-10 09:49:01 +00:00
mathias
55163188b5 fix #1080323, a missing header 2004-12-10 03:42:53 +00:00
mathias
916781f10f maximizing a shaded window should unshade it before .. the user WANTS to see
it.

closed #1082671
2004-12-10 03:33:23 +00:00
mathias
82a03ec83e changing the timeformat of the clocktool is done via the editdialog which
causes a reconfigure .. which causes a loop over all toolbaritems and call
updateSizing() .. where we should check, if a new timeformat makes the clock
bigger or smaller...

closes #1026096
2004-12-10 01:58:09 +00:00
mathias
831daf5876 minor cosmetic issue 2004-12-07 15:55:12 +00:00
mathias
e2f9a1e7bc grrr .. future code commited, sorry about that 2004-12-06 22:30:35 +00:00
mathias
253082dbfa fixed issue with clientUp/Down in SlitClientMenu 2004-12-06 22:09:58 +00:00
mathias
ce95eedd50 typo 2004-12-03 02:53:09 +00:00
mathias
b15315445d added middle/rightclick on slitclient-menu-items to move the client up/down in the slit 2004-12-02 15:30:59 +00:00
mathias
7ed6c5ed29 * leftclick on the slitclients in the clientmenu enables/disables it
* wheel up/down move the slitclient up/down
* visual cosmetic for the slitclient-menu
* added "Save SlitList" - menuentry in slitclient-menu
2004-12-02 03:12:55 +00:00
mathias
96de2d57d6 really set the default deiconifyMode to FOLLOW 2004-12-01 20:43:53 +00:00
mathias
71abcf7343 deiconifyMode: Follow is the new/old default (as it was before deiconifyMode was introduced) 2004-12-01 14:45:32 +00:00
mathias
33db9b21e2 "fixes" http://www.securityfocus.com/archive/1/382398/2004-11-24/2004-11-30/2
and all related bugreports elsewhere. "fixes" because i think the real problem
is in xft somewhere somehow, but i dont have any prove (yet).

thanx to Rob Stevens for informing us about that problem.
2004-11-30 22:42:56 +00:00
mathias
ec5724e807 fix a problem with java-dialogs which dont open correct (thanx Scott Moser)
furthermore, and this is really interesting, this seems to fix also the bug
widely known as g.o.d - the grab of death. the g.o.d seems to freeze fluxbox
but let the mouse still be moving and no high-cpuload can be seen. the
(un)lucky can force the g.o.d by clicking like a weirdo and pressing keys like
crazy and then maybe it will happen. we are not quite sure WHY exactly this
happens but as it seems: XSync(true) caused the trouble.

we still keep watching this issue but hopefully noone experiences bad
"freezes" anymore. (/me crosses fingers)
2004-11-30 22:19:35 +00:00
mathias
c8d71542dc adds "kill" to the windowmenu
closes #1075142
2004-11-30 01:26:00 +00:00
mathias
839d5b6ad8 minor issue 2004-11-30 01:23:24 +00:00
mathias
c813375f39 fix possible segfaults in DeiconifyMode::SEMIFOLLOW and FOLLOW ...
the raisAndFocus after the sendToWorkspace makes problems, dunno why exactly
so this is still an open issue imho.
2004-11-28 12:41:57 +00:00
mathias
2e3b7633ed forgotten initialization of frame.y_hidden 2004-11-25 11:05:58 +00:00
mathias
65f4f32366 patch from Rob Stevens to add dragndrop-reordering of the tabs
disable title of the windowmenu when called from titlebar
2004-11-24 23:28:10 +00:00
mathias
a932a7a801 patch from Rob Stevens to add dragndrop-reordering of the tabs 2004-11-24 23:27:28 +00:00
mathias
a128e9829f patch from Rob Stevens to add dragndrop-reordering of the tabs 2004-11-24 23:26:38 +00:00
mathias
ad095f9f06 enable title of windowmenu when called from iconbar 2004-11-24 23:24:55 +00:00
mathias
443e7081d4 fix the hiding of the menu when the menufile-timestamps changed 2004-11-24 12:26:12 +00:00