all repos — openbox @ de712f85676ca0a386c956165bb6460d65206c46

openbox fork - make it a bit more like ryudo

de712f85
XDisplay's nextEvent completed
Dana Jansens danakj@orodu.net
ae3dc273
new i18n class using overloaded operator() instead of getMessage()
Dana Jansens danakj@orodu.net
30136ab3
change next target version to 2.0.0!
Dana Jansens danakj@orodu.net
91a7ca7d
added the X classes to the build process though they aren't sued by anything else yet. They now compile too.
Dana Jansens danakj@orodu.net
c17256d7
removing pendantic. thats just crazy. -Wall -W will suffice.
Dana Jansens danakj@orodu.net
080c09da
adding --add-missing to automake call
Dana Jansens danakj@orodu.net
cc7cb82d
adding new X base classes which encapsulate all X server interation
Dana Jansens danakj@orodu.net
bd196c71
adding bootstrap which generates all the auto* files such as configure
Dana Jansens danakj@orodu.net
4f04dcaf
removing auto-generated stuff from cvs
Dana Jansens danakj@orodu.net
713c93d6
removed the fixed bug!
Dana Jansens danakj@orodu.net
ae093dba
make a new autoRaiseDelay value take effect without having to restart
Dana Jansens danakj@orodu.net
a4c9553c
increment version for next release
Dana Jansens danakj@orodu.net
63f8386d
make autoRaiseDelay load
Dana Jansens danakj@orodu.net
7f3d32e3
make auto-raise value load.
Dana Jansens danakj@orodu.net
927091ee
fix off-by-one window resizing bug
Dana Jansens danakj@orodu.net
fb0bd987
typos
Dana Jansens danakj@orodu.net
144e3e9b
readding aclocal. autoconf needs this thing
Dana Jansens danakj@orodu.net
5d6413d4
fix for slit direction menu not reconfiguring properly
Dana Jansens danakj@orodu.net
90e7db97
*** empty log message ***
Dana Jansens danakj@orodu.net
a3a23c28
moved menu from a rc file option to a command line option
Dana Jansens danakj@orodu.net
4f50d117
spelling error
Dana Jansens danakj@orodu.net
f6e80e0d
added future release goals to the TODO
Dana Jansens danakj@orodu.net
788754fe
better setting of atoms. plugged memory leak.
Dana Jansens danakj@orodu.net
c1bf2292
better behavior with root pixmap atoms. create them if they do not exist.
Dana Jansens danakj@orodu.net
52c955c4
update to work with renamed function in BaseDisplay
Dana Jansens danakj@orodu.net
878d5733
update changelog.
removed a redundant var from BaseDisplay.
Dana Jansens danakj@orodu.net
e7978c7d
confine the mouse to the window for button grabs so that alt-click-drag on a window that wont move doesnt let the mouse leave the window and cause havoc
Dana Jansens danakj@orodu.net
f7ace0fa
new version of bsetbg
bsetroot now plays niecly with Eterm. Also, updated to the latest bsetroot from blackbox cvs
Dana Jansens danakj@orodu.net
f7508366
new version of bsetroot ported from blackbox cvs
Dana Jansens danakj@orodu.net
52786461
set the button windows to None when they are destroyed so we know they are no longer valid windows
Dana Jansens danakj@orodu.net
1b1efab4
compile with -Wall -W -pendantic when --enable-debug is set.
Dana Jansens danakj@orodu.net
f00ed578
new focus code! working better than ever!
Dana Jansens danakj@orodu.net
9b295857
fix creating/destroying the titlebar buttons
Dana Jansens danakj@orodu.net
e81b9d6a
fix for changing window buttons order. destroy them properly when they no longer exist and recreate them if they dont exist yet
Dana Jansens danakj@orodu.net
d6c02ad7
fix segfaut from uninitialized focused_screen pointer
Dana Jansens danakj@orodu.net
abfaee73
fix compilign without LinkedList
Dana Jansens danakj@orodu.net
6d166794
focus code updates
Dana Jansens danakj@orodu.net
6486b645
LinkedList->STL conversion completed. LinkedList is no longer use and it has been removed from the source tree.
Dana Jansens danakj@orodu.net
d58f7b56
no more use of LinkedList in BaseDisplay
Dana Jansens danakj@orodu.net
eb8a11a5
removed LinkedLists in BaseDisplay and Image. Only 1 left in BaseDisplay now
Dana Jansens danakj@orodu.net
ebdf25bf
removed all 'using namespace std;' calls.
Dana Jansens danakj@orodu.net
4969c1b0
move some typedefs into class scope
Dana Jansens danakj@orodu.net
30b899fc
converted all of the openbox class LinkedLists to STL objects
Dana Jansens danakj@orodu.net
57fb41c8
converted the remaining LinkedLists in Screen to STL objects.
Dana Jansens danakj@orodu.net
addc23fa
not initializing a pointer to NULL
Dana Jansens danakj@orodu.net
a0dbb0e1
couple of LinkedLists converted to STL lists in BScreen
changed teh calls to XSetInputFocus. Using the root window as the fallback when there is nothing to focus instead of the toolbar. Also, always using 'RevertToPointerRoot' instead of sometimes 'RevertToParent'
Dana Jansens danakj@orodu.net
f804f86c
use screen instead of its ImageControl to get/set the image dither value
Dana Jansens danakj@orodu.net
c7810a3c
make image dithering value load correctly
Dana Jansens danakj@orodu.net
b424a723
converted from LinkedList to STL vector and list
Dana Jansens danakj@orodu.net
fba11bf0
increment version for next release
Dana Jansens danakj@orodu.net
9f9cdf11
fixes for using ostrstream in gcc3. have to unfreeze the string more. annoying.
save workspace names/count properly
Dana Jansens danakj@orodu.net
098fae70
better gcc3 compat. using ostrstream again. and using namespace std;
some focus changes. workspace contains a focused window instead of openbox class. this fixes a seg
Dana Jansens danakj@orodu.net
ec10256a
ran autoconf to regen configure
Dana Jansens danakj@orodu.net
89563281
gcc 3 compatibility, converted strstreams to stringstreams
Dana Jansens danakj@orodu.net
4e2c37f2
fix headers to use the new defines
Dana Jansens danakj@orodu.net
38de48bd
stop moving a window if it is maximized
Dana Jansens danakj@orodu.net
445e28af
windows at positions x<0 or y<0 are no longer ignored in the placing code
Dana Jansens danakj@orodu.net
ba832151
better toolbar strftime size/padding fix
Dana Jansens danakj@orodu.net
73f0a909
BScreen::resource.root_command wasnt being initialized
Dana Jansens danakj@orodu.net
415f0241
xsetbg typo
Dana Jansens danakj@orodu.net
5f9c458f
fix possible seg because of new move code. make sure that the masked_window pointer gets cleanup up (call endMove) when a window is destroyed (pointer is then invalid)
Dana Jansens danakj@orodu.net
0be1c1e8
when a window begins moving, make sure another window is not moving already, and if it is, end its move
Dana Jansens danakj@orodu.net
f4d29bb7
make sure that the only time Click-to-place kicks in is when initially placing/mapping the window
Dana Jansens danakj@orodu.net
5705ea36
bug #1 from click placement fixed. was catching more motionNotify events than i wanted to with the new/modified move grabs. now i drop any left-over extras when the move completes so they dont come in too late
Dana Jansens danakj@orodu.net
b88c4292
removing old files that got merged in
Dana Jansens danakj@orodu.net
f290e1c0
save the titlebarLayout in the default config
Dana Jansens danakj@orodu.net
b79ced01
changelog fixes
Dana Jansens danakj@orodu.net
deb016c7
fix positioning of the window menu
Dana Jansens danakj@orodu.net
84f0293a
fix bug with window menu positioning
Dana Jansens danakj@orodu.net
22f8550d
fixed col placement
Dana Jansens danakj@orodu.net
1368ffc5
better logic when changing a window's decoration level, for choosing what elements of decoration get placed on the window.
Dana Jansens danakj@orodu.net
00dc78c6
better logic when changing a window's decoration level, for choosing what elements of decoration get placed on the window.
Dana Jansens danakj@orodu.net
fb1ef42d
fixed bug from converting over to STL
Dana Jansens danakj@orodu.net
65118aaf
bsetroot supports transparent apps with root property
Dana Jansens danakj@orodu.net
6796e798
took bsetroot from Blackbox moving_target.. "bsetroot now sets xrootpmap_id, pseudo transparent apps should be happy"
Dana Jansens danakj@orodu.net
127252cc
when a window is iconified, it was being moved, end the move cleanly
Dana Jansens danakj@orodu.net
5e3ca8e6
don't click-to-place windows when they specify a position
Dana Jansens danakj@orodu.net
4852193a
properly handle placing a window while another window is still placing.
Dana Jansens danakj@orodu.net
1789f16a
if user is moving a window and switches workspaces, stop moving that window
Dana Jansens danakj@orodu.net
8ef0610e
added ClickMouse window placement policy
Dana Jansens danakj@orodu.net
830e53f2
moved the 'moving window' logic into separate functions "startMove" "doMove" and "endMove"
Dana Jansens danakj@orodu.net
ad7f6112
new row/col Smart Placement from colophon
Dana Jansens danakj@orodu.net
20cd70c4
added UnderMouse windwo placement.
Dana Jansens danakj@orodu.net
07281446
better cascadePlacement. uses screen.availableArea().
Dana Jansens danakj@orodu.net
e5685e3c
added BScreen::availableArea() which returns a rect specifying where windows can be placed on the screen, and what area they can fill when maximized
Dana Jansens danakj@orodu.net
fb96e47f
removed debugging couts
Dana Jansens danakj@orodu.net
b7d0a77d
add std:: to the vector typedef in Basemenu
converted slit to use a std::list instead of LinkedList
Dana Jansens danakj@orodu.net
5c9ab8b8
converted from LinkedList to a vector
Dana Jansens danakj@orodu.net
3001cec7
more dithering fix.
Dana Jansens danakj@orodu.net
b2453eec
that segfaulted. oops. added a workaround so setImageDither doesnt reconfig when saving off all the rc values
Dana Jansens danakj@orodu.net
3f6f897d
when Image Dither is changed in the menu, make ob reconfigure so it uses the dithering
Dana Jansens danakj@orodu.net
9fa48a9f
fix Resource class so that you cant cast a string to a Resource
Dana Jansens danakj@orodu.net
1a44d808
Rolled back to the old row and column smart placement so we can get a 1.0.0 release out the door.
Dana Jansens danakj@orodu.net
6a36505f
even more fixes for maximizing/placement with hidden slit/toolbar/etc
Dana Jansens danakj@orodu.net
2809005a
maximize and placeWindow now behave properly when the slit is hidden
Dana Jansens danakj@orodu.net
cf950146
changing to the older version of this style. its far superior :)
Dana Jansens danakj@orodu.net
6f2064b1
posible fix for maximizing when slit is auto-hidden
Dana Jansens danakj@orodu.net
75c0a76a
changed external window interface to only have an area(), no size() and origin(), since all of their values are also in area()
changed toolbar external inteface to have an area, no more getX/Y/Width/Height
Dana Jansens danakj@orodu.net
b8dd077a
some placement fixes from colophon.
Dana Jansens danakj@orodu.net
7eb8d696
new row and column placement, using a modified bestfit. These don't work right yet, nor does bestfit, but they are coming.
Dana Jansens danakj@orodu.net
f994c778
fixed some uninstall issues
Dana Jansens danakj@orodu.net
e1b78a1f
even better bestfit placement. way to go colophon!
Dana Jansens danakj@orodu.net
18499a69
specify the std:: namespace for the ostrstreams.
Dana Jansens danakj@orodu.net
32951060
bestfit placement now honors the left->right and top->bottom options for window placement.
fix for the placement config menu.
Dana Jansens danakj@orodu.net
ec028e39
*** empty log message ***
Scott Moynes smoynes@nexus.carleton.ca
194ad386
tyops
Scott Moynes smoynes@nexus.carleton.ca
981ed308
compile fix for --disable-slit
Dana Jansens danakj@orodu.net
95df11ff
added Changelog entry for the improved maximize-window code.
Dana Jansens danakj@orodu.net
8e083798
better logic to not place windows over the slit and toolbar
maximize uses this same logic to not maximize over the toolbar *and the slit*
Dana Jansens danakj@orodu.net
ca3bc642
changes to bestfit from ruhi. takes windows sizes into account properly, and places windows 1 borderwidth apart on all sides, while still placeing up against the edge of the screen.
Dana Jansens danakj@orodu.net
de7a567d
on reconfigure, if an option isn't specified in the rc file, then it will revert to its default value instead of staying at its current value.
Dana Jansens danakj@orodu.net
874d0ea4
comment typo and function spacing fix
Dana Jansens danakj@orodu.net
0a3cfdfc
fixed memory leaks for strftime_format and rootcommand
Scott Moynes smoynes@nexus.carleton.ca
bed4d7c1
fixed memory leak of application_name
Scott Moynes smoynes@nexus.carleton.ca
62e17841
fixed a memory leak for resource.titlebar_layout
Scott Moynes smoynes@nexus.carleton.ca
8f8eba7b
fixed memory leak in screen::load()
Dana Jansens danakj@orodu.net
e75d3560
updated TODO to match current cvs status. yay progress!
Dana Jansens danakj@orodu.net
7440ad2e
starting openbox without an rc file now works. it makes an empty Xrm db instead of crashing :)
Dana Jansens danakj@orodu.net
940c1f61
temprary fix for the memleaks in ::load() and ::set* when using ostrstreams. Need to find a better solution for strings than std::string and ostrstream, or else put up with memory leaks all over the place.
Dana Jansens danakj@orodu.net
8ebee960
added bsetbg makefile
Scott Moynes smoynes@nexus.carleton.ca
66e3f4d0
added new bsetbg manpage
Scott Moynes smoynes@nexus.carleton.ca
5067369f
fix 2 bus errors on osx:
 - it's std::string doesnt like being set to NULL.
 - in Window.cc, caught someone using a membr variable after calling 'delete this'. bad.
Dana Jansens danakj@orodu.net
1b129560
new bsetbg version with manpage
Scott Moynes smoynes@nexus.carleton.ca
812f64eb
new bsetbg from cthulhain
Dana Jansens danakj@orodu.net
fa903969
optimized the finding-the-slit-position code in positionWindow
Dana Jansens danakj@orodu.net
83b39a9a
added Inflate, Deflate, and Translate to the Rect geometry class
Dana Jansens danakj@orodu.net
13ac6f2a
remove debugging couts
Dana Jansens danakj@orodu.net
f27fe4ed
temporary solution to avoid placing windows over the slit and toolbar, until NETWM is in effect.
Dana Jansens danakj@orodu.net
4602d871
now yuo can change styles again! (oops) wasnt saving teh nwe style file to the Resource class when it changed.
Dana Jansens danakj@orodu.net
e148f58d
maps/unmaps the toolbar when its resource setting is loaded from the file so it takes effect during a reconfigure.
Dana Jansens danakj@orodu.net
d9959367
accidently removed a line somehow. OpaqueMove is now read from the rc file.
Dana Jansens danakj@orodu.net
307da13f
menus update their values when they are reconfigure()d.
the screen, toolbar and slit rc values are reloaded in BScreen::reconfigure() before the menus.
the toolbar and slit rc values are explicitly loaded in their constructors, as is BScreen's.
Dana Jansens danakj@orodu.net
9cd9d92b
configuration changes "done"!!

on start, the config file is read entirely off the disc, and missing values are assigned defaults.
the config file is immediately written back to the disk to populate missing defaults in the file.
any time a config option is changed the control, the config file is re-written with the change.
choosing reconfig will reload the current config file on the disc.
on shutdown, nothing is written to the config file.
Dana Jansens danakj@orodu.net
66c879bd
Toolbar saves its settings as their changed
Main config's Hide Toolbar option is also saved when it is changed
Removed 2 debug couts from Slit
Dana Jansens danakj@orodu.net
73a3c979
Slit loads its own settings and saves them as they are changed
added an assert in Resource
Dana Jansens danakj@orodu.net
fe9b1efd
fixed snap to edges with toolbar hidden
Scott Moynes smoynes@nexus.carleton.ca
43e9d583
renamed the obResource class to Resource.
Dana Jansens danakj@orodu.net
82e61c01
fixed HAVE_STRING_H introduced from some parrallel development. blast
Scott Moynes smoynes@nexus.carleton.ca
6985e48f
need translations for Hide Toolbar
Scott Moynes smoynes@nexus.carleton.ca
29fff5f5
Added a runtime option for hiding the toolbar totally. Will be cleaner
later. Stay tuned.
Scott Moynes smoynes@nexus.carleton.ca
88d43795
renamed the Changelog files
get the latest version of bsetbg from the blackbox cvs
Dana Jansens danakj@orodu.net
509c88f5
removed unneeded #include <X11/Xutil.h>
Dana Jansens danakj@orodu.net
11318191
reversed tehmouse wheel buttons on the root window. scrolling up now goes to the next workspace.
Dana Jansens danakj@orodu.net
251dd403
get rid of the STDC_HEADERS check... this failed on IRIX with MIPSpro, use checks for individual headers instead
Dana Jansens danakj@orodu.net
67e5cb21
removed the code to make the .blackboxrc symlink to openbox's rc file (it cored anyways)
Dana Jansens danakj@orodu.net
897a9711
applied Ruhi's cleanup patch. moves colSmartPlacement into its own function
using Geomtry objects instead of integer pairs in all of the placeWindow code now
Dana Jansens danakj@orodu.net
adcdf317
added some consts to the cascade code
Scott Moynes smoynes@nexus.carleton.ca
dbd63276
apparently there were compiling problems with automake/autoconf. This should make those go away.
Dana Jansens danakj@orodu.net
df9d0c89
Added a fallback for Best Fit to cascade. Also, moved cascade to its own
function. May not be needed.
Scott Moynes smoynes@nexus.carleton.ca
932ced30
add the Geometry classes to bsetroot
Dana Jansens danakj@orodu.net
3eb75618
Fixed bsetroot to use the new Geometries returned in ScreenInfo
Dana Jansens danakj@orodu.net
25cbe08c
Slit has an area Rect now, and returns Rect, Size, and Points instead of getX/Y and getWidth/Height.
Dana Jansens danakj@orodu.net
44e3582d
BScreen (ScreenInfo) now contains a size() instead of a getWidth/getHeight
Dana Jansens danakj@orodu.net
bea6e5f7
changed OpenboxWindow to not have getFrameX/getWidth/etc functions, and to return Origins and Sizes and Rects, in fuctions like size(), origin(), and area().
Dana Jansens danakj@orodu.net
973880dd
added some missing punctuation
Ruhi Bloodworth ruhi@colophon.cjb.net
3dcebcf5
Added Util.h, which contains only an ASSERT macro for now
Dana Jansens danakj@orodu.net
0cfca85d
changed version number to 1.0.0. fixed a warning in BaseMenu from pointer->reference conversion
Dana Jansens danakj@orodu.net
d2bcec1c
made bsetroot compile with the new code for references instead of pointers
Dana Jansens danakj@orodu.net
ffce7be3
using references instead of pointers if possible in Image
Dana Jansens danakj@orodu.net
9bf23ee3
using a Screen reference instead of pointer in Workspace
Dana Jansens danakj@orodu.net
ba6e2034
using a reference for Openbox instead of a pointer
Dana Jansens danakj@orodu.net
72af8cea
using some references instead of pointers where possible in Screen, ScreenInfo, Slit, Toolbar, and Netizen
Dana Jansens danakj@orodu.net
9ea14110
only add one extra space to pad the clock in the toolbar
Dana Jansens danakj@orodu.net
351f1d03
Using some references instead of pointers for the menus.
Dana Jansens danakj@orodu.net
d00ef145
made shaded windows snap properly at their bottom, using their shaded height.
window.getHeight() now returns the different/correct value when a window is shaded.
Dana Jansens danakj@orodu.net
bb1a9732
changing the fix for fonts clipping in the titlebar. broken fonts (e.g. gelly caused problems in the old method.
Dana Jansens danakj@orodu.net
18acd962
added 'deep' style
Dana Jansens danakj@orodu.net
ff24b645
merged the changelog from the 0.99.0 (stable) branch (the code was previously merged)
Dana Jansens danakj@orodu.net
6aa92a89
added entry for new BestFit placement type
Dana Jansens danakj@orodu.net
424d476f
added first revision of the BestFit placement type.
moved RowSmart placement type out of placeWindow() to its own function like bestFit. Will continue moving other placement types into their own functions.
Dana Jansens danakj@orodu.net
24f9448c
adding Geometry classes: Point, Size, and Rect
Dana Jansens danakj@orodu.net
e17c54e3
removed all Xrm database calls from Screen.cc (style loading).
This completes the conversion to using the obResource class, there are no class to Xrm* except in Resource.cc/h
Dana Jansens danakj@orodu.net
b7fa41a3
Fixed a bug in the bsetroot build that caused really strange behaviour
Scott Moynes smoynes@nexus.carleton.ca
a619b3d1
added symlinking. needs a little work.
Scott Moynes smoynes@nexus.carleton.ca
456cf2d5
real_reconfigure now using obResource instead of teh XrmDatabase calls.
obResource class calls XrmInitialize().
Dana Jansens danakj@orodu.net
8d3c9738
save_rc() using the obResource class to save blackbox's configuration.
renamed BScreen::getCount to BScreen::getWorkspaceCount.
Dana Jansens danakj@orodu.net
e532e957
changed the default edge-snap distance from 0 to 4. This way new users will see that the option is there for them to change.
Dana Jansens danakj@orodu.net
6ea740cd
load_rc(BScreen *) now uses the obResource class to load its configuration
added a few consts in BScreen to be compatible with the new code.
reordered the compilation in src/ so that Resource.cc is in alphabetical order
Dana Jansens danakj@orodu.net
17ef2638
load_rc() now uses the obResource class to load its configuration
Dana Jansens danakj@orodu.net
3da13c16
adding rules on how to code this project.
Dana Jansens danakj@orodu.net
455b288c
added the obResource class which handles Xresouce database files in a sane manner
Dana Jansens danakj@orodu.net
40d73351
added the obResource class which handles Xresouce database files in a sane manner.
Dana Jansens danakj@orodu.net
dfc5f034
Initial revision
Dana Jansens danakj@orodu.net
17532e90
New repository initialized by cvs2svn.
unknown unknown