Commit graph

5022 commits

Author SHA1 Message Date
Mathias Gumz
46fdf4d1b4 use _NET_WM_ICON property as resource for icons, fixed partly #1852693
instead of depending on proper icons in the old icccm wmhints, fluxbox now
tries to get the icon data stored in _NET_WM_ICON
2008-02-24 21:58:24 +01:00
Mark Tiefenbruck
611b6aa57e more fun with the window menu 2008-02-11 10:17:45 -08:00
Henrik Kinnunen
cd128d7a3e removed goto 2008-02-10 18:16:50 +01:00
Mark Tiefenbruck
26dafdafbe fix highlighted menu item on mouse out 2008-02-08 18:36:06 -08:00
Tomas Janousek
3a8ec6512b Fix a freed memory access in ~BScreen.
mit->second->parent() == 0 didn't do what it was supposed to. m_parent being
zero does not imply that no pointer points to it.

Signed-off-by: Tomas Janousek <tomi@nomi.cz>
2008-02-06 16:40:46 +01:00
Tomas Janousek
1534c8d728 Consistency: alpha submenu of WindowMenu should not have title.
Signed-off-by: Tomas Janousek <tomi@nomi.cz>
2008-02-06 16:36:23 +01:00
Tomas Janousek
b61502ffbc Fix a freed memory access in Keys::doAction.
The thing next_key pointed to was getting freed in deleteTree.

Signed-off-by: Tomas Janousek <tomi@nomi.cz>
2008-02-04 18:46:24 +01:00
Tomas Janousek
9671b2f99c Fix crash with apps reloading.
Yeah, we shouldn't delete pointers that are mentioned elsewhere...

Signed-off-by: Tomas Janousek <tomi@nomi.cz>
2008-02-04 18:46:22 +01:00
Mark Tiefenbruck
38f84c3932 fix window menu again 2008-02-04 06:00:33 -08:00
Mark Tiefenbruck
f3e3bb5273 check pointer, even though it shouldn't be necessary 2008-02-03 12:17:42 -08:00
Mark Tiefenbruck
b7eee2350d fix rotation 2008-02-03 07:37:01 -08:00
Mark Tiefenbruck
39d4d0a010 fix focus revert when closing menu 2008-01-31 06:37:52 -08:00
Mark Tiefenbruck
24dc811fda fix warning 2008-01-28 01:46:05 -08:00
Tomas Janousek
880209a438 Merge branch 'xinerama_randr' 2008-01-28 09:58:23 +01:00
Mathias Gumz
a61b37da70 minor correction of include names 2008-01-28 09:30:31 +01:00
Mathias Gumz
9cb78eaa3b reordering 2008-01-28 08:41:42 +01:00
Tomas Janousek
5c85fcbe64 Changelog entries for the xinerama_randr branch changes.
Signed-off-by: Tomas Janousek <tomi@nomi.cz>
2008-01-27 15:31:54 +01:00
Tomas Janousek
f605312c48 Move dockapps to (-100,-100) instead of (screenw + 10, screenh + 10).
The windows used to appear when one xrandr'ed to a bigger resolution.

Signed-off-by: Tomas Janousek <tomi@nomi.cz>
2008-01-27 15:01:14 +01:00
Tomas Janousek
4faf1bf5c3 "On head" menu -- reloading and refreshing bugfix.
We should reload the contents of this menu on Xinerama layout change.

I switched it from FbMenu to ToggleMenu, because the selected head wasn't
being updated properly.

Signed-off-by: Tomas Janousek <tomi@nomi.cz>
2008-01-27 15:01:14 +01:00
Tomas Janousek
b405d36151 Move windows out of inactive heads upon layout change.
Signed-off-by: Tomas Janousek <tomi@nomi.cz>
2008-01-27 15:01:14 +01:00
Tomas Janousek
8c3f2a8e03 Deal with XineramaQueryScreens failure.
The call to XineramaQueryScreens may return NULL in some cases. This patch
tries to deal with that somehow.

Signed-off-by: Tomas Janousek <tomi@nomi.cz>
2008-01-27 15:01:14 +01:00
Tomas Janousek
c702d683e0 Call XRRUpdateConfiguration before querying Xinerama
As the manpage says:
Clients must call back into Xlib using XRRUpdateConfiguration when screen
configuration change notify events are generated (or root window configuration
changes occur, to update Xlib's view of the resolution, size, rotation,
reflection or subpixel order.

Signed-off-by: Tomas Janousek <tomi@nomi.cz>
2008-01-27 15:01:14 +01:00
Tomas Janousek
041eacdfd5 Reload the Xinerama layout on RandR signal.
The m_head_areas became a vector, because we need to dynamically change its
size. The functions manipulating struts (which refer to a particular head)
now check whether the head still exists.

Signed-off-by: Tomas Janousek <tomi@nomi.cz>
2008-01-27 15:01:14 +01:00
Mathias Gumz
6717a1c805 cosmetics 2008-01-25 08:21:55 +01:00
Mathias Gumz
65df54d635 std::string.c_str() is never NULL 2008-01-25 08:21:35 +01:00
Mark Tiefenbruck
70a24b992c don't require final {} on :If 2008-01-24 04:03:04 -08:00
Mark Tiefenbruck
f1fd7f464b fix issue with multiple spaces in filename in fbsetbg 2008-01-23 03:45:59 -08:00
Mark Tiefenbruck
97c5f12615 use hash instead of which in fbsetbg 2008-01-23 03:30:59 -08:00
Mark Tiefenbruck
4bd62b771c fix some potential bugs with window menus 2008-01-23 00:27:53 -08:00
Mark Tiefenbruck
d03edf2964 fix potential infinite loop in transient windows 2008-01-23 00:20:07 -08:00
Mark Tiefenbruck
f0e60d0865 fix some issues with window menus 2008-01-22 01:34:02 -08:00
Mark Tiefenbruck
38a01a71b4 fix some updates on style change 2008-01-21 09:00:00 -08:00
Mark Tiefenbruck
db4ec8cf20 move position and geometry windows into their own class 2008-01-19 04:00:46 -08:00
Simon Bowden
7b055cc54a Fix missing destructor warning 2008-01-18 20:29:09 +11:00
Mark Tiefenbruck
1d4bea8a2d Merge branch 'master' of fluxbox@gitfbox:fluxbox 2008-01-18 00:33:47 -08:00
Mark Tiefenbruck
3a5fd7342d use function pointer for CommandParser::Command 2008-01-17 14:16:58 -08:00
Henrik Kinnunen
8c2cee577a must initialize toolbar before the windows 2008-01-15 10:56:25 +01:00
Mathias Gumz
f6c292a406 split Text.hh into Orientation.hh and TextUtils.{cc,hh} 2008-01-15 08:45:57 +01:00
Mathias Gumz
e1db89e2d7 moved code a bit around, cleaned up some classes 2008-01-14 23:27:00 +01:00
Mark Tiefenbruck
c6099d777d fix crashes on restart 2008-01-12 17:49:50 -08:00
Mark Tiefenbruck
5b7bde2ffb fix initialization of WorkspaceNameTheme 2008-01-12 17:42:52 -08:00
Mark Tiefenbruck
b302dab2f1 fix some issues with reverting focus 2008-01-12 16:47:40 -08:00
Mark Tiefenbruck
f66d446a94 move some stuff from Fluxbox to BScreen 2008-01-11 22:36:38 -08:00
Mark Tiefenbruck
5b0806f1cb forgot to add this 2008-01-11 02:46:06 -08:00
Mark Tiefenbruck
9f2f65a698 make FbTk::Command a template class, split parsing information out of ObjectRegistry 2008-01-10 23:41:22 -08:00
Mark Tiefenbruck
1f01d84c08 split WinButtonTheme into multiple themes 2008-01-08 00:50:58 -08:00
Mark Tiefenbruck
ec3125aeb9 switch FbWinFrameTheme to use FocusableTheme 2008-01-07 12:08:56 -08:00
Mark Tiefenbruck
dbfddf8e0b added new ThemeProxy for automatically handling focused vs. unfocused ThemeItems 2008-01-07 02:26:32 -08:00
Mark Tiefenbruck
ac1bd7e098 update code to use ThemeProxy 2008-01-04 17:39:19 -08:00
Mark Tiefenbruck
60ba709c2f add a level of indirection to themes 2008-01-04 01:06:38 -08:00