Commit graph

5009 commits

Author SHA1 Message Date
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
Mark Tiefenbruck
b20b243b48 remove some unnecessary code 2008-01-03 19:37:21 -08:00
Mark Tiefenbruck
9c105111d2 remove old svn $Id$ tags 2008-01-03 17:34:12 -08:00
Mathias Gumz
bf15250292 merged 2008-01-03 07:56:59 +01:00
Mathias Gumz
b73411a95f moved seldom used code to where it is actually used, no need to include code into compilation when its not needed 2008-01-02 22:44:16 +01:00
Mathias Gumz
d24e2aae6e more encapsulation for Ewmh 2008-01-02 22:41:50 +01:00
Mark Tiefenbruck
903349f47a Merge branch 'master' of fluxbox@gitfbox:fluxbox 2008-01-02 13:38:09 -08:00
Mathias Gumz
222128c236 more header 'correctness' 2008-01-02 09:31:18 +01:00
Mathias Gumz
ec13263a18 decoupling, moved private datastructures to Keys.cc 2008-01-02 09:28:00 +01:00
Mark Tiefenbruck
6ea1ed8cfa fix border width on synthetic ConfigureNotify events 2008-01-01 19:10:38 -08:00
Mark Tiefenbruck
2f9f29df22 make reported frame extents include border width 2008-01-01 17:32:10 -08:00
Mark Tiefenbruck
7588fc10a6 fix some flickering on focus change 2008-01-01 10:29:36 -08:00
Mark Tiefenbruck
72d2f0e481 fix compatibility with older gcc versions 2007-12-30 14:58:41 -08:00
Tomas Janousek
f4ee09779b Fix minimize regression caused by b5c354b9. 2007-12-30 23:31:40 +01:00