all repos — openbox @ df3d926cb2da067f323d3fd839bbcd759ddf92c4

openbox fork - make it a bit more like ryudo

df3d926c
rming almost all the old python stuffs
Dana Jansens danakj@orodu.net
75b07a2b
all events are dispatched
Dana Jansens danakj@orodu.net
033bd73e
kill the debug print
Dana Jansens danakj@orodu.net
7abaa532
add the plugins dir
Dana Jansens danakj@orodu.net
9b33f7de
stop using python internally. add an event dispatcher
Dana Jansens danakj@orodu.net
055b459c
add the headers
Dana Jansens danakj@orodu.net
fbdd3764
kill the timestamps
Dana Jansens danakj@orodu.net
453cbbf9
my rant..
Dana Jansens danakj@orodu.net
0c2f9567
pass the x,y,w,h to font_draw.
draw the text in the "right" place for now.. no justification yet
Dana Jansens danakj@orodu.net
6abd9fe8
set the size of the label properly
Dana Jansens danakj@orodu.net
9a2699fa
place at 0,0 if the window is too big
Dana Jansens danakj@orodu.net
a4838c74
measure the font's height instead of listening to Xft
Dana Jansens danakj@orodu.net
5d62948c
*** empty log message ***
Dana Jansens danakj@orodu.net
698b9a09
dont skip ungrab corssing events
Dana Jansens danakj@orodu.net
577038b2
if the window is as big/bigger than the screen with random placement, place it at (0,0)
Dana Jansens danakj@orodu.net
32ec1d1e
solids should now work with offsets
Derek Foreman manmower@gmail.com
6bcd6ddd
add keybinds for switching workspaces
Dana Jansens danakj@orodu.net
46e2060f
more random pokery
Derek Foreman manmower@gmail.com
4b9556c0
use the unfocused label when not focused
Dana Jansens danakj@orodu.net
e659f955
either offsets work, or I've broken lots of things.
Derek Foreman manmower@gmail.com
a0a55d57
pass x,y to paint()
Dana Jansens danakj@orodu.net
ab68bcfb
more changes wrt passing x, y, w, h to render
Derek Foreman manmower@gmail.com
fdabd3da
paint gets more parameters
Derek Foreman manmower@gmail.com
e9a7fc91
apparently my variable names were too verbose.
Derek Foreman manmower@gmail.com
31475076
offsets in planar surfaces
Derek Foreman manmower@gmail.com
1fae0f4d
declare variables first!
Dana Jansens danakj@orodu.net
2870457b
decalre variables before code!
Dana Jansens danakj@orodu.net
7f561a6a
make client_showhide a static function
Dana Jansens danakj@orodu.net
216a04bd
speed up workspace switching by causing the minimal number of expose events (none for the hiding windows!)
Dana Jansens danakj@orodu.net
432ac098
give engines mouse event notifications. make the openbox engine display pressed buttons
Dana Jansens danakj@orodu.net
9a3459e9
get rid of the 'sep' variable
Dana Jansens danakj@orodu.net
5270b1dd
replaced one too many bevels
Dana Jansens danakj@orodu.net
9dc2a917
properly layout the titlebar, with proper separatation
Dana Jansens danakj@orodu.net
b6ad1076
load and set the titles justification
Dana Jansens danakj@orodu.net
3cb562fe
added justification to textureText
Derek Foreman manmower@gmail.com
9c2b0666
kill some whack extra whitespace
Dana Jansens danakj@orodu.net
3b0b41ba
pixmap button masks work (hardcoded)
Dana Jansens danakj@orodu.net
26a3563a
dont need those includes no more
Dana Jansens danakj@orodu.net
f1db2721
in keeping with my tradition of committing untested code, here is the
pixmap mask rendering code ported from the old otk dirs
Derek Foreman manmower@gmail.com
57314ce5
move pixmap_mask typedef
add stub for draw_mask
Derek Foreman manmower@gmail.com
b824e6ad
add funcs to create/free pixmap_masks
Dana Jansens danakj@orodu.net
14f17c96
add glib.h for guint
Dana Jansens danakj@orodu.net
05145e15
include Xlib.h for Pixmap
Dana Jansens danakj@orodu.net
5f5b45a9
add mask.[ch]
Dana Jansens danakj@orodu.net
1f63f7b3
add a struct for pixmap masks
Dana Jansens danakj@orodu.net
cce97081
hack so text shows up
Derek Foreman manmower@gmail.com
3232247b
dont delete the pixmap until after changeing the visible one
Dana Jansens danakj@orodu.net
717c0fa6
trying to render text!
Dana Jansens danakj@orodu.net
1f289469
add missing include, pass right args to font_draw
Derek Foreman manmower@gmail.com
f8ad321e
malloc.  yeah.
Derek Foreman manmower@gmail.com
bb3e654e
will draw fonts when stop segging
Dana Jansens danakj@orodu.net
9b1943f1
copy textures in appearance_copy
Derek Foreman manmower@gmail.com
8c8c40e2
try to render fonts
destroy pixmaps and xftdraws in appearance_delete
Derek Foreman manmower@gmail.com
4672adbf
font changes
Derek Foreman manmower@gmail.com
99b226f3
remove printf and stdio.h
Derek Foreman manmower@gmail.com
88a8bc41
add font_draw
Derek Foreman manmower@gmail.com
ea8d450e
add font_draw
move font def'n to render.h
Derek Foreman manmower@gmail.com
7f590e53
pointer's variables are config vars
Dana Jansens danakj@orodu.net
74c683ee
font.h and font.c
Derek Foreman manmower@gmail.com
9ecdf13b
added font_startup
Derek Foreman manmower@gmail.com
6682d070
filled out font texture
Derek Foreman manmower@gmail.com
aa68e45b
added some font stuff
Derek Foreman manmower@gmail.com
f8a47de5
merge the C branch into HEAD
Dana Jansens danakj@orodu.net
8ba0586b
use the new config system.. a bit..
Dana Jansens danakj@orodu.net
feaf3ac4
time to refactor shit hard
Dana Jansens danakj@orodu.net
1dac42d9
catch button presses on the client border (the plate's border)
Dana Jansens danakj@orodu.net
d2a893c0
make the version printf just a debug message
Dana Jansens danakj@orodu.net
2df4d8c7
map to the highest possible desktop if a desktop too large is requested
Dana Jansens danakj@orodu.net
fb1c1a81
only map on a requested desktop if its not out of range
Dana Jansens danakj@orodu.net
c29a1f14
nick's no longer the site designer
Dana Jansens danakj@orodu.net
11184551
add mention of being OSI Certified Open Source Software
Dana Jansens danakj@orodu.net
296dacb0
Added the much sought after horizontal gradient
Derek Foreman manmower@gmail.com
2ffeaf1e
labels are higher than buttons too
Dana Jansens danakj@orodu.net
89a5c973
surface's have a size not a width()/height()
Dana Jansens danakj@orodu.net
65e91ac3
labels are not the size of buttons
Dana Jansens danakj@orodu.net
dfd3f12c
make labels' parent relative actually work :>
Dana Jansens danakj@orodu.net
1e47e17d
make parentrelative decorations work
Dana Jansens danakj@orodu.net
04494f10
dont assume only 5 mouse buttons.
dont need to track them all either, kill the queue, and watch one at a timesmarter
Dana Jansens danakj@orodu.net
299f7ad2
position is a function
Dana Jansens danakj@orodu.net
56d2f942
position relative to the window properly
Dana Jansens danakj@orodu.net
d2a1ecb1
let any number of mouse buttons work
Dana Jansens danakj@orodu.net
d647de97
add the new '-remote' option. let the dispatchEvents loop work in 'local' or 'remote' mode.
Dana Jansens danakj@orodu.net
d8429b31
add new options for placement of the motion coords popup.
use a parentless label.
Dana Jansens danakj@orodu.net
cf977332
use the new desktopNames()
Dana Jansens danakj@orodu.net
0a93178b
let you create a parentless label
Dana Jansens danakj@orodu.net
b3a87e3a
a few optimizations to layouts/rendering
Dana Jansens danakj@orodu.net
503638db
typo!
Dana Jansens danakj@orodu.net
781495e2
oops messed up centered
Dana Jansens danakj@orodu.net
14813743
add a POPUP_CENTERED option
Dana Jansens danakj@orodu.net
ed55720b
make the highlighted button high a white border
Dana Jansens danakj@orodu.net
21999227
make button text white in the default style
Dana Jansens danakj@orodu.net
a1a606d4
watch for case where we think one button is pressed but it isnt anymore, making Click events get missed
Dana Jansens danakj@orodu.net
ccb58d37
adjust to the new format for otk::Proeprty::get() functions (no nelements)
let the user specify if it is a 'final' move for a window or not, and the client will only be sent a ConfigureNotify if it is.
Dana Jansens danakj@orodu.net
232092fa
provide a function to return all the desktop names instead of one at a time.
adjust to the new format for otk::Proeprty::get() functions (no nelements)
Dana Jansens danakj@orodu.net
60cd451a
keep track of if the move is the final move or not, and pass it along
Dana Jansens danakj@orodu.net
109c5896
focus does not return anything now, cuz its just the function which sends a focus event
Dana Jansens danakj@orodu.net
3c82ae88
screeninfo and display are no more
Dana Jansens danakj@orodu.net
ec575f22
use the new sexy additions to the python classes
Dana Jansens danakj@orodu.net
971e227b
set teh xinerama stuff even when not compiled with the xinerama extension so code can use it always
Dana Jansens danakj@orodu.net
3f80d431
swig cares about (void) it seems :\
Dana Jansens danakj@orodu.net
729506e1
calcDefaultSizes is protected
Dana Jansens danakj@orodu.net
bc8d855b
use "fixed" as the fallback font always
Dana Jansens danakj@orodu.net
59d51998
rename getRenderControl to the more precise createRenderControl
Dana Jansens danakj@orodu.net
b9a7d8f9
nelements is not passed anymore, its simply a return value. get() will grab the entire property.
Dana Jansens danakj@orodu.net
590e5e23
nelements is not passed anymore, its simply a return value
Dana Jansens danakj@orodu.net
2f95a7e0
'final' cleanup for the new otk wrapper .i's
Dana Jansens danakj@orodu.net
45341519
split up the otk stuff into separate files.
wrap otk::Property properly with typemaps so that it is usable.
wrap otk::Timer properly so that you can use it with a python callback
Dana Jansens danakj@orodu.net
1741bdde
only return as many as was requested
Dana Jansens danakj@orodu.net
956ada07
oops nevermind
Dana Jansens danakj@orodu.net
3de18ef7
prevent people from using timers except as pointers
Dana Jansens danakj@orodu.net
3240c1d9
check for no screens before asserting
Dana Jansens danakj@orodu.net
916b58f9
ignore NUM values in enums
Dana Jansens danakj@orodu.net
fbfa2798
dont need preprocessor shit for swig
Dana Jansens danakj@orodu.net
8bf56a28
allocate colors right away instead of delaying it, since they get allocated out of the rendercontrol, and it will never fail.
Dana Jansens danakj@orodu.net
716ab805
remove some include/import we dont need.
include all the headers we do need before each code fragment
Dana Jansens danakj@orodu.net
c217a730
split the ob module into separate .i's
cleanly define the interface, add functions for modifying the objects (via client messages)
Dana Jansens danakj@orodu.net
0dd7ebcb
add support for the openbox_restack_window message.
use the state_add/remove/toggle values from otk::Property::atoms
Dana Jansens danakj@orodu.net
c15dced3
this has been moved to wrap/
Dana Jansens danakj@orodu.net
dee0170b
add openbox_restack_window, and the state_add/remove/toggle values
Dana Jansens danakj@orodu.net
b3879a23
s/False/false/
Dana Jansens danakj@orodu.net
c6930ae2
rm the SWIG ifdefs
Dana Jansens danakj@orodu.net
36130371
kill the typedef
Dana Jansens danakj@orodu.net
d2adccbe
80 cols
Dana Jansens danakj@orodu.net
a7d17188
return a Python list of Client*'s when a std::list<Client*> is returned
Dana Jansens danakj@orodu.net
5fc7db1c
allow cycling without a modifier in the binding
Dana Jansens danakj@orodu.net
31d41a7a
defualt START_WITH_NEXT to true for desktops too
Dana Jansens danakj@orodu.net
671230f8
add the new cycle module with super snazzy new Cycle classes. yay KatanaLynx!
Dana Jansens danakj@orodu.net
136c9c07
support for pixmap icons, kwm_win_icon and the icon in wmhints
Dana Jansens danakj@orodu.net
0c2f0e0b
keep track of the kwm_win_icon property
Dana Jansens danakj@orodu.net
42fbb46a
add the kwm_win_icon atom
Dana Jansens danakj@orodu.net
6354e771
cleanup
Dana Jansens danakj@orodu.net
93ea4c4d
supply more information about errors when running scripts
Dana Jansens danakj@orodu.net
16a952c3
adjust how the config is loaded. it is not loaded at all during the screen's constructor, it is loaded afterwards and applied, but before windows are managed
Dana Jansens danakj@orodu.net
893faed7
order things to work correctly for now, with the python loading and the the config setting
Dana Jansens danakj@orodu.net
2cbb95c3
change the default titlebar layout
Dana Jansens danakj@orodu.net
5cd8680f
make them const
Dana Jansens danakj@orodu.net
dfe7f46b
provide == and != for DialogButtons
Dana Jansens danakj@orodu.net
c8789ccd
execute files such that i can track if an exception was thrown in it
Dana Jansens danakj@orodu.net
8ed79248
when python_exec fails on user.py:
  a) remove all the bindings
  b) exec defaults.py
  c) show a dialog message
Dana Jansens danakj@orodu.net
8cbabdcb
import the config module properly.
shit all over stderr and exit when something from the config module couldn't be loaded
Dana Jansens danakj@orodu.net
bb4990af
dont wrap pointerassassin
Dana Jansens danakj@orodu.net
8269fc2b
set the gravity to center the dialog.
size it off the minSize which is already calculated, not off the size() with is nto
Dana Jansens danakj@orodu.net
e07ea848
only fire the clickHandler if the button is released with the cursor over it
Dana Jansens danakj@orodu.net
bbd9cb99
rm the warnings for now
Dana Jansens danakj@orodu.net
cee0482c
make DialogButtons take char*'s meaning that the label will always be Utf-8
Dana Jansens danakj@orodu.net
213df281
only hide the dialog if a default button exists when enter is hit
Dana Jansens danakj@orodu.net
c71738f3
let you .focus() a messagedialog
Dana Jansens danakj@orodu.net
010e12c4
only show() if the dialog is not already visible
Dana Jansens danakj@orodu.net
7a41f773
add otk::MessageDialog
Dana Jansens danakj@orodu.net
f325abe4
use the current size, which will get capped by max/mins
Dana Jansens danakj@orodu.net
33e87b39
dont forget borders/bevels
Dana Jansens danakj@orodu.net
afe1d9e3
still draw the background when no text will fit
Dana Jansens danakj@orodu.net
c7d4901f
set the style
Dana Jansens danakj@orodu.net
532697b2
put the desktop names in the right variable
Dana Jansens danakj@orodu.net
a89166a1
cleaner while loop
Dana Jansens danakj@orodu.net
73a58498
Fixed a bug in grab handling for chains
(wasn't updating _grabbed or the current binding tree position in some cases)
Derek Foreman manmower@gmail.com
fd766894
dont provide a default icon in the python stuff, itll come from the style
Dana Jansens danakj@orodu.net
d2dcef46
initialize _font
Dana Jansens danakj@orodu.net
7fe3301e
Add the "obsetroot" tool. Use it to set the root background.
Dana Jansens danakj@orodu.net
299dc47a
rm shit that no longer applies
Dana Jansens danakj@orodu.net
f65e21ce
use ctdio
Dana Jansens danakj@orodu.net
0d59a002
sync before changing the ignore_errors state
Dana Jansens danakj@orodu.net
e3f6e0ff
make reduceDepth set the im->data member, with newly allocated data, so the pixelData in the surface isn't reduced
Dana Jansens danakj@orodu.net
53b5c60a
check if the window is focused before unfocusing it
Dana Jansens danakj@orodu.net
7393a17b
use the same alogo to pick a color in allocateColor as in reduceDepth, break it off into an inline function.
Dana Jansens danakj@orodu.net
f78761c8
just because we think we're focused doesnt mean we actually are, so send the focus change to the xserver anyways.
Dana Jansens danakj@orodu.net
4a90b1b4
better default icon, same thing, placed better
Dana Jansens danakj@orodu.net
29d030cc
use an icon smaller than the surface if possible
Dana Jansens danakj@orodu.net
0b466d71
kill debug prints
Dana Jansens danakj@orodu.net
01a37dfe
allocate colors in pseudocolor from the map we allocate in the rendercontrol
Dana Jansens danakj@orodu.net
49974f69
dont put DEBUG: in the printf
Dana Jansens danakj@orodu.net
50002f2c
add a default icon
Dana Jansens danakj@orodu.net
e936cba5
rm debug print
Dana Jansens danakj@orodu.net
2f2d6e73
layout the titlebar right, was adding too much space when buttons were removed from the titlebar
Dana Jansens danakj@orodu.net
059bc4dc
add a Config class with config data from the scripts.
set up the functions for loading a style from a file.
use the Config class throughout instead of reading out of the python namespace all the time.
Dana Jansens danakj@orodu.net
1431cd19
8bpp pseudo color.  it's horrid code.  the graphics are horrid.
I have done many terrible things and I'm so very very sorry. :(
Derek Foreman manmower@gmail.com
238355f1
put the Python.h header in the .cc
Dana Jansens danakj@orodu.net
54e85b25
only keep fullscreen windows in the top layer when they or a relative is focused
Dana Jansens danakj@orodu.net
8446eaed
scale images down to the available surface size
Dana Jansens danakj@orodu.net
576f03f6
don use gradient for titlebar.. waste of cycles
Dana Jansens danakj@orodu.net
e71fb6c6
| NOT & YOU BASTARD
Dana Jansens danakj@orodu.net
07305ec7
display icons in the frame titlebar!
Dana Jansens danakj@orodu.net
1e58c863
render images properly, minus the scaling
Dana Jansens danakj@orodu.net
afd47769
uncomment the _NET_WM_ICON property
Dana Jansens danakj@orodu.net
af27d7b7
doc _layer.
add an Icon struct
Dana Jansens danakj@orodu.net
939e7887
notify the frame when the desktop changes
Dana Jansens danakj@orodu.net
23cc9e05
show state with the alldesktops and max buttons
Dana Jansens danakj@orodu.net
f8983146
buttons press!
Dana Jansens danakj@orodu.net
c88451f0
readd titlebar buttons. but they dont press yet
Dana Jansens danakj@orodu.net
3e504ae5
rm a stupid bb format
Dana Jansens danakj@orodu.net
329de788
add _created
Dana Jansens danakj@orodu.net
ea20fcc2
only free allocated colors
Dana Jansens danakj@orodu.net
15f22082
borked the build
Dana Jansens danakj@orodu.net
dca8c61a
free the colors on shutdown
Dana Jansens danakj@orodu.net
68482ff5
no segfault plz tnx
Dana Jansens danakj@orodu.net
0ebf6a17
only store what we need to in the class
Dana Jansens danakj@orodu.net
e451c08a
alloc colors only when needed, and free them properly on destruction
Dana Jansens danakj@orodu.net
8ad1d0bb
clear the stringlist before populating it
Dana Jansens danakj@orodu.net
7c32ac2b
proper order for headers
Dana Jansens danakj@orodu.net
ec2113ca
move comment
Dana Jansens danakj@orodu.net
7a2a4615
only store what we need to in the class
Dana Jansens danakj@orodu.net
dd898115
alloc colors.. i think!
Dana Jansens danakj@orodu.net
6b1381d6
add mising ()s
Dana Jansens danakj@orodu.net
a0738a01
more efficient/nicer way to get the XColor values
Dana Jansens danakj@orodu.net
044c8ae4
start of pseudo init
Dana Jansens danakj@orodu.net
5e0fc865
start of pseudocolor init
Dana Jansens danakj@orodu.net
325a909d
move printf..
Dana Jansens danakj@orodu.net
fe1473bc
use the frame's area() properly
Dana Jansens danakj@orodu.net
51606622
use the frame's area not the client's
Dana Jansens danakj@orodu.net
9faca110
kill all the old commented vars in rendercontrol.hh
add some preliminary vars in pseudorendercontrol.hh
Dana Jansens danakj@orodu.net
72ff846d
make all the rendering code in RenderControl. use true/pseudo RenderControl classes just for reducing the pixel32 data to the appropriate bitdepth.
Dana Jansens danakj@orodu.net
f30b2a89
can draw icons in truecolor!
Dana Jansens danakj@orodu.net
e1473968
increment x
Dana Jansens danakj@orodu.net
3147ad1a
start on the rendering images code
Dana Jansens danakj@orodu.net
555facb9
free the surfaces' pixeldata after rendering it
Dana Jansens danakj@orodu.net
aceea3c0
add skeleton for RenderControl::drawImage
Dana Jansens danakj@orodu.net
2808ab5b
add RenderControl::drawMask
Dana Jansens danakj@orodu.net
58847af2
store the pixel32 data in the surface so it can be reused
Dana Jansens danakj@orodu.net
e429ce39
new key code with keyboard grabs and such, thanks to ManMower. Kills the "key leak" bug, and makes everything work better and faster! woot
Dana Jansens danakj@orodu.net
4eaa6551
add ABOUT-NLS
Dana Jansens danakj@orodu.net
71f9b6cf
proper check for modifiers being released, not caring about added.
Dana Jansens danakj@orodu.net
7112755c
add a comment regarding the client.area() being not-what-you-want
Dana Jansens danakj@orodu.net
15c2e7e2
add the icons app
Dana Jansens danakj@orodu.net
0e06aab5
make the icons program a C app.
Dana Jansens danakj@orodu.net
c735d499
add an app to display the icons for a window
Dana Jansens danakj@orodu.net
6ae8608a
make stacked cycling work without a modifier-key binding, i think. cleaner checking for modifiers in motion and stackedcycle.
Dana Jansens danakj@orodu.net
5af39507
better include_icons selection, add INCLUDE_ICONS_ALL_DESKTOPS
Dana Jansens danakj@orodu.net
b18959e1
provide access to the desktop names
Dana Jansens danakj@orodu.net
d993bcd9
include the desktop name if cycling on all desktops is enabled
Dana Jansens danakj@orodu.net
9676a677
change the exception message
Dana Jansens danakj@orodu.net
4ffa9585
remove unused apply
Dana Jansens danakj@orodu.net
783b4dac
add W-d to toggle show-desktop-mode by default
Dana Jansens danakj@orodu.net
33c0058f
add callbacks to show/hide the desktop
Dana Jansens danakj@orodu.net
22b5d645
initialize the net_showing_desktop hint
Dana Jansens danakj@orodu.net
63646b38
make some of otk::property work
Dana Jansens danakj@orodu.net
1e46a39d
more user friendly net_showing_desktop support
Dana Jansens danakj@orodu.net
ba9b0617
smarter focus restoring
Dana Jansens danakj@orodu.net
5d47526b
focus the desktop when entering show-desktop-mode, and refocus what was focused before when leaving
Dana Jansens danakj@orodu.net
265cf6c9
show desktop mode works!
Dana Jansens danakj@orodu.net
f305e7f1
rm some old commented code
Dana Jansens danakj@orodu.net
81c164bb
add support for desktop layouts specified by pagers
Dana Jansens danakj@orodu.net
29bd1c97
rm a debug print
Dana Jansens danakj@orodu.net
dd088e72
kill a warning
Dana Jansens danakj@orodu.net
30cef0ce
add _NET_DESKTOP_LAYOUT and _NET_SHOWING_DESKTOP
Dana Jansens danakj@orodu.net
f789d4a6
remove debug print
Dana Jansens danakj@orodu.net
82d147b5
better skipping of focus events while stackedcycling, fixes bug where esc would still change the order.
Dana Jansens danakj@orodu.net
4ef15148
stop using a desktop number for iconic windows. woot!
Dana Jansens danakj@orodu.net
12108e16
keep track of struts for each desktop
Dana Jansens danakj@orodu.net
a5ea4b04
add DONT_DUPLICATE option
Dana Jansens danakj@orodu.net
544bc20a
rm debug prints
Dana Jansens danakj@orodu.net
43c1f2a8
modal works like a charm now
Dana Jansens danakj@orodu.net
43f95899
use a solid color for the default background
Dana Jansens danakj@orodu.net
a4c8a839
layout fixes, give widgets a default texture, etc.
Dana Jansens danakj@orodu.net
c26e5ea7
set the _text
Dana Jansens danakj@orodu.net
ebdfbdab
keep things in min/max bounds properly
Dana Jansens danakj@orodu.net
5673ab7e
use parentrelative when theres no texture set
Dana Jansens danakj@orodu.net
07a7f6a3
mention that 2.9x is not supported
Dana Jansens danakj@orodu.net
115fedf4
use the c++ std cheaders
Dana Jansens danakj@orodu.net
74cfb1b4
signed ints instead of unsigned ints again. less pain. pain bad.
Dana Jansens danakj@orodu.net
9e05db95
remove includes for widgetbase.hh. fix bug with circular modal pointer.
Dana Jansens danakj@orodu.net
c54d92b7
this is no longer used
Dana Jansens danakj@orodu.net
e4fa1c5a
split the move and resize on the client window
Dana Jansens danakj@orodu.net
ef231de5
mad optimizations
Dana Jansens danakj@orodu.net
ee9eaed6
highlight the popup
Dana Jansens danakj@orodu.net
a81b9674
grab early in the cycle so that we dont miss the modifier release
Dana Jansens danakj@orodu.net
188e5cd5
udpate to new api
Dana Jansens danakj@orodu.net
f51f1c77
stacked cycling menu works now. add a highlighted flag to otk widgets
Dana Jansens danakj@orodu.net
e72d9d90
make stacked cycling work with new otk widgets.. not highlighting in the list yet though
Dana Jansens danakj@orodu.net
b555cd12
rm the headers that are no longer existing
Dana Jansens danakj@orodu.net
6a88803b
formatting
Dana Jansens danakj@orodu.net
17b02669
No longer using otk widgets for the frame decorations.
The titlebar no long has any buttons, in preparation for a new button system.
Using otk::Size for sizes, and unsigned ints (*PAIN*) we'll see..
Dana Jansens danakj@orodu.net
1c97e9fb
some updatesto match changes to otk. Many more needed..
Dana Jansens danakj@orodu.net
5adb8c82
updated wrappers around the new otk widget system and style system
Dana Jansens danakj@orodu.net
f9659acd
add the new size class' header
Dana Jansens danakj@orodu.net
99cd843f
Brand spankin new widgets for otk (Label and Button).
Add a new Size class.
Rect, Point, and Size are immutable classes.
Size uses *UNSIGNED* ints. This is causing me headaches * a bajillion right now, so we'll see about that.
Dana Jansens danakj@orodu.net
d2df4096
compress motion events better
Dana Jansens danakj@orodu.net
7359d4d7
compress config req's
Dana Jansens danakj@orodu.net
4f711edc
move marius from active developers to contributors :\
Dana Jansens danakj@orodu.net
7b8c5c89
catch exception if the file doesnt exist
Dana Jansens danakj@orodu.net
c3e4f97d
make "make dist" work, compiler flags cleanups
Dana Jansens danakj@orodu.net
37050803
rm this thing
Dana Jansens danakj@orodu.net
2e7bb615
include the .i's in the dist
Dana Jansens danakj@orodu.net
8cc27160
supply the same interface with optional arguments as before. increment callback functions when they are registered.
Dana Jansens danakj@orodu.net
3ca451fc
use the new atoms global
Dana Jansens danakj@orodu.net
f26ebce5
only show prints for debug builds
Dana Jansens danakj@orodu.net
7c8c9e99
new swig build system. much better. yay.
Dana Jansens danakj@orodu.net
ffea5b55
you need swig at least 1.3.14
Dana Jansens danakj@orodu.net
b23ed19a
install the scripts as python, so they get compiled
Dana Jansens danakj@orodu.net
bdbbfd6c
missing a )
Dana Jansens danakj@orodu.net
04d08398
require automake 1.7.1 for py-compile
Dana Jansens danakj@orodu.net
67fbe835
dont make wrap a subdir of otk
Dana Jansens danakj@orodu.net
7d94983b
give output when building a cvs release
Dana Jansens danakj@orodu.net
1d4cff7d
move the otk swig module into its own lib/directory
Dana Jansens danakj@orodu.net
863c04cb
add py-compile
Dana Jansens danakj@orodu.net
423367e8
move the otk wrapper stuff into its own dir
Dana Jansens danakj@orodu.net
a5a712f9
provide pkg-config info for libotk
Dana Jansens danakj@orodu.net
59ef3022
ignore the latex dir
Dana Jansens danakj@orodu.net
5072931b
use bevel width on the top/bottom too
Dana Jansens danakj@orodu.net
871e777e
use the widget's bevel width
Dana Jansens danakj@orodu.net
69d12b5e
use a focuslabel
Dana Jansens danakj@orodu.net
cdd260ab
don't wait for x events if any timers fired
Dana Jansens danakj@orodu.net
64ac7d05
80 cols
Dana Jansens danakj@orodu.net
53bed5e5
80 cols
Dana Jansens danakj@orodu.net
635af8c3
make sure windows aren't doing things they aren't allowed when their allowed actions changes.
remaximize windows when their decorations are changed
Dana Jansens danakj@orodu.net
bc099a5f
mention the swig wrapper warnings
Dana Jansens danakj@orodu.net
a612136b
various fixes to the otk widgets
Dana Jansens danakj@orodu.net
3b5d2d1b
add latex to the doc build process. fix namespace comments again.
Dana Jansens danakj@orodu.net
8df1670b
add an adjustable event mask
Dana Jansens danakj@orodu.net
f6ea9902
fix up the otk description
Dana Jansens danakj@orodu.net
4f837954
remove docs from old blackbox
Dana Jansens danakj@orodu.net
5688fbbc
ignore the wrappers
Dana Jansens danakj@orodu.net
bd971ede
ignore the wrappers
Dana Jansens danakj@orodu.net
6e2f3f9f
not needed, the .in is commited
Dana Jansens danakj@orodu.net
58336526
add operator==
Dana Jansens danakj@orodu.net
b8735c75
enforce a min size
Dana Jansens danakj@orodu.net
9e6b0d5a
update children first
Dana Jansens danakj@orodu.net
0bc098ca
dont include config.h from ..
Dana Jansens danakj@orodu.net
9dd156ce
add the headers, and install them
Dana Jansens danakj@orodu.net
a1740a50
add the headers
Dana Jansens danakj@orodu.net
fc4885a3
compile fix
Dana Jansens danakj@orodu.net
df0447ce
watch for bad actions and contexts
Dana Jansens danakj@orodu.net
f28550dc
add an assert to catch bad stuff from the python
Dana Jansens danakj@orodu.net
83327641
cleaner syntax
Dana Jansens danakj@orodu.net
cc050a4e
oops, missing a data.
Dana Jansens danakj@orodu.net
7d66a2a4
add some safety checks
Dana Jansens danakj@orodu.net
cb5eb0d5
store pointers instead of window id's. this lets us use them directly instead of having to look them all up all the time. this is possible now because we watch for new/close window events.
Dana Jansens danakj@orodu.net
76525992
update comment
Dana Jansens danakj@orodu.net
dddac554
remove quotes from comment
Dana Jansens danakj@orodu.net
21e9453c
add more comment
Dana Jansens danakj@orodu.net
8ee2603a
add a comment
Dana Jansens danakj@orodu.net
ffe214dc
missed some "'s
Dana Jansens danakj@orodu.net
02b63185
missed one capitalization
Dana Jansens danakj@orodu.net
220b5c40
make python config variables very visible by making them all capitals. cleaner nicer documentation in the py modules. make public functions more visible.
Dana Jansens danakj@orodu.net
7e3a0b22
don't raise the window when reverting from Escape
Dana Jansens danakj@orodu.net
9ae12978
simple possible bugfix? meh
Dana Jansens danakj@orodu.net
c0b0c004
keep iconic windows at the bottom of the cycling list always
Dana Jansens danakj@orodu.net
b001e857
watch for when theres no clients and avoid exceptions, just don't do shit all
Dana Jansens danakj@orodu.net
77ba3702
better comment
Dana Jansens danakj@orodu.net
7c8fa47e
add commented stuff for doing linear cycling
Dana Jansens danakj@orodu.net
8a05ae26
split out the linear cycling into focuscycle.py.
some better comments about what options can be used.
Dana Jansens danakj@orodu.net
00978e67
wrong scoping
Dana Jansens danakj@orodu.net
106883ee
force a binding with a modifier
Dana Jansens danakj@orodu.net
741aecf8
make Escape abort cycling
Dana Jansens danakj@orodu.net
a04d9fc2
add comments
Dana Jansens danakj@orodu.net
84dfca1c
remove debug prints
Dana Jansens danakj@orodu.net
51a41b9b
all new stacked cycling code. so much sexy.
add an openbox_active_window client message that lets you specify if you want the window to be raised and/or unshaded.
Dana Jansens danakj@orodu.net
f6085d78
rm debug prints
Dana Jansens danakj@orodu.net
981876ca
remove prints
Dana Jansens danakj@orodu.net
a765df7f
call getState() before updateTransientFor(), don't need to initialize _modal separately then
Dana Jansens danakj@orodu.net
4ddb8181
make this focus shit not buggy again..
Dana Jansens danakj@orodu.net
1da8531a
initialize _modal, its used before the window's type is checked
Dana Jansens danakj@orodu.net
046df3e7
update the client list's order after doing a stacked cycle
Dana Jansens danakj@orodu.net
4de57876
ignore the bins
Dana Jansens danakj@orodu.net
1cd253f4
handle modal windows better (bugfixes).
handle client-installed colormaps.
Dana Jansens danakj@orodu.net
5dfd87b0
add a focused() member
Dana Jansens danakj@orodu.net
02b9d474
dont let maximizing occur if the window cant move or resize
Dana Jansens danakj@orodu.net
92bc846c
add some tests
Dana Jansens danakj@orodu.net
c9389a89
support for modal children, both in the focus code and in the raise/lower code
Dana Jansens danakj@orodu.net
e44c0cba
set the desktop number before the number of desktops
Dana Jansens danakj@orodu.net
9f8253a0
fix a signed/unsigned thing
Dana Jansens danakj@orodu.net
6cc8d62e
find modal children and focus them
Dana Jansens danakj@orodu.net
d64505cf
logic error for modal focus
Dana Jansens danakj@orodu.net
edd53942
add function to focus modal children
Dana Jansens danakj@orodu.net
cda0b1b8
rm a XXX that we cant do anything about, and wont break things anyhow
Dana Jansens danakj@orodu.net
586cbd93
dont let kde override-redirect windows be moved or resized
Dana Jansens danakj@orodu.net
5bf70002
support the kde override_redirect hint, to make a window decor-less
Dana Jansens danakj@orodu.net
05a8e51f
add comments
Dana Jansens danakj@orodu.net
88a4e59f
always get the first focused screen
Dana Jansens danakj@orodu.net
ef48bd3d
only watch for events on our window.
rm a XXX
Dana Jansens danakj@orodu.net
2472004b
watch for windows on desktops being removed, and change desktops if on one being removed
Dana Jansens danakj@orodu.net
c0082933
rm a XXX
Dana Jansens danakj@orodu.net
4147215a
rm a XXX.. comment it out :)
Dana Jansens danakj@orodu.net
0571837e
maximizing fixes and simplification
Dana Jansens danakj@orodu.net
16df4538
fix compile err
Dana Jansens danakj@orodu.net
8b7373cf
rm a XXX
Dana Jansens danakj@orodu.net
7dbc6db0
remove a XXX
Dana Jansens danakj@orodu.net
afb8a281
support pseudocolor and greyscale displays by, using solid colors instead of gradients
Dana Jansens danakj@orodu.net
e6bfddf8
add pseudorendercontrol
Dana Jansens danakj@orodu.net
e0eaee86
include stdio
Dana Jansens danakj@orodu.net
f06b9449
Client::move moves the client to the position so that its *frame* will be at the given coordinates
Dana Jansens danakj@orodu.net
20ca8270
rm a print
Dana Jansens danakj@orodu.net
a0c28724
just a comment fix
Dana Jansens danakj@orodu.net
9223bfdd
let the client be moved to a position specified for the *frame*
Dana Jansens danakj@orodu.net
f5904cda
delete the openbox class, to shut things down properly!
Dana Jansens danakj@orodu.net
478f240c
fix the HOOOGE mem leak! YAY MANMOWER!
Dana Jansens danakj@orodu.net
ba872843
move windows based on their *frame* not the client
Dana Jansens danakj@orodu.net
8332db58
dont snap back, properly
Dana Jansens danakj@orodu.net
dec0760d
dont let this run past the buffer edge
Dana Jansens danakj@orodu.net
fcfda534
dont snap back onto the screen for resistance
Dana Jansens danakj@orodu.net
e2069b57
move the restart into main.cc, so the openbox class can clean up properly before the restart
Dana Jansens danakj@orodu.net
96a949ec
off-by-one
Dana Jansens danakj@orodu.net
4d4e17d1
to the bottom
Dana Jansens danakj@orodu.net
1814947e
move restart and exit to the top
Dana Jansens danakj@orodu.net
95a11f35
make restart's parameter optional
Dana Jansens danakj@orodu.net
da0c7355
change the default edge resistance
Dana Jansens danakj@orodu.net
3a8af58b
change commented code
Dana Jansens danakj@orodu.net
de4a388a
show the resize coords after moving them
Dana Jansens danakj@orodu.net
6eae9223
show the widget after moving it
Dana Jansens danakj@orodu.net
fd96ddd8
add a snap variable..
Dana Jansens danakj@orodu.net
a527c30f
formatting
Dana Jansens danakj@orodu.net
51628bae
dont decref this dictionary
Dana Jansens danakj@orodu.net
c2527df8
make the param optional
Dana Jansens danakj@orodu.net
b9ac2d30
add an exit callback
Dana Jansens danakj@orodu.net
8d99c55c
new merry theme updates
Dana Jansens danakj@orodu.net
8287fb28
check before deleting
Dana Jansens danakj@orodu.net
17a3f1e2
rm configuration class
Dana Jansens danakj@orodu.net
2fe0c0ee
rm this shit
Dana Jansens danakj@orodu.net
d73d4247
no more configuration.hh
Dana Jansens danakj@orodu.net
aaf297a1
delete the surface in destructor
Dana Jansens danakj@orodu.net
f1c0beee
make ignoring optional only for history placement
Dana Jansens danakj@orodu.net
76896e9a
dont include old configuration.hh
Dana Jansens danakj@orodu.net
d22a6c6c
capitalization
Dana Jansens danakj@orodu.net
abaaed47
add comment for configuration
Dana Jansens danakj@orodu.net
ca91ebe2
initialize the _single variable
Dana Jansens danakj@orodu.net
889cb888
GRAMMAR HAMMER
Dana Jansens danakj@orodu.net
5beb28df
add comments
Dana Jansens danakj@orodu.net
75a5004d
rm builtins.py
Dana Jansens danakj@orodu.net
8a7bff7a
let clients be remaximized to adjust to new surroundings/struts
Dana Jansens danakj@orodu.net
83bfa01b
remaximize windows when the strut changes
Dana Jansens danakj@orodu.net
5802cf61
add operator==
Dana Jansens danakj@orodu.net
a7c7ae09
dont let a resize get moved into a new increment by our little tricks
Dana Jansens danakj@orodu.net
6d1c4110
indent right
Dana Jansens danakj@orodu.net
d0c90fcc
dont let you ignore requested positions for !normal windows
Dana Jansens danakj@orodu.net
5d672875
add cascade placement
Dana Jansens danakj@orodu.net
dbfdd0fe
scroll workspaces on root without alt
Dana Jansens danakj@orodu.net
e390e277
use the windowmanagement ignore option
Dana Jansens danakj@orodu.net
ccef0308
allow random placement to override window placements
Dana Jansens danakj@orodu.net
9fb4c0b6
use history place by default
Dana Jansens danakj@orodu.net
28a08b7d
allow a callback to determine if a window should be history-placed
Dana Jansens danakj@orodu.net
41a03629
better historyplacement
Dana Jansens danakj@orodu.net
b18e83e0
always call the placewindow routine
Dana Jansens danakj@orodu.net
e1e5293a
historyplacement!!
Dana Jansens danakj@orodu.net
fe9fb53a
fire Startup on startup, not shutdown
Dana Jansens danakj@orodu.net
3cca0784
maximizing without bugs! can it be? i think so!
Dana Jansens danakj@orodu.net
2a2f4306
maximizing!
Dana Jansens danakj@orodu.net
4527e71d
added compile time check for client endianness
Derek Foreman manmower@gmail.com
9a47b042
another attempt at fixing strange endian issues
Derek Foreman manmower@gmail.com
f92804ec
Get the bit shifts from the client, not server
Derek Foreman manmower@gmail.com
bbe129c4
properly support "cross endian" configurations
Derek Foreman manmower@gmail.com
2eccd90f
fieron default
Dana Jansens danakj@orodu.net
7db9c2c0
note about automake
Dana Jansens danakj@orodu.net
45972ed5
update to new interface for toggle all desktops. use the new values for state_ calls.
Dana Jansens danakj@orodu.net
2c710b86
missing a break
Dana Jansens danakj@orodu.net
4a79f7c4
no options for the callbacls
Dana Jansens danakj@orodu.net
d11291df
doc the state functions better
Dana Jansens danakj@orodu.net
785957de
add comment
Dana Jansens danakj@orodu.net
536d54f9
import config
Dana Jansens danakj@orodu.net
ff94208c
typo
Dana Jansens danakj@orodu.net
3d8a035a
try appending our shit to the path, and not import config in the cc
Dana Jansens danakj@orodu.net
05aad313
doc the functions at the top
Dana Jansens danakj@orodu.net
3afcc0bb
fix comment
Dana Jansens danakj@orodu.net
f32ddbbf
use fitString to size the move coords box
Dana Jansens danakj@orodu.net
9c0ef038
break out _focusable() function to make the test if a window can be focused reusable code
Dana Jansens danakj@orodu.net
0833d51e
changes to the MERRY style
Dana Jansens danakj@orodu.net
2d669868
add functions to set the skipTaskbar/Pager state
Dana Jansens danakj@orodu.net
9e894362
add functions to give the skipTaskbar/Pager state
Dana Jansens danakj@orodu.net
8934a553
formatting of comment
Dana Jansens danakj@orodu.net
e0c8eae0
typos
Dana Jansens danakj@orodu.net
027e974e
let you optionally avoid focusing windows which have specified to not be displayed in taskbars
Dana Jansens danakj@orodu.net
1d94cd52
don't put windows in the focus cycling list if they are set to not show up in the taskbar
Dana Jansens danakj@orodu.net
31ae81b3
changeState after a setState request
Dana Jansens danakj@orodu.net
04c16882
focus windows on all desktops too
Dana Jansens danakj@orodu.net
a0389d0c
dont fux up the _dx and _dy for resizing
Dana Jansens danakj@orodu.net
61095002
don't move the client if it isnt going anywhere
Dana Jansens danakj@orodu.net
5de35ba1
update the strut when a client is unmanaged
Dana Jansens danakj@orodu.net
c0446bba
rm debug prints
Dana Jansens danakj@orodu.net
f7a0eb76
grab the keyboard during move/resize to make sure the popup doesnt get left onscreen if the modifiers are released before the button
Dana Jansens danakj@orodu.net
3409b046
add motion.py, which provides funtions for moving/resizing a window interactively
Dana Jansens danakj@orodu.net
bb6ac36d
working popups for moving/resizing
Dana Jansens danakj@orodu.net
225d4302
popups for moving and resizing
Dana Jansens danakj@orodu.net
38345bf3
make parents dirty when a widget resizes
save the fixed_width/fixed_height when doing an internalResize
Dana Jansens danakj@orodu.net
3b398048
add a Release MouseAction for python hooks
Dana Jansens danakj@orodu.net
c2c21e95
blef
Dana Jansens danakj@orodu.net
496c185f
dont shade without a titlebar.
more correct configurenotifies
Dana Jansens danakj@orodu.net
1c61a333
add debug print
Dana Jansens danakj@orodu.net
705d70b0
remove debug print
Dana Jansens danakj@orodu.net
f4c91c54
missing a )
Dana Jansens danakj@orodu.net
a692d5c4
check if the client wants focus before adding to list
Dana Jansens danakj@orodu.net
ef0e907e
add windows on all-desktops to the cycle list
Dana Jansens danakj@orodu.net
88662942
FIERON default
Dana Jansens danakj@orodu.net
b2896c3e
Change the order of the color components in a pixel32 on big endian
Derek Foreman manmower@gmail.com
6ab3dc5c
smaller font
Dana Jansens danakj@orodu.net
edcd9726
add merry's style as an option
Dana Jansens danakj@orodu.net
03faa497
finally set up handle right based on max/min sizes
Dana Jansens danakj@orodu.net
6cf79c8f
make a .py rule
Dana Jansens danakj@orodu.net
6584ed21
make .py rule
Dana Jansens danakj@orodu.net
a7ccc544
dont show a handle if it cant be resized at all
Dana Jansens danakj@orodu.net
34ed8c17
dont show a handle if it cant be resized
Dana Jansens danakj@orodu.net
81144d93
check for endian order
Dana Jansens danakj@orodu.net
359218b6
fix compiling bug
Dana Jansens danakj@orodu.net
98f05a5c
let the user remove client decorations.
Dana Jansens danakj@orodu.net
6236b523
update the list of src files with translations.
Dana Jansens danakj@orodu.net
44d653e3
make struts get added to the screen when mapping a window. let the user disable window decorations.
Dana Jansens danakj@orodu.net
5f89f11d
include shit in the dist
Dana Jansens danakj@orodu.net
1677fe84
include the openbox.1.in in the dist
Dana Jansens danakj@orodu.net
ee356f42
remove LICENSE from the dist files
Dana Jansens danakj@orodu.net
7f6dfe5c
dont install buttons we dont use
Dana Jansens danakj@orodu.net
3e889e72
adjust default click-focus model a bit
Dana Jansens danakj@orodu.net
88c4eecd
make the echo more noticable
Dana Jansens danakj@orodu.net
9f39dc13
make pwd work
Dana Jansens danakj@orodu.net
88a82090
echo a message about where to find the generated docs
Dana Jansens danakj@orodu.net
2e08c6ce
describe -sync better
Dana Jansens danakj@orodu.net
aef05c77
add the doxygen configuration
Dana Jansens danakj@orodu.net
6c5c7fd0
don't manage override_redirect windows.
don't manage windows for whome get attributes fails.
validate the client before managing it.
Dana Jansens danakj@orodu.net
39c6969d
allow for the client to be validated.
don't manage override_redirect windows.
don't manage windows for whome get attributes fails.
validate the client before managing it.
validate the client in functions that query stuff off it: propertyHandler and clientMessageHandler
Dana Jansens danakj@orodu.net
58dc93ab
make default focus model click-focus.
make middle-click focus the window
Dana Jansens danakj@orodu.net
1862fd05
ignore errors when proxying configurerequests
Dana Jansens danakj@orodu.net
0c05f5d9
allow for ignoring x errors.
Dana Jansens danakj@orodu.net
0f2bcee0
allow for ignoring x errors.
make grab() sunc immediately and ungrab() flush
Dana Jansens danakj@orodu.net
c5b2de2e
link the test apps properly
Dana Jansens danakj@orodu.net
aaaf22be
give the debian pkg names
Dana Jansens danakj@orodu.net
a20c78f7
add comment
Dana Jansens danakj@orodu.net
85706d99
grab the pointer when grabbing the keyboard to discard pointer events
Dana Jansens danakj@orodu.net
e767dd79
only ignore NotifyGrab again
Dana Jansens danakj@orodu.net
668b2866
comment unused variable
Dana Jansens danakj@orodu.net
a8a5b519
rm debug print
Dana Jansens danakj@orodu.net
01a76071
sync after sending focus
Dana Jansens danakj@orodu.net
530da070
ignore more focus events, and also crossing events from grabs
Dana Jansens danakj@orodu.net
02683653
destroy the list before ungrabbing
Dana Jansens danakj@orodu.net
3ec33ffb
handle weird cases where theres no more focused windows left gracefully (switching desktops)
Dana Jansens danakj@orodu.net
2a36b90e
add docs
Dana Jansens danakj@orodu.net
5559780c
add comments at the top for the functions
Dana Jansens danakj@orodu.net
98a13160
stacked_cycle_popup_list done
Dana Jansens danakj@orodu.net
289e5e74
fix bug in python when rming window while cycling
Dana Jansens danakj@orodu.net
3fa43baf
titlebar focus in the background of the popuplist
Dana Jansens danakj@orodu.net
5e24320b
add margins, and limit title lengths
Dana Jansens danakj@orodu.net
ff0f2bd3
focus cycling list
Dana Jansens danakj@orodu.net
d3baca52
move the font up in the file so its generated before renderstyle
Dana Jansens danakj@orodu.net
2a195d71
include gettext.h from ../src
Dana Jansens danakj@orodu.net
674f2609
include gettext from ../src
Dana Jansens danakj@orodu.net
395a0af9
add version for automake
Dana Jansens danakj@orodu.net
619864a1
a little reordering.. useless really
Dana Jansens danakj@orodu.net
5de751b1
setStyle in the constructor
Dana Jansens danakj@orodu.net
3f784100
support the aspect ratio hints in the WMNormalHints
Dana Jansens danakj@orodu.net
25b85266
font use the same ifdefs as label.hh
Dana Jansens danakj@orodu.net
1eb12ca4
adjust chicldren relative to self, not root
Dana Jansens danakj@orodu.net
99999226
setStyle in the constructor of each child widget
Dana Jansens danakj@orodu.net
f55419c1
rm an old stdio include
Dana Jansens danakj@orodu.net
dd275c8a
describe -DSWIG_GLOBAL
Dana Jansens danakj@orodu.net
8c5e8ab9
otk should not be including anything in src/
Dana Jansens danakj@orodu.net
d600bf8d
openbox scripting works again! config too!
Dana Jansens danakj@orodu.net
340c4c95
add new shit
Dana Jansens danakj@orodu.net
49394f1e
use a built-in module to replace libswigpy
Dana Jansens danakj@orodu.net
5face4c6
use otk objects in the ob scripts by importing otk
Dana Jansens danakj@orodu.net
5168a8ad
new scripts for new script structure
Dana Jansens danakj@orodu.net
be18a7c3
add alt-tab to the default bindings
Dana Jansens danakj@orodu.net
997f94cf
new/better/cleaner scripting interface
Dana Jansens danakj@orodu.net
02d63621
change include path to not include otk/
Dana Jansens danakj@orodu.net
5807ca8d
add path to include
Dana Jansens danakj@orodu.net
b760c466
remove these at last
Dana Jansens danakj@orodu.net
edcbed44
Added diagonal and crossdiagonal gradients
Derek Foreman manmower@gmail.com
3682df8e
include widgetbase not widget
Dana Jansens danakj@orodu.net
d69061e2
add some design ideas for a glue layer between the wm and the scripts
Dana Jansens danakj@orodu.net
084d6f4e
some intermediate stage. stacked focus cycling is very broken. dont try it. going to have to change how the python stuff works i think!
Dana Jansens danakj@orodu.net
91c7e5c3
allow python to grab the keyboard. have release events go to the grabs callback. remove the modifier from teh state when a modifier key is the one being released
Dana Jansens danakj@orodu.net
73a776ee
add all teh steps
Dana Jansens danakj@orodu.net
127c3cf9
add instructions for CVS compiling
Dana Jansens danakj@orodu.net
3a5d404a
wrapper changes
Dana Jansens danakj@orodu.net
747c089a
dont focus on A-Left
Dana Jansens danakj@orodu.net
f9249a35
put back the font
Dana Jansens danakj@orodu.net
02e81075
fix a comment
Dana Jansens danakj@orodu.net
80a42d2b
bold non-shadowed font
Dana Jansens danakj@orodu.net
9da1f717
smaller, non-bold font
Dana Jansens danakj@orodu.net
3e21214a
don't make dock type windows auto-omni-present.
add some debug prints
Dana Jansens danakj@orodu.net
f7f5f3d0
add printf for when a window requests its desktop
Dana Jansens danakj@orodu.net
ab2968b3
add an UrgentNotify callback type. fire it when a window becomes "urgent"
Dana Jansens danakj@orodu.net
39f19f42
watch for multiple map requests on the same window. ignore after the first.
Dana Jansens danakj@orodu.net
406c79ae
out with the blackbox source
Dana Jansens danakj@orodu.net
f1951eaa
rm all the bb shit
Dana Jansens danakj@orodu.net
f2e005f4
remove the old blackbox bullshit
Dana Jansens danakj@orodu.net
104c1a16
wrap around right for focus cycling
Dana Jansens danakj@orodu.net
d4e4e25e
Added color reduction for 16bpp displays
Derek Foreman manmower@gmail.com
47fb66e5
blef
Dana Jansens danakj@orodu.net
ff98438a
keep a list of clients in the order that they have been focused
Dana Jansens danakj@orodu.net
f4b87e04
be smart about skipping focusing a window from unmap events, watch the unmap_ignore
Dana Jansens danakj@orodu.net
38396b8a
remove client_buttons
Dana Jansens danakj@orodu.net
b6defb3c
cleanups for how we display iconic state in the hints, and choose it in the mapping process. make things work with gnome-panel's restore-to-native/current-workspace
Dana Jansens danakj@orodu.net
bb303c74
use the proper screen area, which excludes area taken up by struts
Dana Jansens danakj@orodu.net
8b4004ac
make docks and desktops always on all desktops
Dana Jansens danakj@orodu.net
ea902741
put this back mostly.
Dana Jansens danakj@orodu.net
a9e39af4
make A-1 mouse focus
Dana Jansens danakj@orodu.net
64fd3c34
those adds werent a mistake.. :P
Dana Jansens danakj@orodu.net
709c747a
add iconifying!!!!
also cleanup the map process a bit, the close action wasn't being set in the allowed actions.
Dana Jansens danakj@orodu.net
9583bb6c
add comment, and reformat
Dana Jansens danakj@orodu.net
8d4fe416
maprequests do not come here once the window is managed any more. they go to the plate. make events on the plate go to the client for handling, and dont bother looking for clients in the maprequesthandler anymore
Dana Jansens danakj@orodu.net
4c5671ee
remove unused old handlers
Dana Jansens danakj@orodu.net
73026adf
put back the background
Dana Jansens danakj@orodu.net
18ab2453
cycling by any number of windows
Dana Jansens danakj@orodu.net
707f7068
linear focus cycling
Dana Jansens danakj@orodu.net
9a64438a
set the root window, to a color for now
Dana Jansens danakj@orodu.net
bf3a40ad
fixed incredibly embarassing cut'n'paste error in highlight
Derek Foreman manmower@gmail.com
b45a68cc
Fixed corners of bevels
Derek Foreman manmower@gmail.com
312db4ca
Added bevels
Derek Foreman manmower@gmail.com
28b8f675
remove the word "sticky" from everywhere, and replace with "all desktops". change the titlebar layout to use D instead of S for the all-desktops button
Dana Jansens danakj@orodu.net
7b7ae097
make the 'toggle all desktops' button work
Dana Jansens danakj@orodu.net
7b9d92b2
add decor_sticky to the default decorations list
Dana Jansens danakj@orodu.net
2c977ae7
remove the border on the handle
Dana Jansens danakj@orodu.net
ff3bb756
remove debug printfs
Dana Jansens danakj@orodu.net
b5963e0e
added borders to gradient backgrounds
Derek Foreman manmower@gmail.com
4dcb3093
remove debug printf
Dana Jansens danakj@orodu.net
bb5a07b3
check if the window exists before trying to focus it
Dana Jansens danakj@orodu.net
6266b9e0
use the fieron bitmap mask style
Dana Jansens danakj@orodu.net
741c68bb
include algorthm forstd::find
Dana Jansens danakj@orodu.net
bf24a3b7
dont use a const_iterator
Dana Jansens danakj@orodu.net
7048f64f
dont use a const_iterator
Dana Jansens danakj@orodu.net
f9818bff
add stdio.h
Dana Jansens danakj@orodu.net
c4427cc1
give access to _timeout for shitty compilers in TimerCompare
Dana Jansens danakj@orodu.net
8152d453
add stdio.h
Dana Jansens danakj@orodu.net
b99508df
bitmap masks return!
Dana Jansens danakj@orodu.net
e64d90be
new render system in effect. now ot make it look right
Dana Jansens danakj@orodu.net
46441f7d
starts.. then exits.
Dana Jansens danakj@orodu.net
dd6f9068
compiles with the new render subsystem...
Dana Jansens danakj@orodu.net
17d63184
 hardcode some bitmap masks
Dana Jansens danakj@orodu.net
11f59d79
render code fixes
Dana Jansens danakj@orodu.net
42fbe726
add the pixel to the cache
Dana Jansens danakj@orodu.net
1b5d52c7
save/load the pixel in the cache
Dana Jansens danakj@orodu.net
3fe7bded
increment the count 1 right off the start for the cache
Dana Jansens danakj@orodu.net
77882b46
break when no more widgets showing
Dana Jansens danakj@orodu.net
70e2ab80
show recursive.. recursively
Dana Jansens danakj@orodu.net
033e9843
otk using new render shit.. supposedly
Dana Jansens danakj@orodu.net
75e8fc27
hardcoded renderstyle
Dana Jansens danakj@orodu.net
c487295c
part of a hardcoded style done
Dana Jansens danakj@orodu.net
c8702ceb
REMOVE -fno-rtti. we use that!
Dana Jansens danakj@orodu.net
031da4f1
-fno-rtti as in cxxflags too!
Dana Jansens danakj@orodu.net
31c20197
added "pixel32" typedef for 32bit rgb data
added a single gradient texture type (vertical)
Derek Foreman manmower@gmail.com
e6c12f8f
Added a secondary color for gradients
Derek Foreman manmower@gmail.com
fabb6e8c
testing a gradient texture now
Derek Foreman manmower@gmail.com
9280f1b6
fix the stupid spelling
Dana Jansens danakj@orodu.net
ac48993e
add -fno-check-new -fno-execptions to the g++ cxxflags
Dana Jansens danakj@orodu.net
25f01511
drawSolidBackground seems to work :)
Dana Jansens danakj@orodu.net
68a6fce5
dont try free the widget's pixmap until it is no longer in use
Dana Jansens danakj@orodu.net
24e20d5e
add most of our style elements
Dana Jansens danakj@orodu.net
f329167e
specify projecting cap style
Dana Jansens danakj@orodu.net
25a5b729
add textures, render the textures color for now too!
Dana Jansens danakj@orodu.net
0348a2f3
add rendercolor class, with a cache of gcs for the colors
Dana Jansens danakj@orodu.net
cfd8f9a6
XClearArea on expose in widget
Dana Jansens danakj@orodu.net
d8d9b427
widegt using new render system
Dana Jansens danakj@orodu.net
0ba441fe
remove the XImage from Surface
Dana Jansens danakj@orodu.net
41e1810c
new authors. this is how we dooo iiiit...
Dana Jansens danakj@orodu.net
d953cfe7
use arrays instead of vectors for the screeninfos and rendercontrols.
Dana Jansens danakj@orodu.net
6871cff3
reorder how theyre destroyed, probably doesnt matter anyways.
Dana Jansens danakj@orodu.net
9b6e5f9c
provide RenderControls to all otk from the display class. initialize them all there. try use bitshifts instead of color tables in the TrueRenderControl class for finding correct rgbs. Move the image/pixmap/xftdraw into the surface class, and it maintains them, recreating them when it resizes.
Dana Jansens danakj@orodu.net
a4dd208a
use a bitshift on the rgb values instead of a color table
Dana Jansens danakj@orodu.net
e2607f61
add DESIGN from the openbox3 repository. add to that the render.dia, a design diagram for the new render code
Dana Jansens danakj@orodu.net
f8edbc90
add new shit
Dana Jansens danakj@orodu.net
23940f9e
add a new texture and style class
Dana Jansens danakj@orodu.net
02066c5d
starting to make render's interface
Dana Jansens danakj@orodu.net
e3eeac5b
colors are back
Dana Jansens danakj@orodu.net
9f705c02
*** empty log message ***
Dana Jansens danakj@orodu.net
2005c344
surface started
Dana Jansens danakj@orodu.net
4ac47a41
renders!!!!!!!!!!!!!
Dana Jansens danakj@orodu.net
3fa13524
blef
Dana Jansens danakj@orodu.net
e6d6a1b6
change the render() interface
Dana Jansens danakj@orodu.net
056c5b43
set the background pixmap
Dana Jansens danakj@orodu.net
5b52a8f5
blef
Dana Jansens danakj@orodu.net
1a5fb96b
.cvsignore is a cvs meta file that tells cvs not to include specific files
in its diffs, commits, or updates.  we use this to keep machine generated
files from showing up in diffs.

this commit adds truerendercontrol.lo, a libtool generated file, to the
.cvsignore file.

kthx bye! *^_^*
Derek Foreman manmower@gmail.com
d264dbca
compiles
Dana Jansens danakj@orodu.net
24b33ef8
fuc put it back
Dana Jansens danakj@orodu.net
67bb7f8c
move render()
Dana Jansens danakj@orodu.net
0dcbf985
start of new render code
Dana Jansens danakj@orodu.net
29f331b6
use otk::Property properly, and the right atoms
Dana Jansens danakj@orodu.net
9166d90f
include all the required libs
Dana Jansens danakj@orodu.net
00bc9937
correct a comment
Dana Jansens danakj@orodu.net
f94dc995
state the license. killall the old readme data
Dana Jansens danakj@orodu.net
d9d2e7a5
Some cleanups in the mapping procedure. Apply requested states during the process.
Add new function types for new netwm supported actions, i.e. Func_Shade and Func_Fullscreen.
Add support for the _NET_WM_FULLSCREEN state.
Dana Jansens danakj@orodu.net
08a28187
add new actions from the ewmh spec
Dana Jansens danakj@orodu.net
105e3524
add internal_move/resize and wrap them with move() and resize() which are for user use, and make sure that the window is allowed to be moved/resized.
add the allowed actions hint setting.
Dana Jansens danakj@orodu.net
8be45414
add frame.. wrapper changes.
Dana Jansens danakj@orodu.net
a1e6634a
do good math
Dana Jansens danakj@orodu.net
884ec58c
use frame.size()
Dana Jansens danakj@orodu.net
a767993e
add frame.hh to openbox.i's deps
Dana Jansens danakj@orodu.net
9e8f89b6
provide the strut for the frame's size instead of an area rect
Dana Jansens danakj@orodu.net
940247c3
make window placement not go off screen at all
Dana Jansens danakj@orodu.net
5cc40ecc
call the place routine after the window is grabbed
Dana Jansens danakj@orodu.net
48741b97
call the place window routine after the frame is created
Dana Jansens danakj@orodu.net
6f058162
add the Frame class
Dana Jansens danakj@orodu.net
d911b4b1
use the frame's area
Dana Jansens danakj@orodu.net
baaaed3d
add a drag threshold
Dana Jansens danakj@orodu.net
a38a8f0b
add drag_threshold
Dana Jansens danakj@orodu.net
6188650c
rm my lucid experiment
Dana Jansens danakj@orodu.net
58ff3f35
add commented code for future maybe
Dana Jansens danakj@orodu.net
f29a2e9b
add comment for bugfix
Dana Jansens danakj@orodu.net
6bcfd5d2
don't use XMoveResize, it doesn't work for StaticGravity windows?
Dana Jansens danakj@orodu.net
6a73cff1
get all the normal hints when mapping again, oops.
Dana Jansens danakj@orodu.net
2b089723
centered gravities lose one borderwidth when mapping too
Dana Jansens danakj@orodu.net
619ad666
add {}'s
Dana Jansens danakj@orodu.net
53001eeb
add whitespace
Dana Jansens danakj@orodu.net
b8ae2f39
try use the gravity in the WM_NORMAL hint, and fall back to the attribute
Dana Jansens danakj@orodu.net
4c2f4e75
add a getGravity function to get the gravity from the window attributes initially
Dana Jansens danakj@orodu.net
d17b86a4
s/SIGCLD/SIGCHLD/ that was Sysv4 shit
Dana Jansens danakj@orodu.net
f14d74a3
test for borders on static grav windows
Dana Jansens danakj@orodu.net
44358dfb
reap child processes when they die
Dana Jansens danakj@orodu.net
af1ac846
new raise/lower window code. only restacks 2 windows (1 move) at a time, ever. ManMower, u rulz.
Dana Jansens danakj@orodu.net
3a83fe7e
exec a requested new process via /bin/sh to allow for command line args, the same way otk::bexec does it.
Dana Jansens danakj@orodu.net
035f7d3f
use -export-dynamic when linking libpython.a
Dana Jansens danakj@orodu.net
50863470
add a todo comment
Dana Jansens danakj@orodu.net
c7e157e5
use otk::Property to get the atom values
Dana Jansens danakj@orodu.net
d8aff44a
redo otk::Property. make it static.
Dana Jansens danakj@orodu.net
8b0daa91
rm old bb shit that we dont use
Dana Jansens danakj@orodu.net
a7207b7d
make an optional bool param for ustring's other constructors
Dana Jansens danakj@orodu.net
0f7e3be6
make an optional bool param for ustring's default constructor
Dana Jansens danakj@orodu.net
a8e98570
dont allow resizing < 1 (based on increments)
Dana Jansens danakj@orodu.net
8eed9d64
stacking list on root is bottom to top
Dana Jansens danakj@orodu.net
3e829595
extern "C" the C headers
Dana Jansens danakj@orodu.net
e44d7697
add headers for select()
Dana Jansens danakj@orodu.net
d9a5620f
use the better defines for the xft version
Dana Jansens danakj@orodu.net
2a18a4b2
add comment
Dana Jansens danakj@orodu.net
21b5c602
check for XftGetVersion
Dana Jansens danakj@orodu.net
b2672614
just return if a valid widget isnt found, racey to assert
Dana Jansens danakj@orodu.net
219e18e7
display the build version as well as the runtime version of Xft
Dana Jansens danakj@orodu.net
231f4dad
no long used with our Timer-ng!
Dana Jansens danakj@orodu.net
a388c41d
dont need unistd for gettimeofday
Dana Jansens danakj@orodu.net
96a9196c
otk::Timer-ng!! thanks ManMower for this shizznit!
Dana Jansens danakj@orodu.net
0afb4316
rm the util directory
Dana Jansens danakj@orodu.net
b683a4e0
fix indenting
Dana Jansens danakj@orodu.net
7f2ee772
use the byte size for utf strings, not the character size
Dana Jansens danakj@orodu.net
ffb237bf
use the new global display var
Dana Jansens danakj@orodu.net
63a74632
add the global display variable
Dana Jansens danakj@orodu.net
3d012bcb
move the utf8_skip table into the .cc
Dana Jansens danakj@orodu.net
23686632
fix some bugs where looked up wrong offsets for characters in the utf8_skip table, move the table into the .cc
Dana Jansens danakj@orodu.net
784b879a
set the global 'display' var to the otk::Display in use
Dana Jansens danakj@orodu.net
b989ec13
set the ustring's utf type so that it matches what it appended to it
Dana Jansens danakj@orodu.net
4c71c71d
set the global display var
Dana Jansens danakj@orodu.net
cdcc526a
use the new non-static display
Dana Jansens danakj@orodu.net
c34f2a52
add ustring.i which wraps otk::ustring for to/from python conversions
Dana Jansens danakj@orodu.net
c97915f4
un-static otk::Display. add an operator* to it. make a global ob::display var.
Dana Jansens danakj@orodu.net
9e77a88d
move the Openbox::instance pointer to simply "openbox".
Dana Jansens danakj@orodu.net
4dba6998
dont use append, dont need to extend ustring!
Dana Jansens danakj@orodu.net
55f13818
ustring seems to be working! yay!
Dana Jansens danakj@orodu.net
ef02a0c8
almost done the ustring conversion
Dana Jansens danakj@orodu.net
5a90d2b6
otk using ustring for shit that draws. expended its inferface yet some more.
Dana Jansens danakj@orodu.net
4947902d
more conversion to ustring. added more members
Dana Jansens danakj@orodu.net
2aff07a2
show a warning if we fail to set the locale
Dana Jansens danakj@orodu.net
2594b98c
rm old comment
Dana Jansens danakj@orodu.net
7c9ba37f
keep the asserts for !debug builds..
Dana Jansens danakj@orodu.net
7fc226b6
proper code style
Dana Jansens danakj@orodu.net
120ed7a6
setup the locale on the X server on start
Dana Jansens danakj@orodu.net
8b73f6f0
begin conversion to ustring. add some more members.
Dana Jansens danakj@orodu.net
ecfac5f2
add more doxygen
Dana Jansens danakj@orodu.net
b5a05bc1
more shit
Dana Jansens danakj@orodu.net
711e499c
start on otk::ustring (unicode/utf8)
Dana Jansens danakj@orodu.net
bc99e6a4
remove userstring
Dana Jansens danakj@orodu.net
703ef4df
check for shutdown before waiting for timers
Dana Jansens danakj@orodu.net
2627b852
typo.. just PACKAGE
Dana Jansens danakj@orodu.net
88dbe7c2
use the UTF-8 codeset
Dana Jansens danakj@orodu.net
7a453b46
omg im relicensing this shit as gpl. nobody hurt me.
Dana Jansens danakj@orodu.net
f6be8c1e
s/atom_hh/property_hh
Dana Jansens danakj@orodu.net
805a5ddd
default to drawing as utf8
Dana Jansens danakj@orodu.net
a4d4aaec
default to 1 desktop if its not read from the configs
Dana Jansens danakj@orodu.net
eb752bc9
put userstring in otk::
Dana Jansens danakj@orodu.net
74061b4e
use "userstring" for all user viewable strings
Dana Jansens danakj@orodu.net
c03068ee
dispatch events before waiting for timers on startup
Dana Jansens danakj@orodu.net
bd39de60
use PyInt for vars not PyLong
Dana Jansens danakj@orodu.net
1b59ea59
dont show find errors
Dana Jansens danakj@orodu.net
de070682
add number_of_desktops
Dana Jansens danakj@orodu.net
bfa46e06
dont assert when given an out-of-range desktop
Dana Jansens danakj@orodu.net
718be4c9
add 'userstring', a std::string with a flag for UTF-8
Dana Jansens danakj@orodu.net
7bfe234d
clean up childrens' transient_for refs
Dana Jansens danakj@orodu.net
870f6cca
ignore focus changes from grabs always.
Dana Jansens danakj@orodu.net
fffcc1ee
Middle lowers
Dana Jansens danakj@orodu.net
157f6d5c
s/OB//
Dana Jansens danakj@orodu.net
87688e39
use new alias for mbuttons
Dana Jansens danakj@orodu.net
fc7ec94f
use new aliaes' for mbuttons
Dana Jansens danakj@orodu.net
2a6c730f
add aliases for mouse buttons
Dana Jansens danakj@orodu.net
cc86c196
dont need 2 of these comments
Dana Jansens danakj@orodu.net
77ab46d1
removing all prefixes completed
Dana Jansens danakj@orodu.net
f1b9e216
workaround for swig problem
Dana Jansens danakj@orodu.net
23c11a15
old bb shitz
Dana Jansens danakj@orodu.net
8f8acc24
rm prefixes for all elements in the otk namepsace
Dana Jansens danakj@orodu.net
684405ee
add \n's to errors
Dana Jansens danakj@orodu.net
261034b3
wrapper updates
Dana Jansens danakj@orodu.net
dc2f9ddc
set masks proprly
Dana Jansens danakj@orodu.net
7d3b12d9
set masks properly
Dana Jansens danakj@orodu.net
e8f5cf29
valgrind fixes, and fixes for writing shit all over the environment. yay~!!!!!!!
Dana Jansens danakj@orodu.net
bc88d310
fix \'s
Dana Jansens danakj@orodu.net
e2bf5433
add fieron2
Dana Jansens danakj@orodu.net
bd771e19
add masks
Dana Jansens danakj@orodu.net
ac06b3c5
rm debug prints
Dana Jansens danakj@orodu.net
c637f1ff
rm debug shit
Dana Jansens danakj@orodu.net
19bfac51
broken to all hell. oh no.
Dana Jansens danakj@orodu.net
1c70394c
rm a blank line at the end
Dana Jansens danakj@orodu.net
fd5369cd
only send configu notify if the window is mapped (has a frame)
Dana Jansens danakj@orodu.net
08dc1566
add some more AC stuff
Dana Jansens danakj@orodu.net
259f0283
used old vars
Dana Jansens danakj@orodu.net
6741d057
caps
Dana Jansens danakj@orodu.net
182cfb21
caps for giving the build target. show it at the end
Dana Jansens danakj@orodu.net
3f3f8a17
better ordering.. define te version before using it
Dana Jansens danakj@orodu.net
8c085754
check for cvs in the version properly
Dana Jansens danakj@orodu.net
1729df46
make compiling 'work' with XINERAMA. it doesnt do anything tho
Dana Jansens danakj@orodu.net
1a7d9771
no caps in the package name!
Dana Jansens danakj@orodu.net
0f16855a
cvs builds are always debug
Dana Jansens danakj@orodu.net
34615153
use the right lib
Dana Jansens danakj@orodu.net
02601c28
my newer better autoconf functions. woowoo
Dana Jansens danakj@orodu.net
54e4a15d
adding my autoconf functions. woowoo
Dana Jansens danakj@orodu.net
51ff1497
new autoconf shit woowoo
Dana Jansens danakj@orodu.net
af8b457f
send configure notify when moving a window
Dana Jansens danakj@orodu.net
76b795e9
add X_DEVEL and XFT_DEVEL m4 functions
Dana Jansens danakj@orodu.net
be56b6d1
create OB_DEBUG and OB_COMPILER_FLAGS m4 functionc
Dana Jansens danakj@orodu.net
7b20aad5
check for the python cflags and libs
Dana Jansens danakj@orodu.net
17ca0f50
bind the exec properly
Dana Jansens danakj@orodu.net
6f500e23
add an optional parameter to restart
Dana Jansens danakj@orodu.net
bcd808d0
add the BUTTONSDIR define
Dana Jansens danakj@orodu.net
d12e655d
load a global defaults.py if the user.py isnt loaded
Dana Jansens danakj@orodu.net
8d52c2b1
change the default style to fieron2
Dana Jansens danakj@orodu.net
6c4711cb
load buttons from the global dir if they arent found in the user dir
Dana Jansens danakj@orodu.net
151b6d41
rm shit that didnt belong
Dana Jansens danakj@orodu.net
cfead96b
some default bindings for if no user.py exists
Dana Jansens danakj@orodu.net
5c752e66
add defaults.py
Dana Jansens danakj@orodu.net
63c794a6
get the xft version from the library instead of from the headers
Dana Jansens danakj@orodu.net
3dde884d
dont bother making a copy of the event to change its type
Dana Jansens danakj@orodu.net
a0333b52
when i get a button press on the client window, i have to manufacture the release, because i never will get one from the x server
Dana Jansens danakj@orodu.net
7a95b5a9
don't grab for motion/releases on the client window, i don't get them anyways.
Dana Jansens danakj@orodu.net
15a7384d
add to comment
Dana Jansens danakj@orodu.net
6e41cef9
reword comment a bit
Dana Jansens danakj@orodu.net
0b12453c
updated wrappers
Dana Jansens danakj@orodu.net
1baea880
dont use a global var
Dana Jansens danakj@orodu.net
05039de1
add setup_fallback_focus() to handle focus when nothing is left focused
Dana Jansens danakj@orodu.net
52e881dc
add the random window placement algo
Dana Jansens danakj@orodu.net
fa34e01d
add a few functions for setting up default mouse behaviors
Dana Jansens danakj@orodu.net
007e17d3
dont define the 'display' global
Dana Jansens danakj@orodu.net
558b55b0
add OBDisplay_display()
Dana Jansens danakj@orodu.net
69f38b9f
undefine the scriptdir, thats not where otk.py will be going
Dana Jansens danakj@orodu.net
ec6951c2
dont build the otk wrappers for now
Dana Jansens danakj@orodu.net
d0c61ebf
dont need the otk initializer
Dana Jansens danakj@orodu.net
26d95a52
dont install otk.py for now
Dana Jansens danakj@orodu.net
88b7de4a
the openbox module has to include shit from otk that it uses, swigs shit doesnt work across modules in the shadow wrappers
Dana Jansens danakj@orodu.net
623de3b0
rm printf
Dana Jansens danakj@orodu.net
6d6082dc
add some comments to the procedure
Dana Jansens danakj@orodu.net
678bb521
stop including otk in the openbox module. makes the wm hooger for no good cause. simply import all the otk shit. add otk.hh
Dana Jansens danakj@orodu.net
a6f1d6b8
add a header for including everything for otk
Dana Jansens danakj@orodu.net
c8e246f8
include the all otk stuff into the openbox python module. rename widget.hh to stop conflicting with the one in otk/
Dana Jansens danakj@orodu.net
e0878c9f
typosnsuch
Dana Jansens danakj@orodu.net
915b171b
install the shadow wrappers
Dana Jansens danakj@orodu.net
385de86d
add the shadow class wrappers
Dana Jansens danakj@orodu.net
b67f5e70
new python interface! using the .py shadow wrappers from swig
Dana Jansens danakj@orodu.net
0d008279
include point and rect from otk so that they can have objects returned instead of strings
Dana Jansens danakj@orodu.net
345d957e
new python callbacks data, infrastructure. going to rework bindings code. cvs wont work for shit now. but thats life.
Dana Jansens danakj@orodu.net
b1739374
change what re-maprequest events do, just convert them to net_active_window messages. make net_active_window unshade/iconify
Dana Jansens danakj@orodu.net
e2274e0f
s/False/false
Dana Jansens danakj@orodu.net
3814c4fb
use default prefix.
better python library checks.
Dana Jansens danakj@orodu.net
4e6e0b8d
wrapper updates
Dana Jansens danakj@orodu.net
9dd52dfc
make close() and shade() private.
Dana Jansens danakj@orodu.net
ae0b364f
pass the right num of shit to the client msg
Dana Jansens danakj@orodu.net
8db3dc33
close windows with netwm messages
Dana Jansens danakj@orodu.net
04416613
use client msg's to toggle shaded
Dana Jansens danakj@orodu.net
cf686612
add state_shaded
rm debug print's
Dana Jansens danakj@orodu.net
cec568b0
state_above/below work now
Dana Jansens danakj@orodu.net
368d9812
add a -single argument which only runs on a single screen
Dana Jansens danakj@orodu.net
dbf58ef2
check for python errors a little better i think..
Dana Jansens danakj@orodu.net
93811226
ignore much fewer focus events. only ignore focusout's from activating a grab
Dana Jansens danakj@orodu.net
b8f89ee3
ignore focus events from grabs
Dana Jansens danakj@orodu.net
d5cff961
rm _focus, its no longer used
Dana Jansens danakj@orodu.net
fade5572
handle focus events SOO much more simply. and it works. fuck yes. at last. i think i can rest.
Dana Jansens danakj@orodu.net
bd748f74
rework focus event handling. does it basically like ob2 did now. and it seems to work too :>
Dana Jansens danakj@orodu.net
3b4d453f
rm old debug printfs
Dana Jansens danakj@orodu.net
9656d1e2
put unmanageWindow back how it used to be. no 'remap' argument
Dana Jansens danakj@orodu.net
34896278
add some comments
clean up the releasing of the client from the frame
Dana Jansens danakj@orodu.net
7e410364
rm old comment
Dana Jansens danakj@orodu.net
6bad7e67
map the window if it was reparented, on release
Dana Jansens danakj@orodu.net
f2fa99b3
make some funcs const, and don't try focus a client if it is not visible
Dana Jansens danakj@orodu.net
889df8a7
clarify an incorrect comment, and make some funcs const
Dana Jansens danakj@orodu.net
ada98dd5
*** empty log message ***
Dana Jansens danakj@orodu.net
2a40cebf
grab the server around key ungrab/grabs to prevent losing keys
Dana Jansens danakj@orodu.net
9bfc9778
make focus work without races.
Dana Jansens danakj@orodu.net
43c0dc42
fix typo
Dana Jansens danakj@orodu.net
bcc9f681
stop compressing enter/leave events.. this might be responsible for the focu sfuckups?
Dana Jansens danakj@orodu.net
0147a61f
move a comment
Dana Jansens danakj@orodu.net
cc36ecf2
don't reparent to root if the client has already reparented since unmapping
Dana Jansens danakj@orodu.net
f11bd1b0
better reparent handling, dont fux with the event stack..
Dana Jansens danakj@orodu.net
2ae5aaca
rm old junk
Dana Jansens danakj@orodu.net
1b13d34c
i think im handling reparent events correctly now, by unmanaging the window and then XMapping the client
Dana Jansens danakj@orodu.net
e5eb783a
ignore the right about of unmap notifies
Dana Jansens danakj@orodu.net
a2de94e9
in synch mode, chew up 100% cpu, cuz we cant select on the display's fd
Dana Jansens danakj@orodu.net
6062fe40
handle unmaps better. all thanks to acroread sending wacky unmap events
Dana Jansens danakj@orodu.net
f1ce4e66
send config req's to the master too
Dana Jansens danakj@orodu.net
19eb1367
abort() on X errors that aren't BadWindow errors
Dana Jansens danakj@orodu.net
13f1f39f
dont move frame if not frame exists while mapping
Dana Jansens danakj@orodu.net
a1329684
don't place the window magically if we're starting (the window was already placed)
Dana Jansens danakj@orodu.net
7990e6fc
add a PlaceWindow event hook type
Dana Jansens danakj@orodu.net
7ca4d1cf
add a check for ShapeBounding shape events
Dana Jansens danakj@orodu.net
6c3aec9e
dont unset focused client if it is still/already set, that causes bugs!
Dana Jansens danakj@orodu.net
dc532b76
change the unmanae ordeer around to have the callbacks fire last
Dana Jansens danakj@orodu.net
eccab56a
fixed condition that could cause 2 windows to look focused, and bad things to occur
Dana Jansens danakj@orodu.net
9d2ba820
sending windows to workspaces works. focus messes up on fast switching
Dana Jansens danakj@orodu.net
4c768d5d
use client messages to switch desktops/move windows between desktops
Dana Jansens danakj@orodu.net
85b0dc80
add comment for findScreen
Dana Jansens danakj@orodu.net
d833fb1e
add python.hh to the openbox.i deps
Dana Jansens danakj@orodu.net
ee0591bf
comment the new desktop functions
Dana Jansens danakj@orodu.net
130a1a2c
add change_desktop
Dana Jansens danakj@orodu.net
26bef30a
add startup and shutdown callback events for each screen
Dana Jansens danakj@orodu.net
66921633
add next/prev desktop, give them the no_wrap optional arg
Dana Jansens danakj@orodu.net
711a7d8c
supply python routines for next/prev workspace
Dana Jansens danakj@orodu.net
d7cc09ce
dont hide windows when switching to the current workspace
Dana Jansens danakj@orodu.net
7175ac2b
windows stay on their desktops
Dana Jansens danakj@orodu.net
f71a1fc7
grab SIGUSR1
Dana Jansens danakj@orodu.net
3d8ffcc2
dont reset focus to the unfocused window!
Dana Jansens danakj@orodu.net
33ddfc76
desktops
Dana Jansens danakj@orodu.net
e9b48d2f
move the shit from OBRootWindow into OBScreen
Dana Jansens danakj@orodu.net
00e2c5aa
keep track of desktops...
Dana Jansens danakj@orodu.net
07d835a0
no need for focusraise anymore
Dana Jansens danakj@orodu.net
40449e19
allow to bind multiple functions to everything
Dana Jansens danakj@orodu.net
1f8b8425
killa a debug printf
Dana Jansens danakj@orodu.net
a460f0bc
add comments for rming masks from the events
Dana Jansens danakj@orodu.net
f3865bb1
ignore num/caps/scroll lock in events
Dana Jansens danakj@orodu.net
dbf077a5
rm debugging comment
Dana Jansens danakj@orodu.net
cc398633
handle maprequests after mapped correctly. thus making gaim happy again
Dana Jansens danakj@orodu.net
043822f6
grab the first known window type
Dana Jansens danakj@orodu.net
1297c7c1
clean up transient's parent's reference in destructor
Dana Jansens danakj@orodu.net
34cd50ec
gets transients! woot. tested and such.. no groups still tho
Dana Jansens danakj@orodu.net
a93f06f5
keep track of transients. however not group transients yet
Dana Jansens danakj@orodu.net
c7b22b4f
transient window support..halfway
Dana Jansens danakj@orodu.net
b9a7f6fb
SIGHIP not SUGHUP
Dana Jansens danakj@orodu.net
eef665c6
only focus new 'normal' windows
Dana Jansens danakj@orodu.net
180cdd0e
dont restart on HUP. badness. restart on USR1.
Dana Jansens danakj@orodu.net
a5df374f
lameass comment from the past
Dana Jansens danakj@orodu.net
cef2672e
restart on HUP
Dana Jansens danakj@orodu.net
d13f021b
add support for wm_window_role
Dana Jansens danakj@orodu.net
69c257fa
add focusraise.
comment functions.
Dana Jansens danakj@orodu.net
bbb403aa
add buttons to the tree.rm stupid comments in Makefile.ams
Dana Jansens danakj@orodu.net
97019b8b
adding buttons for styles
Dana Jansens danakj@orodu.net
6ca5c589
rm the xftlsfonts manpage
Dana Jansens danakj@orodu.net
f816a2ad
line up text in --help
Dana Jansens danakj@orodu.net
fdb4e652
move the approproate code for map request handling to the client class. this will deiconify the window when requested.
Dana Jansens danakj@orodu.net
aef2ab75
if a dock has the 'below' state set, then it goes in the normal window layer
Dana Jansens danakj@orodu.net
9ec2da72
let the user set the above/below stacking layer easily
Dana Jansens danakj@orodu.net
056ff3b5
better focus passing around for now
Dana Jansens danakj@orodu.net
ee1130f8
dont move/resize desktop windows or dock windows
Dana Jansens danakj@orodu.net
7bae7943
support net_wm_strut's! nothing to do with them yet however
Dana Jansens danakj@orodu.net
58cd3958
decor and functions set set right for !normal windows
Dana Jansens danakj@orodu.net
b02c91ca
more ideas in comments
Dana Jansens danakj@orodu.net
a6f5b33a
configure request optimizations
Dana Jansens danakj@orodu.net
8735c12d
shape works again. updating the delete_window protocol update the decor.
Dana Jansens danakj@orodu.net
7ec03b89
move where transient shit will be
Dana Jansens danakj@orodu.net
dd7af241
use the correct size for buttons even when there is no iconify button in use. (oops)
Dana Jansens danakj@orodu.net
83ff31f8
when a window focused that was the last focused already (this happens from grabs), dont unfocus it, just let it be
Dana Jansens danakj@orodu.net
de07cce0
update comment
Dana Jansens danakj@orodu.net
5e5879a5
set the window's state so the hint always exists
Dana Jansens danakj@orodu.net
bf404e09
make the frame window override-redirect
Dana Jansens danakj@orodu.net
e3b50c2d
kill the printf
Dana Jansens danakj@orodu.net
1fd2c6c2
s/True/true/
Dana Jansens danakj@orodu.net
c33ccf60
make the frame window override-redirect
Dana Jansens danakj@orodu.net
abd44571
remove a print
Dana Jansens danakj@orodu.net
951ccd15
Check for XKB extension
Derek Foreman manmower@gmail.com
ed250c3b
basedisplay!! GAH NO FUCK OFF!@!(
Dana Jansens danakj@orodu.net
f1f4cf57
raise when focused with net_active_window message
Dana Jansens danakj@orodu.net
d9e7a7b8
shading works from epist
Dana Jansens danakj@orodu.net
5f34069a
separate off execute, since its not a callback function
Dana Jansens danakj@orodu.net
a84666e9
dont focus desktops and docks via enter events
Dana Jansens danakj@orodu.net
8d5bd298
set desktop names on startup
Dana Jansens danakj@orodu.net
0c96f0fc
add desktop_names
Dana Jansens danakj@orodu.net
1a879a4e
desktopnames is supported already, just desktops arent :>
Dana Jansens danakj@orodu.net
15d3efa6
epist alt-tab works now! i.e. NET_ACTIVE_WINDOW is working
Dana Jansens danakj@orodu.net
867d3d9a
rm consts that wont compile on some libfreetype's
Dana Jansens danakj@orodu.net
06eb14fb
better focusing. support for the take_focus protocol
Dana Jansens danakj@orodu.net
8c4357fc
keep track of the last input event time
Dana Jansens danakj@orodu.net
4dd8520e
set the net support atoms
Dana Jansens danakj@orodu.net
fcb0820d
add support for net_active_window and net_close_window messages
Dana Jansens danakj@orodu.net
126d9fc8
client and stacking list work
Dana Jansens danakj@orodu.net
f5f0a2c2
add some todo shit
Dana Jansens danakj@orodu.net
527697d6
add -shadow
Dana Jansens danakj@orodu.net
0ea5de62
window states persist across restarts
Dana Jansens danakj@orodu.net
7417e2b5
window shading
Dana Jansens danakj@orodu.net
e6ae9e51
no default reset key
Dana Jansens danakj@orodu.net
1455ab9c
print when loaded
Dana Jansens danakj@orodu.net
06388d73
restart works
Dana Jansens danakj@orodu.net
a9a5f0d7
put event bindings in OBBindings too
Dana Jansens danakj@orodu.net
a0350e27
allow "event bindings" via ebind() for new windows/window enter/leave
Dana Jansens danakj@orodu.net
86a2bed6
remove the block on shutdown
Dana Jansens danakj@orodu.net
4a07868e
more old bb shit to go
Dana Jansens danakj@orodu.net
f8ea5764
rm the old bb src
Dana Jansens danakj@orodu.net
660ad41c
s/reset/resetChains/
Dana Jansens danakj@orodu.net
376ce003
rm old bb shit, and the old xeventhandler
Dana Jansens danakj@orodu.net
c89a13d5
binding_s_.hh
Dana Jansens danakj@orodu.net
13f2930d
share code for raising/lowering windows
Dana Jansens danakj@orodu.net
89e6d5c0
add/lower work
Dana Jansens danakj@orodu.net
37c2e0f3
dont print every focus/crossing event
Dana Jansens danakj@orodu.net
105bd729
provide capabilities to execute a command
Dana Jansens danakj@orodu.net
a4a8d09f
titlebar layouts work
Dana Jansens danakj@orodu.net
3a65ca61
run builtins.py
Dana Jansens danakj@orodu.net
31e37b3e
cleanup naming in OBBindings
Dana Jansens danakj@orodu.net
7db3ffec
you can bind buttons already about, and itll replace them
Dana Jansens danakj@orodu.net
16560155
provide these functions for callbacks
Dana Jansens danakj@orodu.net
1965483b
add builtins
Dana Jansens danakj@orodu.net
808f11a6
got rid of premade funcs
Dana Jansens danakj@orodu.net
7071b1f0
add comment
Dana Jansens danakj@orodu.net
1c8090fa
clicks on the client work as they should
Dana Jansens danakj@orodu.net
ca3e4630
moving a window is possible once again
Dana Jansens danakj@orodu.net
b35dae95
new mouse button code is seeming to work. you can move windows
Dana Jansens danakj@orodu.net
579ed5aa
trasitioning for new button event handling
Dana Jansens danakj@orodu.net
4721c538
typo
Dana Jansens danakj@orodu.net
e05d5f79
kill button release events
Dana Jansens danakj@orodu.net
54da8e40
check for valid callback in bind()
Dana Jansens danakj@orodu.net
9823b821
no more gloabsl
Dana Jansens danakj@orodu.net
9ec1f7cd
fire the master first
Dana Jansens danakj@orodu.net
14cf42ff
run scripts before initializing screens. kill the globals.py. add the python_get_stringlist.
Dana Jansens danakj@orodu.net
6d58d84f
add new action types
Dana Jansens danakj@orodu.net
66a26917
new code for bindings/callbacks. much sexier. now passes python classes back to the callbacks, and the storage of the callbacks in the code is much more clear. huzzah.
Dana Jansens danakj@orodu.net
745e8405
load config options from the python environment
Dana Jansens danakj@orodu.net
1161a90a
add click_raise global var
Dana Jansens danakj@orodu.net
098fa0ce
revert def_motion
Dana Jansens danakj@orodu.net
6a80c577
typo
Dana Jansens danakj@orodu.net
30a96266
add comments/headers
Dana Jansens danakj@orodu.net
f7e3eb57
add some globals to modify the default scripting behavior
Dana Jansens danakj@orodu.net
103372b0
create some globals for use in the python scripts
Dana Jansens danakj@orodu.net
a6661d58
bindings work. now they have a reset key too.
Dana Jansens danakj@orodu.net
d7a30f93
so close to keybindings. wont link for now.
Dana Jansens danakj@orodu.net
db1fb534
bindings work again. yay
Dana Jansens danakj@orodu.net
7e9fb9fb
add a comment
Dana Jansens danakj@orodu.net
390d447d
add some const
Dana Jansens danakj@orodu.net
5f8e2b75
more debug output changes
Dana Jansens danakj@orodu.net
40f3dfba
still busted
Dana Jansens danakj@orodu.net
509e6a8f
fucked up shit
Dana Jansens danakj@orodu.net
dabac4f7
i dont get how the fuck the key tree is changing..
Dana Jansens danakj@orodu.net
d4853f10
all broken now. working on adding mouse binding support
Dana Jansens danakj@orodu.net
9bf95672
put anticipated more-often-used modifier names in front
Dana Jansens danakj@orodu.net
4e047f8b
nicer translate()
Dana Jansens danakj@orodu.net
d011a510
way sexier buildtree
Dana Jansens danakj@orodu.net
a826509b
remove some old comments
Dana Jansens danakj@orodu.net
87ed1124
key chains get built properly!
Dana Jansens danakj@orodu.net
3661e55f
print an error for invalid modifier keys
Dana Jansens danakj@orodu.net
6d59c9cc
dont try use invalid modifiers
Dana Jansens danakj@orodu.net
9be4ad12
parses the modifiers
Dana Jansens danakj@orodu.net
1369b32d
use the member var _tree
Dana Jansens danakj@orodu.net
35c3e996
the bindings tree might work now
Dana Jansens danakj@orodu.net
ee14d8a3
Trying to make an iterative assimilate()
Derek Foreman manmower@gmail.com
624a06fd
build fixes for member funcs
Dana Jansens danakj@orodu.net
656f2fbe
make some static functions members of OBBindings
Dana Jansens danakj@orodu.net
78a85881
nicer output
Dana Jansens danakj@orodu.net
349ac3f0
can build trees with modifiers
Dana Jansens danakj@orodu.net
c9ca0e79
lets make it compile at least
Dana Jansens danakj@orodu.net
98c4b4cf
keybindings underway. dont work yet
Dana Jansens danakj@orodu.net
b8653c3a
better comments for the frame and its widgets' adjust() method
Dana Jansens danakj@orodu.net
1e7c9071
add --force for autopoint
Dana Jansens danakj@orodu.net
d222c565
draw only when needed
Dana Jansens danakj@orodu.net
5fdd493d
buttons have their pixmaps!
Dana Jansens danakj@orodu.net
8bae1352
fix braces
Dana Jansens danakj@orodu.net
8c2dfe5d
deal with when nothing has focus anymore
Dana Jansens danakj@orodu.net
30e46517
dont seg on multiple root clicks!
Dana Jansens danakj@orodu.net
65670114
code style fix
Dana Jansens danakj@orodu.net
b2079b56
delete the rects
Dana Jansens danakj@orodu.net
cb718e2a
handle reparent events..hopefully :>
Dana Jansens danakj@orodu.net
c6454160
add an unregister_all for python callbacks
Dana Jansens danakj@orodu.net
2c908c30
add enter/leave
Dana Jansens danakj@orodu.net
3a4f91b5
enter/leave and focus events are working beautifully
Dana Jansens danakj@orodu.net
51f8b875
flush before waiting for timers
Dana Jansens danakj@orodu.net
e9ec2ce0
some focus improvements..
Dana Jansens danakj@orodu.net
8c0fe026
focus works
Dana Jansens danakj@orodu.net
236f6805
fix booge bug that makes widgets not change their background when changing from a texture to a color when a color had been set previously
Dana Jansens danakj@orodu.net
2b2f81b9
support the button pressed resources better
Dana Jansens danakj@orodu.net
5029fc97
add newish stuff
Dana Jansens danakj@orodu.net
e32610e7
better support for gettext
Dana Jansens danakj@orodu.net
150c2862
build fixes for evetdispatcher
Dana Jansens danakj@orodu.net
6935f346
removing generated file
Dana Jansens danakj@orodu.net
4d33c907
add gettextize here
Dana Jansens danakj@orodu.net
895cfc36
readd Makevars
Dana Jansens danakj@orodu.net
52fb0aea
remove shit generated by gettextize
Dana Jansens danakj@orodu.net
9f444b2f
make bootstrap generate this shit
Dana Jansens danakj@orodu.net
2ae2b257
might not compile... ob uses its own widgets now, which subclass only the base otk widget. working on compressing focus events and handling them etc.
Dana Jansens danakj@orodu.net
3c61812e
conflicts with python too :\
Dana Jansens danakj@orodu.net
881fd226
no -pedantic :\ it fucks up on the python headers. sigh.
Dana Jansens danakj@orodu.net
41bdbec9
set CXXFLAGS better
Dana Jansens danakj@orodu.net
0816364a
handle mouse clicks in the python scripts now
Dana Jansens danakj@orodu.net
b34824a4
global python scripts. client motion/resizing is all done via python now
Dana Jansens danakj@orodu.net
b9a2430d
dist up the style data
Dana Jansens danakj@orodu.net
3827c1a7
python with callbacks!
Dana Jansens danakj@orodu.net
f9107b5c
use the -I's in CFLAGS for swig
Dana Jansens danakj@orodu.net
27193f65
define the openbox variable
Dana Jansens danakj@orodu.net
375156c1
*** empty log message ***
Dana Jansens danakj@orodu.net
efc875f5
return a NULL instead of segfaulting when asserts are off
Dana Jansens danakj@orodu.net
bcb8de97
const cast to the python function
Dana Jansens danakj@orodu.net
053bb2d1
rm the old guile stuff. let the user specify the path for the startup script. dont hardcode it to my home dir.
Dana Jansens danakj@orodu.net
70aa4b20
dont try import shit for now it dont work
Dana Jansens danakj@orodu.net
bf49e764
python. no more guile. python.
Dana Jansens danakj@orodu.net
5a139f72
add the swig generated files
Dana Jansens danakj@orodu.net
5869cc29
wrap otk with swig/python
Dana Jansens danakj@orodu.net
2e273ae3
removing old python bullshit
Dana Jansens danakj@orodu.net
fe55bb84
python interface is working!
Dana Jansens danakj@orodu.net
fdd5338f
correctly remove client borders when mapping a window with NW gravity
Dana Jansens danakj@orodu.net
5f78b514
using python and swig for now.
Dana Jansens danakj@orodu.net
3cf5a8b6
remove python from our c++ objects. going to try out swig
Dana Jansens danakj@orodu.net
065c6efa
otktimer works. imagecontrol is underway!
Dana Jansens danakj@orodu.net
4c9bf6c9
so amateur
Dana Jansens danakj@orodu.net
4b443976
move the extern OtkRect_Type to the .h
Dana Jansens danakj@orodu.net
fed74a94
add the OtkRect_Type extern
Dana Jansens danakj@orodu.net
d5a96f6e
add rect
Dana Jansens danakj@orodu.net
2ab939a2
put the *'s in the right place for pointers
Dana Jansens danakj@orodu.net
ca94e7a3
whitespace
Dana Jansens danakj@orodu.net
57fec1ab
typesafety
Dana Jansens danakj@orodu.net
55b2aaf9
add font
Dana Jansens danakj@orodu.net
16e1192e
more typesafety
Dana Jansens danakj@orodu.net
0820c510
make rect a proper pyobject. use "typesafety"
Dana Jansens danakj@orodu.net
9e4d1bba
code reorganize
Dana Jansens danakj@orodu.net
0a4391e5
nicer
Dana Jansens danakj@orodu.net
cca7a676
shit to init the module
Dana Jansens danakj@orodu.net
925048fe
incref the Py_None before returning it
Dana Jansens danakj@orodu.net
2efea6f2
remove the debug shit
Dana Jansens danakj@orodu.net
187e7db9
a color cache to be proud of!
Dana Jansens danakj@orodu.net
59b65db2
it compiles.. does it work?
Dana Jansens danakj@orodu.net
607bf10d
it compiles.. does it worK? HEH
Dana Jansens danakj@orodu.net
79ce1307
color and gccache etc are like, half done
Dana Jansens danakj@orodu.net
8d3d9ae7
add rect
Dana Jansens danakj@orodu.net
e5c5b4bf
add screeninfo
Dana Jansens danakj@orodu.net
7f111a94
rm more annoying shit
Dana Jansens danakj@orodu.net
54524ace
better paths
Dana Jansens danakj@orodu.net
edc47eb5
some experimentin with C and python api. part 1.
Dana Jansens danakj@orodu.net
68194ce9
update to cleaned up otk api
Dana Jansens danakj@orodu.net
06de24ec
more api cleanups
Dana Jansens danakj@orodu.net
723739da
api cleanups
Dana Jansens danakj@orodu.net
711d4a34
more typesafety
Dana Jansens danakj@orodu.net
b12b1cb7
be a little more typesafe
Dana Jansens danakj@orodu.net
82f4efb4
make the root window an obwidget type
Dana Jansens danakj@orodu.net
506b5dbf
segfault no more on root clicks
Dana Jansens danakj@orodu.net
700984bd
python has begun!
Dana Jansens danakj@orodu.net
977ecf1f
link in python not guile
Dana Jansens danakj@orodu.net
caa595a0
check for python. not for guile.
Dana Jansens danakj@orodu.net
9e0ae7ec
resizing works and whatnot
Dana Jansens danakj@orodu.net
38f8155b
can resize now too. compress motion events.
Dana Jansens danakj@orodu.net
732bfd19
you can move windows!
Dana Jansens danakj@orodu.net
f4e2fc32
guileize
Dana Jansens danakj@orodu.net
104ccc57
add stuff i rm'd from cvs
Dana Jansens danakj@orodu.net
83727b8e
oops adding the other OB Widgets
Dana Jansens danakj@orodu.net
77a8e116
can tell where events are coming from!
Dana Jansens danakj@orodu.net
db23fe05
do need display then
Dana Jansens danakj@orodu.net
e25a69cc
dont need to include application here
Dana Jansens danakj@orodu.net
25d1e353
use OB Widgets for everything
Dana Jansens danakj@orodu.net
d49d0104
erm
Dana Jansens danakj@orodu.net
84d777e8
make shit protected
Dana Jansens danakj@orodu.net
62d719d6
dont pass a const
Dana Jansens danakj@orodu.net
e7bb9066
show all children on show()
Dana Jansens danakj@orodu.net
70eb03ad
add an OBBackgroundWidget and use it for setting colors so far.
Dana Jansens danakj@orodu.net
6bf858e4
autogenned
Dana Jansens danakj@orodu.net
9e971aa6
add --copy
Dana Jansens danakj@orodu.net
dd3decc3
fuck you basewidget
Dana Jansens danakj@orodu.net
d691094c
handle config req's in dispatcher properly.
no more basewidget again.
Dana Jansens danakj@orodu.net
699de036
store the delta x/y for a motion sequence
Dana Jansens danakj@orodu.net
52cb7bd1
PROPERLY HANDLE CLIENT BORDERS
PROPERLY HANDLE CLIENT GRAVITY
YES!#%&*#!#!
windows can be moved/resized now (and the frame will play along)!
Dana Jansens danakj@orodu.net
1cfc7657
reverting.. that was lame
Dana Jansens danakj@orodu.net
c187fbdf
move event handling into basewidget again <FLINCH>
add the basewidget class
Dana Jansens danakj@orodu.net
301adc8b
split up widget and basewidget
Dana Jansens danakj@orodu.net
4e0b5fde
some cleanups
make the OBActions instance not static
Dana Jansens danakj@orodu.net
7dc834cc
make setStyle() recursive
Dana Jansens danakj@orodu.net
772ff278
keep a queue of press/releases and the positions, so that the first motion event already has a position to base off of, so it is not lost!!
Dana Jansens danakj@orodu.net
777be62a
change the builtin testing font
Dana Jansens danakj@orodu.net
143d2df0
handle mouse motion too
Dana Jansens danakj@orodu.net
fbc51644
add suport for XMotionEvents
Dana Jansens danakj@orodu.net
a21c0c55
handle keyboard input
Dana Jansens danakj@orodu.net
73f7a0bd
enter/leave actions work!
Dana Jansens danakj@orodu.net
559a0c67
remove temp include
Dana Jansens danakj@orodu.net
90ae66cc
better double click processing
Dana Jansens danakj@orodu.net
0a15728b
simple change in initialization
Dana Jansens danakj@orodu.net
56d7b547
button press/releases WORK
Dana Jansens danakj@orodu.net
925262be
erase from the map more efficiently
Dana Jansens danakj@orodu.net
4f01802c
actions class can sorta handle mouse enter/leave and press/release events
Dana Jansens danakj@orodu.net
23a7f188
add a skeletal OBActions class for user actions
Dana Jansens danakj@orodu.net
24924367
put a header where it belongs
Dana Jansens danakj@orodu.net
fa05dc56
give the grips cursors
Dana Jansens danakj@orodu.net
bdc491cc
map and unmap work great now yay
Dana Jansens danakj@orodu.net
9860b76c
unmap works.. once
Dana Jansens danakj@orodu.net
22bd294c
unregister for events when destroyed
Dana Jansens danakj@orodu.net
1fa445c8
handle configure requests
Dana Jansens danakj@orodu.net
bbdfd8f1
scratch that
Dana Jansens danakj@orodu.net
52b83a9d
handle configurerequests when we cant find a target registered for them
Dana Jansens danakj@orodu.net
829ce05c
reverse the logic. makes more sense i think
Dana Jansens danakj@orodu.net
861c829e
make shape work with the titlebar and handle
Dana Jansens danakj@orodu.net
ee896d9d
no space on teh top or bottom of text..
Dana Jansens danakj@orodu.net
d8de17b5
apply gravity when positioning the frame
Dana Jansens danakj@orodu.net
b8687262
better xft checks. require xft version 2
Dana Jansens danakj@orodu.net
26adc885
label and focuslabel update their textures automatically on a style change
Dana Jansens danakj@orodu.net
f890d31d
make setStyle virtual
Dana Jansens danakj@orodu.net
948feddc
update the textures being used on setStyle() calls
Dana Jansens danakj@orodu.net
bf95658d
show the Xft version nicer
Dana Jansens danakj@orodu.net
0089719c
put an S on the stick button
Dana Jansens danakj@orodu.net
cac2131e
add otk_test
Dana Jansens danakj@orodu.net
646a10bc
labels use half the bevel width for text
Dana Jansens danakj@orodu.net
c6f228f3
xft2 works. and works good.
Dana Jansens danakj@orodu.net
f7750210
decorations work/line up/etc yay. now for fonts...
Dana Jansens danakj@orodu.net
36d8e0c6
i dont know what i fixed but here it is
Dana Jansens danakj@orodu.net
a77f0fb3
handle map requests with the root window class
Dana Jansens danakj@orodu.net
958df771
compress property changes a bit
Dana Jansens danakj@orodu.net
11de5db0
better compression, dont lose events
Dana Jansens danakj@orodu.net
7efcff07
more compressing
Dana Jansens danakj@orodu.net
786834ab
compress property changes into a single change
Dana Jansens danakj@orodu.net
dca0c9f5
add an OBRootWindow class that watches events/properties on root windows
Dana Jansens danakj@orodu.net
74cb09bb
handle map events with the Openbox class
Dana Jansens danakj@orodu.net
1eb79b9a
<shrug>
Dana Jansens danakj@orodu.net
fb384845
window decorations use "unmanaged" widgets now.
Dana Jansens danakj@orodu.net
fac1a658
typo in comment
Dana Jansens danakj@orodu.net
4d1a90b0
add a recursive flags to OtkWidget::show/hide
dont delet eshit in the style from button's destructor
Dana Jansens danakj@orodu.net
cb5dfe7c
more ignore fodder
Dana Jansens danakj@orodu.net
6f0b72e8
big nono
Dana Jansens danakj@orodu.net
1d897f43
add the config header and emacs comment to all the .cc's
Dana Jansens danakj@orodu.net
638d4e6f
change the style-load-error msg
Dana Jansens danakj@orodu.net
12a95bfd
add an OtkAppWidget which are "root windows", i.e. the managed child of root, to be shown on the display.
Exit when all the "root windows" are hidden.
Support the WM_DELETE protocol to hide a "root window".
Dana Jansens danakj@orodu.net
3bc1f374
better msgs
Dana Jansens danakj@orodu.net
34a9f87e
print a warning if more than one main widget is set
Dana Jansens danakj@orodu.net
81e19827
set the close protocol on the app's main widget
Dana Jansens danakj@orodu.net
77342413
change how the widgets' _dirty flag works so that all inheritence levels of the widget class can use it
Dana Jansens danakj@orodu.net
d4d15160
new button that is a focuslabel
Dana Jansens danakj@orodu.net
3ce8b540
add a Label class that doesnt change with focus
Dana Jansens danakj@orodu.net
bd06e896
actually add this shit. yay
Dana Jansens danakj@orodu.net
6b977b2d
add OtkFocusLabel
Dana Jansens danakj@orodu.net
804b8cc6
check to make sure the style config could be loaded
Dana Jansens danakj@orodu.net
6223b6a3
:
Marius Nita marius@cs.pdx.edu
7df3b620
use the timer queue manager
Dana Jansens danakj@orodu.net
36ed114f
add a constructor for strut that takes margin sizes
Dana Jansens danakj@orodu.net
cd91abfd
include the right .h
Dana Jansens danakj@orodu.net
6f5e60f0
fixed bugs, got otkapp to select on a fd, modded widget to make use of otkapp, press/release events on buttons
Marius Nita marius@cs.pdx.edu
0680daee
there
Marius Nita marius@cs.pdx.edu
a3d036f6
added otkapplication and event stuff, changed other files to accomodate for this, changed the test.
no idea if anything runs yet. it compiles =)
Marius Nita marius@cs.pdx.edu
e53fbcf0
event handling classes
Marius Nita marius@cs.pdx.edu
1210e6d6
more crap
Marius Nita marius@cs.pdx.edu
0eb66576
initial commit
Marius Nita marius@cs.pdx.edu
9f1facd3
hopefully caught stupid assert
Marius Nita marius@cs.pdx.edu
c0909555
heh
Marius Nita marius@cs.pdx.edu
5be13639
better fix for configure
Dana Jansens danakj@orodu.net
e8b74211
erm
Marius Nita marius@cs.pdx.edu
a3b2e7d9
made resizing sexier
Marius Nita marius@cs.pdx.edu
d55ede56
use the rect
Dana Jansens danakj@orodu.net
bcb7dddf
dont set dirty if not resizing
Dana Jansens danakj@orodu.net
8d397c0d
update headers to whats required
Dana Jansens danakj@orodu.net
d7848fac
updates dependancies
Dana Jansens danakj@orodu.net
62326fde
dont hide label
Dana Jansens danakj@orodu.net
30a23b64
it resizes now
Dana Jansens danakj@orodu.net
5a71f5b0
only do shit if the size changed
Dana Jansens danakj@orodu.net
0856b11d
resizes
Dana Jansens danakj@orodu.net
d97db164
button::updte sets _dirty back to false
Dana Jansens danakj@orodu.net
6d68ac22
smarter expose. stop when the window is found
Dana Jansens danakj@orodu.net
b7dba88a
try make drawing work better but its busted
Dana Jansens danakj@orodu.net
b3822fcf
make stuff draw on expose events
Dana Jansens danakj@orodu.net
ed4696f6
more deps
Dana Jansens danakj@orodu.net
5f436ee8
blef
Dana Jansens danakj@orodu.net
e6026ed9
build otk_test
Dana Jansens danakj@orodu.net
e40e3d68
use configure's xft flags
Dana Jansens danakj@orodu.net
379ccf45
add libtoolize
Dana Jansens danakj@orodu.net
29d504e7
oh no im being ANONYMOUS
Dana Jansens danakj@orodu.net
597f4d81
comment
Dana Jansens danakj@orodu.net
5a9f3b5d
button crap
Marius Nita marius@cs.pdx.edu
2efa2b32
blef
Marius Nita marius@cs.pdx.edu
0cb338e0
gotta iron out this pressed button crap
Marius Nita marius@cs.pdx.edu
9834a687
widget update fix
Marius Nita marius@cs.pdx.edu
b1695477
working button class (minus fonts)
Marius Nita marius@cs.pdx.edu
b33e8f66
adding vertical dynamic resize code
Marius Nita marius@cs.pdx.edu
f0a1bdd6
er
Marius Nita marius@cs.pdx.edu
23f33127
add focuswidget to the build
Marius Nita marius@cs.pdx.edu
9e1b2549
updated for the new MAD SEXY widget and focuswidget
Marius Nita marius@cs.pdx.edu
f6724de2
HOOGE improvements. now widgets calculate their size according to the sizes of their children, they stretch stretchable elements to fit a maximum size, take into account bevel width, and much more
Marius Nita marius@cs.pdx.edu
09fa1f3a
initial commit of focus widget
Marius Nita marius@cs.pdx.edu
0da967a8
remove the redundant _size property in OBScreen, and set the geometry root property properly.
add otk::Point::setPoint
Dana Jansens danakj@orodu.net
c4a1fac4
manages windows that exist before running.
Dana Jansens danakj@orodu.net
24dd636f
watch for when screens cant be managed
Dana Jansens danakj@orodu.net
e503323d
HRM manageExisting() isnt working!
Dana Jansens danakj@orodu.net
06a80ce2
manage and unmanage windows in OBScreen
Dana Jansens danakj@orodu.net
cee30524
not using any old blackbox classes anymore!
Dana Jansens danakj@orodu.net
fb0dd6cf
some small cleanups
make style not take a screen separate from the image control
make style::load() take a const ref
Dana Jansens danakj@orodu.net
590f7f58
unused include
Dana Jansens danakj@orodu.net
9c398557
fix some errs
Dana Jansens danakj@orodu.net
fcbb8277
mad wicked xft checks
Dana Jansens danakj@orodu.net
cf0823dc
look for xft
Dana Jansens danakj@orodu.net
1694901f
added missing header
Marius Nita marius@cs.pdx.edu
5c7aabd7
wattrib doesnt get init-ed correctly when called from assert()
Marius Nita marius@cs.pdx.edu
2fb94406
small test for OtkWidget
Marius Nita marius@cs.pdx.edu
a923a550
added new files to the build
Marius Nita marius@cs.pdx.edu
cbf9dd0c
beginnings of button class
Marius Nita marius@cs.pdx.edu
f0e2abf5
can now map windows and render textures
Marius Nita marius@cs.pdx.edu
6852efaa
added accessors for elements
Marius Nita marius@cs.pdx.edu
c220fbc9
include stdio
Dana Jansens danakj@orodu.net
18378aab
initial commit
Marius Nita marius@cs.pdx.edu
e828f140
get the size of the label properly
Dana Jansens danakj@orodu.net
9c6ce2a8
adding the new OBScreen class actually!
Dana Jansens danakj@orodu.net
2528b445
new OBScreen class is somewhat complete now i think
Dana Jansens danakj@orodu.net
b067510b
cleanups.
OBScreen almost ready for some action
Dana Jansens danakj@orodu.net
00b96c78
fixups
Dana Jansens danakj@orodu.net
c5e4a185
x() and y() should return values :)
Dana Jansens danakj@orodu.net
1eef416e
include the point header
Dana Jansens danakj@orodu.net
18645bf9
get rid of unsigneds
Dana Jansens danakj@orodu.net
bf160f21
make methods for Rect that use Point
Dana Jansens danakj@orodu.net
8693dd95
document the Point class
Dana Jansens danakj@orodu.net
5dc5cc32
add the otk::Point type
Dana Jansens danakj@orodu.net
73f6bb1a
move screen.cc/hh to bbscreen.cc/hh
Dana Jansens danakj@orodu.net
410a8264
more layout fixes for the decoration elements
Dana Jansens danakj@orodu.net
3762f3c8
pretty sure all frame elements are placed correctly now
Dana Jansens danakj@orodu.net
6e2593ca
handle events on all of the client's decor as for the client
Dana Jansens danakj@orodu.net
0b17bd83
add \n's to the signal printfs
make the hash of all clients destroy properly
Dana Jansens danakj@orodu.net
36579183
size/position fixes
Dana Jansens danakj@orodu.net
f4244710
frames' subemelents are created and positioned and everything
Dana Jansens danakj@orodu.net
633df648
add a comment
Dana Jansens danakj@orodu.net
9d5865a1
support for the shape extension works!
Dana Jansens danakj@orodu.net
209b7f21
some more things to happen when changing styles on a frame
Dana Jansens danakj@orodu.net
f257e4b0
position the client inside the frame correctly.
unmanage all clients on shutdown
Dana Jansens danakj@orodu.net
b9cac214
WINDOWS GET FRAMES FRAME SHOW UP THEY WORK HUZZAH SOON THEYLL BE LIKE OLD TIMES!
Dana Jansens danakj@orodu.net
f2ae1c3b
fully documented OBClient
Dana Jansens danakj@orodu.net
b0149ef3
add a bunch of documentation
add updateIconTitle
Dana Jansens danakj@orodu.net
8b041e2f
add updateIconTitle
Dana Jansens danakj@orodu.net
ab88b1b9
reverse the automake/autoconf order.. for fun
Dana Jansens danakj@orodu.net
2a26eddc
add XXX to a comment that deserves it
Dana Jansens danakj@orodu.net
ec4548a1
s/NULL/0/
Dana Jansens danakj@orodu.net
19699623
dont need to specify otk:: when already in the namespace
Dana Jansens danakj@orodu.net
9c82f941
seg fix
Marius Nita marius@cs.pdx.edu
746e55f7
ugh, misspelling
Marius Nita marius@cs.pdx.edu
29d640fd
moved em to otk
Marius Nita marius@cs.pdx.edu
37be3ef9
omg, fat commit
pulled the style crap out of screen, i think the reconfigure case needs to be handled still.
moved util and config into otk, changed everything else accordingly.
code compiles and runs
Marius Nita marius@cs.pdx.edu
35fcb62d
added style class, moved util and config to otk
Marius Nita marius@cs.pdx.edu
0cf6e32e
new binary name
Dana Jansens danakj@orodu.net
f7f3cd40
set the client's desired decoration and function flags
Dana Jansens danakj@orodu.net
9dc76e1b
support for the Mwm Hints
Dana Jansens danakj@orodu.net
8a198930
blef
Dana Jansens danakj@orodu.net
16c00e34
show badwindow errors again
Dana Jansens danakj@orodu.net
83322ce3
dont show badwindow errors
Dana Jansens danakj@orodu.net
395b9e15
generate an 'openbox3' binary
Dana Jansens danakj@orodu.net
378ed4f5
maps and unmaps windows!
Dana Jansens danakj@orodu.net
a0cc4a7f
windows map again!
Dana Jansens danakj@orodu.net
076d45d0
read protocols too in OBClient
Dana Jansens danakj@orodu.net
78a7593a
OBAtom/XAtom has been moved to otk::OBProperty
Dana Jansens danakj@orodu.net
9df8ba78
determine if the user/application requested its initial position or not
Dana Jansens danakj@orodu.net
aa8047d6
use INT_MAX for the default max sizes
Dana Jansens danakj@orodu.net
116c95b8
get the min/max sizes
Dana Jansens danakj@orodu.net
9b23dff1
when creating an OBClient class, get all the info on that class immediately.
print the info to stdout for now too!
Dana Jansens danakj@orodu.net
7b343db2
comment the _window member
Dana Jansens danakj@orodu.net
63233a1f
make the group a window
add a XXX for later
Dana Jansens danakj@orodu.net
d363f720
fix compiling with the new strut (new namespace)
and fix general errors that broke compiling.

make xeventhandler find the OBClient for most events..
Dana Jansens danakj@orodu.net
d3b7c84d
moving strut into its own .hh. adding OBClient class
Dana Jansens danakj@orodu.net
d017db67
client.cc compiles
Dana Jansens danakj@orodu.net
22c770d9
include algoritm
Dana Jansens danakj@orodu.net
c9f36d34
finish conversion to the new otk::OBProperty class with its new interface
Dana Jansens danakj@orodu.net
68016ac3
mode documentation updates
Dana Jansens danakj@orodu.net
c822c895
updated documentation
Dana Jansens danakj@orodu.net
d2c380fb
add OBProperty to otk, which was formerly known as ob::XAtom
it does have a few interface changes
Dana Jansens danakj@orodu.net
641bc819
convert XAtom to OBAtom
Dana Jansens danakj@orodu.net
f25252a4
updated doxygen documentation
Dana Jansens danakj@orodu.net
c3946be0
initialize the _doshutdown member
Dana Jansens danakj@orodu.net
62356a72
complete the change from window.cc/hh to bbwindow.cc/hh
Dana Jansens danakj@orodu.net
6f8b36ff
moving window.cc/hh to bbwindow.cc/hh since we'll have our own window class coming in to replace it slowly
Dana Jansens danakj@orodu.net
2f905c7e
deal with client events in the same way now
Dana Jansens danakj@orodu.net
45c2589e
xeventhandler can handle everything except client messages now.
blackbox is no longer the event handler
Dana Jansens danakj@orodu.net
7ebccbf3
new OBTimer interface
Dana Jansens danakj@orodu.net
578bedc2
fix for documentation
Dana Jansens danakj@orodu.net
d0b55be2
OBTimer is fully documented.
change how the timerqueuemanager makes timers fire recursively, so that OBTimer::halt could go away
Dana Jansens danakj@orodu.net
d557e816
include the right .hh!
Dana Jansens danakj@orodu.net
6bba50ef
include the timer manager class header
Dana Jansens danakj@orodu.net
98341d7d
make doxygen skip stuff inside
#ifndef DOXYGEN_IGNORE
#endif
blocks
Dana Jansens danakj@orodu.net
b0a532db
split the OBTimerQueueManager and TimerQueue into their own files
Dana Jansens danakj@orodu.net
d4d89ce0
documenting classes!
Dana Jansens danakj@orodu.net
e9085c3a
documented
Dana Jansens danakj@orodu.net
143a38f7
not using a custom stlyesheet anymore
Dana Jansens danakj@orodu.net
b5bff953
add doxygen to the project. 'make doc' builds the doxygen stuff. you need doxygen and graphviz installed to generate it properly
Dana Jansens danakj@orodu.net
cb71b2fb
stop using the Utf8 functions. will use them later for ONLY Utf-8 encoded strings!!
Dana Jansens danakj@orodu.net
f8f73b74
missing include
Dana Jansens danakj@orodu.net
9259ec57
new timer infrastructure. takes a function pointer for the timeout, with a void* parameter (useful for holding a class instance!)
Dana Jansens danakj@orodu.net
ad80ef0f
make it shutdown on signals
Dana Jansens danakj@orodu.net
42e406d0
read rc3 as the default file now
Dana Jansens danakj@orodu.net
373de009
new timers, timer manager
Dana Jansens danakj@orodu.net
c5f62494
fix compiling in display.
make the timer manager work in and of itself
Dana Jansens danakj@orodu.net
8ad26109
ue default scope timevals
Dana Jansens danakj@orodu.net
2bf55be0
add comment
Dana Jansens danakj@orodu.net
ace8c889
WE DONT USE BASE DISPLAY FOR ANYTHING ANY MORE!!@^!*@*!! YAY
Dana Jansens danakj@orodu.net
37e56007
move Rect and PointerAssassin into the toolkit
Dana Jansens danakj@orodu.net
fa8cefef
add an OBDisplay class and the old ScreenInfo class to the toolkit.
wrap the toolkit in the 'otk' namespace
it compiles. broke the timer cache tho.
Dana Jansens danakj@orodu.net
fcfb532d
include the new screeninfo.o
Dana Jansens danakj@orodu.net
dd7b8b67
split the screeninfo class out to its own files
Dana Jansens danakj@orodu.net
bbdca491
gettext is ready to rock and roll
Dana Jansens danakj@orodu.net
e5d63c07
updated with goals for 3.0
Dana Jansens danakj@orodu.net
643fbfa7
not using admin/ dir anymore
Dana Jansens danakj@orodu.net
356e4a02
stupid stuff
Dana Jansens danakj@orodu.net
a3b64aae
put 'cvs' in the version tag
Dana Jansens danakj@orodu.net
0eff3cc4
make strings in main.cc translatable
Dana Jansens danakj@orodu.net
b79c74fc
add cvs ignores for the new dirs
Dana Jansens danakj@orodu.net
6b905206
make gettext better. updates for autoconf
Dana Jansens danakj@orodu.net
45e8330c
dont have any languages yet
Dana Jansens danakj@orodu.net
d9c66049
add some text files..
dont have our own libintl
Dana Jansens danakj@orodu.net
90f24142
add gettext
change CXXFLAGS back to CPPFLAGS in the .am's
Dana Jansens danakj@orodu.net
b1cc4b4f
update configure.ac to newer rules
Dana Jansens danakj@orodu.net
4c05a620
libtool stuff
Dana Jansens danakj@orodu.net
f127273a
make compile again
Dana Jansens danakj@orodu.net
1824e6b1
add a cvsignore for otk.
make sexier automake shit
Dana Jansens danakj@orodu.net
bca71305
toolkit addition
Marius Nita marius@cs.pdx.edu
35462479
changed for toolkit
Marius Nita marius@cs.pdx.edu
90c5fdc2
changed to reflect toolkit change
Marius Nita marius@cs.pdx.edu
110a1eee
moved files into otk
Marius Nita marius@cs.pdx.edu
9247a7a6
oops
Marius Nita marius@cs.pdx.edu
85c41a1a
adding toolkit beginnings
Marius Nita marius@cs.pdx.edu
a7c71b36
no more epist compiling
Dana Jansens danakj@orodu.net
c796dccd
make bsetroot compile with the new codebase
Dana Jansens danakj@orodu.net
6b438d90
these files are generated by bootstrap
Dana Jansens danakj@orodu.net
eb19a6b6
make epist compile with the new code base
Dana Jansens danakj@orodu.net
54c96668
look for a CC to make automake happy
Dana Jansens danakj@orodu.net
19fa297a
configure script changed to .ac
Dana Jansens danakj@orodu.net
86bef745
big fat commit..
Dana Jansens danakj@orodu.net
75f84f95
add comment for later
Dana Jansens danakj@orodu.net
7bf96a91
compiles now. uses xft2
remove the nls remainders
Dana Jansens danakj@orodu.net
0caf2ba9
rmove old convert.awk
Dana Jansens danakj@orodu.net
4aaf063a
rming all the nls bullshit. gettext.
Dana Jansens danakj@orodu.net
db451d95
rename, remove bullshit. ya
Dana Jansens danakj@orodu.net
60b016b7
no more menus, at last. woop
Dana Jansens danakj@orodu.net
87e63d53
Take menu file from rc file if it isn't specified on the command line.
It doesn't act correctly when using reconfigure, but only because I am unsure what the correct behaviour is.
Scott Moynes smoynes@nexus.carleton.ca
9af642d2
Ignore dot files in the styles directory.
Scott Moynes smoynes@nexus.carleton.ca
be141c2a
take out useless(?) assert
Dana Jansens danakj@orodu.net
1e36acfd
Allow variable tinting of the shadow. Use *.xft.tint: integer
integer is a number -100 to 100 that specifies the alpha channel, with
negative numbers meaning lighten the background and positive being
darken.
Scott Moynes smoynes@nexus.carleton.ca
dc4957ee
bumped up version
Scott Moynes smoynes@nexus.carleton.ca
8b55442b
use drop shadow height in the font height.
honour rc file config option for drop shadows with new shadow code
Scott Moynes smoynes@nexus.carleton.ca
8552ba2a
xft drawing on offsets once and for all
Scott Moynes smoynes@nexus.carleton.ca
d974e00b
fixed the drop shadow window clearing bug in Basemenu
Scott Moynes smoynes@nexus.carleton.ca
ccf6cfad
Fix XFT redraw of text. Still needs slight work for the shadow in Basemenu
Scott Moynes smoynes@nexus.carleton.ca
402e229e
Allow for customizing of the dropShadows.
If xft.flags: shadow then you can specify the tint with xft.shadow.tint:
which should be a number 0 to 255. xft.shadow.offset: will specify how
many pixels to add in positioning.
Also, try to fix the inheritence in the pressed button borders. Need a
style to test this
Scott Moynes smoynes@nexus.carleton.ca
be127cb4
make an *xft.flags: shadow flag to have per style resource shadows
Scott Moynes smoynes@nexus.carleton.ca
b3b0926f
spit an error when no config file is found, to avoid confusing lex and the user.
Marius Nita marius@cs.pdx.edu
da0b7680
bugfixes update
Marius Nita marius@cs.pdx.edu
8ea3db57
more fixes, better sanity detection and error messages. it shouldn't hog the keyboard in any case now. it won't grab when modifiers or keys are borked.
Marius Nita marius@cs.pdx.edu
2037631f
Fixing the stupid case when an invalid key is given and epist would hog the keyboard
Marius Nita marius@cs.pdx.edu
5bb8616d
added user option to modify raise behavior when stackedCycling is on
Marius Nita marius@cs.pdx.edu
24d14b5f
fixed typo
Scott Moynes smoynes@nexus.carleton.ca
012d0e15
tyop
Scott Moynes smoynes@nexus.carleton.ca
ef3cec40
documentation for 2.2
Scott Moynes smoynes@nexus.carleton.ca
fa3fb793
oops. fix workspace warping merge buglet
Scott Moynes smoynes@nexus.carleton.ca
692bbfd3
updated changelog for 2.2 release
Scott Moynes smoynes@nexus.carleton.ca
ce89be6a
added documentation for the pressed focus/unfocus and fixed some minor
formatting errors
Scott Moynes smoynes@nexus.carleton.ca
987cf7cc
Added style resources for window.button.pressed.focus: and
window.button.pressed.unfocus:
Documentation to be added.
Scott Moynes smoynes@nexus.carleton.ca
efd6c59c
adding latvian translation
Scott Moynes smoynes@nexus.carleton.ca
1c0ddc84
Added latvian (lv_LV) translation from 2_1 branch
Scott Moynes smoynes@nexus.carleton.ca
080ba7f9
remove debug code in window menu placement
Scott Moynes smoynes@nexus.carleton.ca
72a2e987
merged with 2_1-merged-to-HEAD-2002-09-30
Scott Moynes smoynes@nexus.carleton.ca
783fac59
snap a window menu to the bottom of the screen if it is positioned too low.
Scott Moynes smoynes@nexus.carleton.ca
5b8ec886
fixed menu placement on menus with very small windows
Scott Moynes smoynes@nexus.carleton.ca
a0a31c3f
changes to reflect the improvements to the error reporting in the parser.
Marius Nita marius@cs.pdx.edu
05690be0
unignore yacc/lex generated files. we don't want to ignore these.
Marius Nita marius@cs.pdx.edu
c2afc72a
Fix small compile error on g++3.
Marius Nita marius@cs.pdx.edu
1852347f
Added titlebar layout documentation
Scott Moynes smoynes@nexus.carleton.ca
ed438533
fixed tyop
Scott Moynes smoynes@nexus.carleton.ca
9215a741
Documented bitmap buttons in manpage
Scott Moynes smoynes@nexus.carleton.ca
5c328c51
using std::* in #ifndef XFT
Scott Moynes smoynes@nexus.carleton.ca
e0d619e3
added a configure flag for enabling/disabling bitmap buttons
Scott Moynes smoynes@nexus.carleton.ca
c196ecd8
more bitmap merge fixes
Scott Moynes smoynes@nexus.carleton.ca
01732a20
Some bitmap bugfixes
Fixed parameters to XFillRectangle, remoced old debug code.
Scott Moynes smoynes@nexus.carleton.ca
d947f35d
bumped up version number after bitmap merge
Scott Moynes smoynes@nexus.carleton.ca
c2d992a3
merged bitmap buttons
Scott Moynes smoynes@nexus.carleton.ca
499b1620
added code that makes sure apps executed by epist don't die when epist is killed.
Marius Nita marius@cs.pdx.edu
d4b6232f
alt-rightclick resizing fix
Dana Jansens danakj@orodu.net
15ca6904
make alt-right click resizing work on the window handles
Dana Jansens danakj@orodu.net
185a1a6a
new bsetbg woop with bugfixes one command line arg handling
Dana Jansens danakj@orodu.net
6b1459e6
rename fieron to not have a cap letter
Dana Jansens danakj@orodu.net
edbe065e
add Fieron style
Dana Jansens danakj@orodu.net
82c414bb
Initial commit, for the Openbox 2.1.0 release
Marius Nita marius@cs.pdx.edu
6120b03e
add autom4te.cache
Dana Jansens danakj@orodu.net
ce531352
bindable/disableable root/workspace menus
Dana Jansens danakj@orodu.net
4128a725
add drop shadows
Dana Jansens danakj@orodu.net
3de15d05
default drop shadows to off
Dana Jansens danakj@orodu.net
70d93941
actually work for windows that dont specify the input hint
Dana Jansens danakj@orodu.net
7f001973
catch button presses on the window's frame window, else they end up passing up the heirarchy to the root window, and then that will do things like pop up the root menu by right clicking on the window's frame window.
Dana Jansens danakj@orodu.net
70fed8c9
dont draw borders past the end of a texture
Dana Jansens danakj@orodu.net
8d54452b
lighter shadow
Dana Jansens danakj@orodu.net
5e9f6a16
call the window's processEvent() directly instead of the screen's, since it didn't actually do anything with the event.
Dana Jansens danakj@orodu.net
01a6d810
increase the reported font size when it has a shadow
Dana Jansens danakj@orodu.net
2c01b1aa
drop shadow with color of text
Dana Jansens danakj@orodu.net
076ef8c1
better ropshadow?
Dana Jansens danakj@orodu.net
02c028d8
(optional) drop shadows for fonts
Dana Jansens danakj@orodu.net
a0537f89
state gnome 2 support
Dana Jansens danakj@orodu.net
c1e79a4a
back out the thick X button
Dana Jansens danakj@orodu.net
c891ad09
gnoem2 fixes for taskbar
Dana Jansens danakj@orodu.net
a575772f
new border code
Dana Jansens danakj@orodu.net
23aea9b4
better border support for stuff. add a borderColor resource, and allow borders with gradients. basically, they can only be used with flat stuff (not raised/lowered)
Dana Jansens danakj@orodu.net
1f5dd220
watch for sticky windows when mapping, let them show.
Dana Jansens danakj@orodu.net
18f704ed
better error reporting. epist now reports the line number and token a parser error occurs at, as well as invalid actions.
Marius Nita marius@cs.pdx.edu
37ccfef8
took out some debug messages
Marius Nita marius@cs.pdx.edu
0b72760c
some debug messages for bug testing
Marius Nita marius@cs.pdx.edu
7c101a50
add woodblock's sticky button shit
Dana Jansens danakj@orodu.net
2685eeb7
when trying to find a window on the screen to focus, dont use non-focusable windows
Dana Jansens danakj@orodu.net
42e00b1c
sync with 2.0 branch (fix auto-rasie with gtk issue)
Dana Jansens danakj@orodu.net
01db552d
add the cvsignore for this dir
Dana Jansens danakj@orodu.net
e93ce605
sync with the 2.0 branch (make XAtom::getValue not use an XGrabServer)
Dana Jansens danakj@orodu.net
923c381d
sync with the 2.0 branch
Dana Jansens danakj@orodu.net
e8116239
fixed debug flag being forced on.
Scott Moynes smoynes@nexus.carleton.ca
767e04e0
Added a optional omnipresent button, enabled using the title bar layout key "S".
Needs to be documented, and the drawing tweaked a bit.
Scott Moynes smoynes@nexus.carleton.ca
d139e299
cleanups and add a server grab in getValue
Dana Jansens danakj@orodu.net
d5c9224d
systray windows fix
Dana Jansens danakj@orodu.net
5033ce0a
proper mask t catch the unmap events on systray windows
Dana Jansens danakj@orodu.net
4d70603f
revert a change for where new windows go in the list
Dana Jansens danakj@orodu.net
b04f5a85
include the config.h header
Dana Jansens danakj@orodu.net
f5a1f592
fix shape support
Dana Jansens danakj@orodu.net
07e619eb
Added missing header for clearShape, which was breaking compilation
Marius Nita marius@cs.pdx.edu
0026b391
latest changessssshape changes, give vR credit
Dana Jansens danakj@orodu.net
9667f3a0
fix shape.
a) it didnt work when it added shape after mapping
b) removing shape wouldnt have worked right either
Dana Jansens danakj@orodu.net
53b6f16b
initial checkin
Marius Nita marius@cs.pdx.edu
bb9a37ec
Draw close button with line_width of 2.
Scott Moynes smoynes@nexus.carleton.ca
217488ee
dont change last active while cycling around in stacked mode
Dana Jansens danakj@orodu.net
48a45008
dont use an invalid iterator in handleKeypress, also, update _last_active is it needs to be
Dana Jansens danakj@orodu.net
b81dbf9a
update the active iterator after moving the active window to the front of the list
Dana Jansens danakj@orodu.net
bf575744
added config.h includes
Marius Nita marius@cs.pdx.edu
0116e2c4
dont use what could be an invalid iterator
Dana Jansens danakj@orodu.net
da8d6b3f
dont break the focused window iterator
Dana Jansens danakj@orodu.net
afbc5546
in stacked cycling mode, insert new clients at the front of the list
Dana Jansens danakj@orodu.net
eca8fd76
dont auto-raise sticky windows, theyre on the current workspace too
Dana Jansens danakj@orodu.net
656478e3
Added On/Off options to the grammar, for parameters.
Marius Nita marius@cs.pdx.edu
572acce5
Fixed a couple of glitches, added on/off values for boolean
Marius Nita marius@cs.pdx.edu
ba1a7156
add the options with default values
Dana Jansens danakj@orodu.net
9d280b87
Modified the way focus is handled so the focus window is always at the top of the stack when doing stacked cycling. yay or something.
Marius Nita marius@cs.pdx.edu
fa301a99
Fixed a boob mistake which was causing KeyRelease events to not be handled properly if keys were relased quickly.
Marius Nita marius@cs.pdx.edu
a95a6bd8
Fixed goof in config interface. All the functions are now named getValue(), since they have different signatures.
Marius Nita marius@cs.pdx.edu
afa215ef
sync with bb-cvs
Dana Jansens danakj@orodu.net
f763814b
dont limit how big a window can be resized.
dont let the user resize a window smaller than 0, which makes it wrap to a huge number
Dana Jansens danakj@orodu.net
38b124e1
Update to reflect the stacked cycling additions
Marius Nita marius@cs.pdx.edu
7ebe5041
updated to reflect the new changes in epist.[ly]
Marius Nita marius@cs.pdx.edu
a991c575
Epist now supports stacked cycling. :D/-< :D\-<
Added several functions and modified several other ones to grab/ungrab the keyboard, handle KeyRelease events, modified focus behavior in cycleWindow, and more.
Changed some calls for the new config format.
Marius Nita marius@cs.pdx.edu
d65127c2
Added functions for setting boolean parameters
Marius Nita marius@cs.pdx.edu
8857fa2c
Slight modification to make it use the new config class calling convention
Marius Nita marius@cs.pdx.edu
483b8496
Made case requirements less strict (you can now have "control" as well as "Control") and added True/False grammar rules for parameters.
Marius Nita marius@cs.pdx.edu
11e643f4
New and improved configuration management. It now handles bool, string and number types, and all conversions happen at initialization time, so retrieval is faster. (yay)
Marius Nita marius@cs.pdx.edu
a6d6f011
sync with blackbox
get rid of the default limit on window sizes
Dana Jansens danakj@orodu.net
85612861
don't limit how big a window can be resized
Dana Jansens danakj@orodu.net
d9c0cfed
unmanage desktop windows on shutdown
Dana Jansens danakj@orodu.net
3ad19e4a
format comment
Dana Jansens danakj@orodu.net
3a76276f
include config.h in cc's before including openbox headers
use bison instead of yacc
Dana Jansens danakj@orodu.net
3b15388c
config request with only resize honors window's gravity
Dana Jansens danakj@orodu.net
328b861d
use the window's gravity when handling a configureRequest event for a resize only
Dana Jansens danakj@orodu.net
e39c8377
add recent fixes
Dana Jansens danakj@orodu.net
9b6ac105
add toggleDecorations
Dana Jansens danakj@orodu.net
db3e93a3
actually check if a window has the function flags approproate before trying to perform an action. (i.e. dont let windows iconify if they arent supposed to, etc)
Dana Jansens danakj@orodu.net
45863e60
clean up the new focusing code for workspace switching
Dana Jansens danakj@orodu.net
3ee18e2f
explicitly set the focused window instead of waiting for the x server when changing workspaces, otherwise, if you move througha workspace before the xserver distributes your focus, you end up losing which window had the focus
Dana Jansens danakj@orodu.net
2c1ce308
dont add sticky windows to the stacking list more than once
Dana Jansens danakj@orodu.net
23e92e11
put !normal windows in the general client list too
Dana Jansens danakj@orodu.net
82bf5b55
put !normal windows in the stacking client list as well as the normal client list
Dana Jansens danakj@orodu.net
b1da899b
try see if this broke gnome-panel
Dana Jansens danakj@orodu.net
bf9ad028
add showRoot/Workspace menu plus a blurp about Openbox specific actions
Dana Jansens danakj@orodu.net
dd7ee168
Capitalization fix, adding documentation for options, 2-d workspaces, and toggleGrabs
Marius Nita marius@cs.pdx.edu
e9c1208f
Safari_Al's patch which fixes inconsistent capitalization in some actions.
Marius Nita marius@cs.pdx.edu
81cdff06
don't unmap/remap sticky windows on a workspace change, but still make sloppy focus work right.
Dana Jansens danakj@orodu.net
0f4737f0
put !normal windows in the screen window list
catch systray apps unmap/destroy events
Dana Jansens danakj@orodu.net
8344443c
handle systray apps closing..
Dana Jansens danakj@orodu.net
57a46b4f
default to line width of 0, which is more efficient than 1
Dana Jansens danakj@orodu.net
cbf4bb3d
use the snap offset as the margin for placing windows instead of a fixed value of 1
Dana Jansens danakj@orodu.net
8dc38853
dont autoraise when the window isn't going to get focused either. sdl-fullscreen bug fixed.
Dana Jansens danakj@orodu.net
d1b2c031
get default line width to 1, and make it a more easily used parameter in BPen
Dana Jansens danakj@orodu.net
469b9b30
give gc's/BPen's a width
Dana Jansens danakj@orodu.net
7cac1f19
toggleGrabs action added
Marius Nita marius@cs.pdx.edu
22e8615f
modified focus() to accept a no-raise parameter
Marius Nita marius@cs.pdx.edu
78a8ca9e
the comment more accurate
Dana Jansens danakj@orodu.net
33d2cecc
s/__openbox_version/OPENBOX_VERSION
Dana Jansens danakj@orodu.net
989db59a
adding the cvsignore file for the new nls dir
Dana Jansens danakj@orodu.net
a1b96061
sync with bb-cvs
Dana Jansens danakj@orodu.net
266a35a9
2.1.0 is our next target
Dana Jansens danakj@orodu.net
aa827d0c
fixed getStringValue failure case and compiler warnings
Marius Nita marius@cs.pdx.edu
4d0f46e5
dont use __ for variables.. its illegal. (thanks ppl for the patch.)
Dana Jansens danakj@orodu.net
a0448385
fixed unsigned/signed comparison warnings
Marius Nita marius@cs.pdx.edu
8a48fff7
support for showing the root and workspace menu with epist
Dana Jansens danakj@orodu.net
f44e3ed9
toggleDecorations!
Dana Jansens danakj@orodu.net
cc5bde6d
toggledecor almost done
some code cleanups/fixes
Dana Jansens danakj@orodu.net
d181f1ad
dont grab other windows while warping in opaque mode
Dana Jansens danakj@orodu.net
d7a65513
dont pass an unused parameter, and return an unused value
Dana Jansens danakj@orodu.net
75f124a2
warping is ruling!
Dana Jansens danakj@orodu.net
9d40660b
warping works!
Dana Jansens danakj@orodu.net
a9bfdcaa
making warping work.. hopefully.
fix for leaving !normal windows behind in the window list
Dana Jansens danakj@orodu.net
183cf03a
set a workspace and window number even for !normal windows
Dana Jansens danakj@orodu.net
aa9ade7a
add support for the kde-override hint, making the windows get no decorations.
also, read the window type as an array, as it is supposed to be read.
Dana Jansens danakj@orodu.net
13064214
added parameter to the move windows. it defaults to 1.
Scott Moynes smoynes@nexus.carleton.ca
9be80896
changeWorkspaceHorz() now cycles
Scott Moynes smoynes@nexus.carleton.ca
5c284ecc
cleaned up changeWorkspaceVert() a bit
Scott Moynes smoynes@nexus.carleton.ca
dfaa9c9f
added cycling to the grid stuff
Scott Moynes smoynes@nexus.carleton.ca
bd05f7ec
uber patch.
Added configuration options.
Added workspace grid changing.
Added keychain timeouts.
Fixed some whitespace.
Scott Moynes smoynes@nexus.carleton.ca
b1223a2a
change how the pointer is moved.. try make this more consistant when warping at high speeds.
Dana Jansens danakj@orodu.net
551a17d2
Fix send to menu, having deleted workspaces in it.
Fix workspace warping, move the mouse and window the same amount.
Fix workspace switching. Put old code back that worked better.
Dana Jansens danakj@orodu.net
2d114880
add -help and -version (thanks ppl)
Dana Jansens danakj@orodu.net
8839db04
fix indenting and caps
Dana Jansens danakj@orodu.net
24f64750
change default style to mbdtex
Dana Jansens danakj@orodu.net
5af33220
change the font to be nicer
Dana Jansens danakj@orodu.net
c5d10bd1
add the date
Dana Jansens danakj@orodu.net
8b5a616b
group next/prev commands together
Dana Jansens danakj@orodu.net
0fa43608
specify which parameters can be specifyed for cycling windows and workspaces
Dana Jansens danakj@orodu.net
2f0d10cc
ignore the new generated manpage
Dana Jansens danakj@orodu.net
7590b376
mention that options dont exist in epist yet
Dana Jansens danakj@orodu.net
e979c2ad
fix breaks/indents for the options section
Dana Jansens danakj@orodu.net
2f919fc7
add a .br
Dana Jansens danakj@orodu.net
7c841bbf
add a manpage for epistrc. Update the epist mapage a bit.
Dana Jansens danakj@orodu.net
8e50f87c
ignore the generated manpage
Dana Jansens danakj@orodu.net
6bf013e2
dont lose the last-focused window when all windows lose focus
Dana Jansens danakj@orodu.net
481fd73d
mention epist with bbkeys
Dana Jansens danakj@orodu.net
e5379ad5
add epist and xftlsfonts in teh see also.
s/BLACK/OPEN/
Dana Jansens danakj@orodu.net
4f30ee54
add authors for epist in manpage
Dana Jansens danakj@orodu.net
9af40759
add manpages for epist and for xftlsfonts
Dana Jansens danakj@orodu.net
963473ba
some new functions added to the rc file
Scott Moynes smoynes@nexus.carleton.ca
a2db09b8
ignore the EnterNotify for focusing when changing workspaces in an ACTIVE_WINDOW change, so that the right window gets focused, not the window under the mouse.
Dana Jansens danakj@orodu.net
544da8c7
set up a default rc file, and change teh user rc to ~./openbox/epistrc
Dana Jansens danakj@orodu.net
13cf497f
Added default rc file
Scott Moynes smoynes@nexus.carleton.ca
b660ebe8
add xft support
Dana Jansens danakj@orodu.net
0e9e17a2
authors updates
Dana Jansens danakj@orodu.net
99a38842
catch tge XFT define, from config.h
Dana Jansens danakj@orodu.net
a3f7fa32
add Xft support to all of the styles
Dana Jansens danakj@orodu.net
3a6e590d
proper scoping
Dana Jansens danakj@orodu.net
41a38bbd
basename() returns a string sometimes.. go shaleh. but this makes it work both ways.
Dana Jansens danakj@orodu.net
02d144a8
no more relavent
Dana Jansens danakj@orodu.net
f7604fbe
fix nls' that didnt build
Dana Jansens danakj@orodu.net
b19065cc
fix the ko_KR makefile so it builds
Dana Jansens danakj@orodu.net
dd6ccfd2
this file is generated,and not supposed to eb in cvs
Dana Jansens danakj@orodu.net
0479a9f2
build something when theres no xft support
Dana Jansens danakj@orodu.net
352163bd
make sure the increments are > 0.
Dana Jansens danakj@orodu.net
89bd8afd
build epist normally, dont link in stuff it doenst need to yet
Dana Jansens danakj@orodu.net
eb1f1b35
caps
Dana Jansens danakj@orodu.net
0612318a
add the paper theme
Dana Jansens danakj@orodu.net
bf418b36
had the wrong name in it
Dana Jansens danakj@orodu.net
083e9491
s/black/open
Dana Jansens danakj@orodu.net
a179ffb7
new 2.0 authors/contributors
Dana Jansens danakj@orodu.net
defd5e4c
add all the changes made for 2.0.0 to the changelog
Dana Jansens danakj@orodu.net
73cf4b15
sync with bb-cvs
Dana Jansens danakj@orodu.net
a0c7fe1f
sync with bb-cvs.
Add the if(sticky) check back into the changing-transient-state code.. test this with vanrijn/bbkeys/klaunch!
Dana Jansens danakj@orodu.net
2241f5c8
better track of the last window on a screen.
Dana Jansens danakj@orodu.net
f21fbf1d
sync with bb-cvs
Dana Jansens danakj@orodu.net
d856db56
oops. buglet. extra for loop
Scott Moynes smoynes@nexus.carleton.ca
b0164701
testing whether i caused a bug with this code
Dana Jansens danakj@orodu.net
74a4bc01
properly watch for windows on other workspaces when mapping.
Dana Jansens danakj@orodu.net
4bebd476
remove the net_wm_desktop/state hints from a window when we stop managing it, so that if an app reuses the window, we don't place it on the wrong workspace the second time.
Dana Jansens danakj@orodu.net
75b6a5a3
added the ability to have numeric arguments for the cycle window/workspace functions.
eg.
Control-Mod1-Down nextWorkspace 6;
Control-Mod1-Right nextWorkspace;
Would allow some form of relative workspace flipping. It might be much less useful for cycling windows.
Scott Moynes smoynes@nexus.carleton.ca
ef66d63b
dont let windows get initially mapped when they arent on the current workspace
Dana Jansens danakj@orodu.net
91b07843
don't actually focus windows when adding them to the current workspace. this is already handled elsewhere, ands the window probably isnt evenmapped yet
Dana Jansens danakj@orodu.net
1a145bba
resize with alt+right click in all the same places that alt+left click moves
Dana Jansens danakj@orodu.net
aa2ec5f2
don't make Decor_Close depend on MWM hints. Thats not part of them.
Dana Jansens danakj@orodu.net
6838ab25
fix whitespace
Dana Jansens danakj@orodu.net
f633c5f0
allow the user to specify the modmask used to mouse events on windows
Dana Jansens danakj@orodu.net
6e07a64d
add the FlatBorder texture type
Dana Jansens danakj@orodu.net
ff3d1217
when updating the client menu for windows that aren't in the client menu, just ignore the request gracefully
Dana Jansens danakj@orodu.net
175a7e5d
sync with bb-cvs
Dana Jansens danakj@orodu.net
0f710360
support the blackbox hints right and the blackbox attributes for decoration state
Dana Jansens danakj@orodu.net
35818cc2
reconfigure wont break decor highlighting now
Dana Jansens danakj@orodu.net
36db2d24
set a window's decorations based on mwm and window type. Ignore the different blackbox 'levels' since they arent ever used anyways. This makes toggling a window's decor always work right too!

Also, make XGrabServer calls while workspace warping ot make sure another window isnt grabbed in place of the one thats warping
Dana Jansens danakj@orodu.net
5b088be9
fixed spelling mistake
Scott Moynes smoynes@nexus.carleton.ca
bc3268b6
handle toolbars and utility windows proper. also, no more crashes from kpager (i really hope :P), at least not the same way
Dana Jansens danakj@orodu.net
01096f86
sync with blackbox-cvs
Dana Jansens danakj@orodu.net
2d5e1c55
don't let windows snap to themself
Dana Jansens danakj@orodu.net
652addd2
allow modifierless root keys
Dana Jansens danakj@orodu.net
7d72843f
adding egnerated files to cvs
Dana Jansens danakj@orodu.net
a9068215
watch for a failed opening of the X server!
Dana Jansens danakj@orodu.net
027dbd1c
watch for transient == ~0ul
Dana Jansens danakj@orodu.net
f3a54e41
use the old method for showing windows on workspace change
Dana Jansens danakj@orodu.net
97e86c91
A few bug fixes and change the config to case insensitive and be more
tolerant of errors.
Scott Moynes smoynes@nexus.carleton.ca
90ee16fc
better support for relative resizing
Dana Jansens danakj@orodu.net
d8967bd5
support better resizing a delta value instead of an absolute value
Dana Jansens danakj@orodu.net
20045e73
add the yacc/lex generated stuff
Dana Jansens danakj@orodu.net
e5e886bc
sendTo and goto workspaces both need to start at 0, not 1
Dana Jansens danakj@orodu.net
1f539dcc
fixed change workspace and indenting
Scott Moynes smoynes@nexus.carleton.ca
b0239459
drop the ""'s from actions' string arguments
Dana Jansens danakj@orodu.net
616fa39a
build the yacc/lex stuff
Dana Jansens danakj@orodu.net
0ca8cd6f
include the right header and cast to avoid warnings
Dana Jansens danakj@orodu.net
71f05fc2
fix std:: namespace problems
Dana Jansens danakj@orodu.net
4c10947b
subtract 1 from teh workspace number specified
Dana Jansens danakj@orodu.net
72c56d79
sync with blackbox
Dana Jansens danakj@orodu.net
aa06c07d
sync with bb-cvs
Dana Jansens danakj@orodu.net
4e84a99f
disable things in the placement menu when they dont have any effect for the selected placement type
Dana Jansens danakj@orodu.net
ab80aa49
bad patch
Scott Moynes smoynes@nexus.carleton.ca
3c4a0e5f
added the lex source file
Scott Moynes smoynes@nexus.carleton.ca
6d400020
Big fat merge for epist.
This adds a config parser, chaining, and a tonne of other stuff.
Still need to fix up build system for the lex and yacc stuff.
Scott Moynes smoynes@nexus.carleton.ca
00391787
perhaps fix a segfault here
Dana Jansens danakj@orodu.net
b8c0c7af
dont snap things around crazy with small windows in resistance mode
Dana Jansens danakj@orodu.net
a2a348c2
perhaps fix an infinate loop in here..
Dana Jansens danakj@orodu.net
08e28f38
add a sanity check for the snap offset, limiting it to 50
Dana Jansens danakj@orodu.net
dba5b809
change default resistance to 18
Dana Jansens danakj@orodu.net
b9e40b8b
add the resource for the window snapping offset
Dana Jansens danakj@orodu.net
b34a0d1c
save the window-to-window snapping right
Dana Jansens danakj@orodu.net
1ecf3b73
honor the snap_offset properly for windows, and for edges(?)
Dana Jansens danakj@orodu.net
22869af5
snap to windows/edges an optional offset away
Dana Jansens danakj@orodu.net
347baf0c
had an extra window placement menu
Dana Jansens danakj@orodu.net
50598700
keep the new menus on top of normal windows
Dana Jansens danakj@orodu.net
d8a81781
redraw menu checkmarks when needed, this was broken since they're on the opposite side of the menu now
Dana Jansens danakj@orodu.net
a16a2732
Enable corner snapping option for both snap types
Dana Jansens danakj@orodu.net
81b3cf40
add cvsignore file
Dana Jansens danakj@orodu.net
ea02ab8c
add config menu entries for all the new window snapping/resistance options
Dana Jansens danakj@orodu.net
3356db48
add rc options for window snapping/resistance
Dana Jansens danakj@orodu.net
b1a2c014
snapping/resistance is optional for window and edge snapping
Dana Jansens danakj@orodu.net
628a4ff3
snap to bottoms too =]
Dana Jansens danakj@orodu.net
39bd954b
window resistance complete
Dana Jansens danakj@orodu.net
c2b3dc9f
more resistance working. edge of screen works right now
Dana Jansens danakj@orodu.net
d94e8c50
stab #3. window-to-window works. window-to-screen doesnt
Dana Jansens danakj@orodu.net
6fd25435
second stab at resistance
Dana Jansens danakj@orodu.net
e9a5c715
first stab at window resistance instead of snapping
Dana Jansens danakj@orodu.net
ef0bacba
dont switch workspaces when focusing a sticky window
Dana Jansens danakj@orodu.net
98846134
replace frobozz with the original from kyle
Dana Jansens danakj@orodu.net
f139b457
add some new styles for 2.0 from miklos
Dana Jansens danakj@orodu.net
09918dc5
try make bootstrap work in one pass for other people..
Dana Jansens danakj@orodu.net
76451a13
make xft support default on
Dana Jansens danakj@orodu.net
79916c27
remove the "exec " from the command for running menu stuff so that normal shell things work right in the menu
Dana Jansens danakj@orodu.net
25a18140
remove sticky windows from other workspaces when unsticking. stop the abuse of stick()! dont just re-call it!
Dana Jansens danakj@orodu.net
a7515b6d
don't focus non-visible windows
Dana Jansens danakj@orodu.net
961d7eb5
since !isNormal windows cant focus from mouse enter events anyays, we don't need to unmap them/remap them on workspace changes, so we don't. this way they dont flash.
Dana Jansens danakj@orodu.net
06b160db
use a list of rects instead of windows for window-to-window snapping. Also, snap directly to the slit and toolbar, instead of snapping to the strut.
Dana Jansens danakj@orodu.net
d86284c0
make root scrolling customizable
Dana Jansens danakj@orodu.net
77c518f8
better sticky windows.
Dana Jansens danakj@orodu.net
f61a455e
get the window's title before adding it to the workspace, since the workspace menu wants that title
Dana Jansens danakj@orodu.net
03f9d617
sync with bb-cvs (fixes the java bug, plus menu prasing redone)
Dana Jansens danakj@orodu.net
9e7f5d22
added sticky windows in the wrong place, before the window was even fully initialized ont he workspace.
Dana Jansens danakj@orodu.net
d06cedce
keep a minimum menu height so that the pixmaps (checkmarks) draw right in them
Dana Jansens danakj@orodu.net
86af1224
dont assert for focusing !isNormal() windows
Dana Jansens danakj@orodu.net
5ec63388
fixes to make sticky windows work better. they appear in all workspace lists, they get focus when switching workspaces properly, their workspace menus show their focus properly.
Dana Jansens danakj@orodu.net
3816b6a2
when a window is uniconified, ensure its nothe 'last focused window' on some other workspace
Dana Jansens danakj@orodu.net
98c17f18
let normal windows be netizens again
Dana Jansens danakj@orodu.net
d2ab5864
sync with bb-cvs
Dana Jansens danakj@orodu.net
d7bf31c5
make the execute process better
Dana Jansens danakj@orodu.net
ca316865
remove debug cout
Dana Jansens danakj@orodu.net
83b6c9bf
sync with bb-cvs
Dana Jansens danakj@orodu.net
cd6c4ebc
add new binary
Dana Jansens danakj@orodu.net
462ccd7c
sync with bb-cvs
Dana Jansens danakj@orodu.net
6253730e
don't worry abou overlapping the toolbar if there is none.
Dana Jansens danakj@orodu.net
aab3c5df
add default workspace change bindings
Dana Jansens danakj@orodu.net
b065c29a
make what is output optional
Dana Jansens danakj@orodu.net
fb7b6b37
add the xftlsfonts utility
Dana Jansens danakj@orodu.net
97c3b159
dont focus more than one window when cycling!
Dana Jansens danakj@orodu.net
fa95bcda
wait for 20 seconds instead of 20 milliseconds for a netwm window manager to appear
Dana Jansens danakj@orodu.net
60f0d892
take out that goddamn stupid assert
Dana Jansens danakj@orodu.net
1e5bbca8
use the flag not the function
Dana Jansens danakj@orodu.net
0d209464
better focusing. don't set the focused window when its not really set yet, and don't uncheck windows as they lose focus when they are iconified
Dana Jansens danakj@orodu.net
fa34ea52
don't try pass focus off to windows that dont take it
Dana Jansens danakj@orodu.net
49c04eaf
fix capitalization
Dana Jansens danakj@orodu.net
d6cc0b61
document the current hardcoded key bindings
Dana Jansens danakj@orodu.net
33cce0d9
remove a debug cout
Dana Jansens danakj@orodu.net
ae86775d
make lastActiveWindow more intelligent
Dana Jansens danakj@orodu.net
0adf54b0
better window focusing
Dana Jansens danakj@orodu.net
746c37b2
smarter window cycling, behave with omnipresent windows
Dana Jansens danakj@orodu.net
d18f6a4b
dont unshade windows when they get focus
Dana Jansens danakj@orodu.net
8e38989e
remove some unneeded std::'s
Dana Jansens danakj@orodu.net
4652af7b
watch for case where not all screens get managed!
Dana Jansens danakj@orodu.net
28594da6
epist + multihead == <drool>
added next/prevWindowOnAllScreens
added next/prevScreen
Dana Jansens danakj@orodu.net
3792d283
make more clear
Dana Jansens danakj@orodu.net
f6a3cd61
cycle windows was looping forever!
Dana Jansens danakj@orodu.net
809f819e
dont ignore full maxed windows while they are shaded just because they are full maxed
Dana Jansens danakj@orodu.net
5cb2020b
make modal dialogs unmodal before reassigning focus when they are unmanaged
Dana Jansens danakj@orodu.net
733b4f4a
add comment
Dana Jansens danakj@orodu.net
9500c095
dont accept motion events with same_screen set to false
Dana Jansens danakj@orodu.net
64177665
indenting
Dana Jansens danakj@orodu.net
c6699031
no more segging when adding removing windows
Dana Jansens danakj@orodu.net
725e87a0
reorder the menu, put Workspace Warping beside the opaque moving option
Dana Jansens danakj@orodu.net
6747a451
add configmenu option for workspace warping
Dana Jansens danakj@orodu.net
be306f6b
add rc option for workspaceWarping
Dana Jansens danakj@orodu.net
a41a0c1a
fix a crash. when the window loses focus during its death, it uses the timer object, which was being deleted.
Dana Jansens danakj@orodu.net
ba9c665a
workspace warping. this needs to be optional! also motion events are retarded!
Dana Jansens danakj@orodu.net
fc792813
including wrong
Dana Jansens danakj@orodu.net
4c03637f
modal transients wouldnt throw their focus up to their arent cuz the parent didnt know the modal dialog was gone yet and would pass it back to them.
Dana Jansens danakj@orodu.net
b1874480
place large windows correctly instead of asserting
Dana Jansens danakj@orodu.net
1e19ccc2
snapping better to the xinerama regions
Dana Jansens danakj@orodu.net
a0f9b93d
indenting
Dana Jansens danakj@orodu.net
107e0911
check to make sure the workspaces is > 0 not != 0
Dana Jansens danakj@orodu.net
3a9f0752
much nicer hardcoded bindings! :)
Dana Jansens danakj@orodu.net
c15287a8
menu was off-by-one when no xinerama support was built in
Dana Jansens danakj@orodu.net
b73ff84f
make it real easy to change the modifier key used for mouse bindings
Dana Jansens danakj@orodu.net
fd903553
xinerama support where it shouldnt be
Dana Jansens danakj@orodu.net
e8f387ea
handle events on the right screen
Dana Jansens danakj@orodu.net
6268e2c4
run execs
Dana Jansens danakj@orodu.net
da67802b
add a xinerama support menu
Dana Jansens danakj@orodu.net
ccecab79
dont snap windows to rects they arent in for the screen regions (xinerama) or strut/screenarea
Dana Jansens danakj@orodu.net
debe8a2f
window snapping now has xinerama support
Dana Jansens danakj@orodu.net
98d4ac78
turn RectList into a vector
Dana Jansens danakj@orodu.net
47585423
default all xinerama support options to off
Dana Jansens danakj@orodu.net
47d7f62b
had an extra const in there
Dana Jansens danakj@orodu.net
270981e6
better cascade placement! also, it has xinerama support now!
Dana Jansens danakj@orodu.net
e943c31b
only say xinerama is active if we can find some regions for it
Dana Jansens danakj@orodu.net
c293fd65
xinerama support for maximizing windows
Dana Jansens danakj@orodu.net
b7ab0001
move an assert to its proper place
Dana Jansens danakj@orodu.net
e18ff901
xinerama support for window placement
Dana Jansens danakj@orodu.net
6ea8fb9a
function declaration for a function that no longer exists
Dana Jansens danakj@orodu.net
9fe6b282
get the right rects for the xinerama regions
Dana Jansens danakj@orodu.net
f7122039
make work without --enable-xinerama
Dana Jansens danakj@orodu.net
bcb14a3c
acquire and provide Xinerama information for the window manager. now we just gotta use it.
Dana Jansens danakj@orodu.net
a0cf45a0
handle all combinations of lock modifiers on keypress
this should be an rc file option
Scott Moynes smoynes@nexus.carleton.ca
f754eb0e
Handle all combinations of the lock modifiers on a keypress.
This should be a rc file option once we have one.
Scott Moynes smoynes@nexus.carleton.ca
296c12c0
add Xft-build-support and Xinerama-build-support to the -help output
add --enable-xinerama to configure
Dana Jansens danakj@orodu.net
0ee56605
dont use "exec " anymore cuz then stuff like && doesn't work
Dana Jansens danakj@orodu.net
728022e1
exec stuff with "exec " so the sh isnt left over in memory for each process
Dana Jansens danakj@orodu.net
df7120d5
new slit placement. yea its kinda weak. this can get improved late if people complain. slit is going away anyways for 3.0.
Dana Jansens danakj@orodu.net
bd7f9481
sync with bb-cvs.
Add option in config menu for disabling mouse input with scroll lock.
Remove compile-time flag for event clobbering since this solves that problem for now.
Dana Jansens danakj@orodu.net
54c495c8
add some cvsignore's
Dana Jansens danakj@orodu.net
66803e3a
add no_NO and ro_RO translations
Dana Jansens danakj@orodu.net
7d4a07cb
i put paths in here by accident ^_^
Dana Jansens danakj@orodu.net
3fd35d37
add another hardcoded binding :)
Dana Jansens danakj@orodu.net
7493785c
new windows on non-visible workspaces should follow the same focus rules as those on the visible workspace. if "Focus New Windows" is on, then they should get focus when the workspace becomes visible.
Dana Jansens danakj@orodu.net
c258a471
remove the add/remove/active_window debug cout's
Dana Jansens danakj@orodu.net
675d16c7
implement window resizing. using resizing incrememnts if the window has requested them!
Dana Jansens danakj@orodu.net
5b91573e
implement window resizing
Dana Jansens danakj@orodu.net
6595476d
keep track of window dimentions
use them for window moving
Dana Jansens danakj@orodu.net
54dfa44c
move the Strut struct from Screen.hh to Util.hh
Dana Jansens danakj@orodu.net
32ac5d9b
add action and design for resizing a window
Dana Jansens danakj@orodu.net
4aeca296
implement toggleMaximize(Vert|Horz|Full)
Dana Jansens danakj@orodu.net
f7a41999
implement moveWindowUp/Down/Left/Right
Dana Jansens danakj@orodu.net
a16ae873
changed teh builtin bindings.. :)
Dana Jansens danakj@orodu.net
aa34774d
now it opens on all possible screens
Dana Jansens danakj@orodu.net
6d403feb
let you specify the class for cycling windows per class
Dana Jansens danakj@orodu.net
7d67f855
make cycling by window class work properly, was using the app name instead of class
also, make the code gcc 2.95 friendly
Dana Jansens danakj@orodu.net
ffd7021d
add maximizing to the action enum
Dana Jansens danakj@orodu.net
843f9726
add execute command. add string to action class.
Dana Jansens danakj@orodu.net
f32096dc
exec works now
Dana Jansens danakj@orodu.net
bf3c87c8
added hardcoded bindings for changeWorkspace 1-4
Dana Jansens danakj@orodu.net
e8fcc69d
rename the sendTo action to sendToWorkspace
Dana Jansens danakj@orodu.net
6a8f5f44
added sendTo action
Dana Jansens danakj@orodu.net
5cb52056
add 'toggleomnipresent' action
Dana Jansens danakj@orodu.net
e01cab39
small change.
Dana Jansens danakj@orodu.net
92864e8d
add cycling of windows of the same class on all workspaces
Dana Jansens danakj@orodu.net
348c8bff
add cycling of next/prev window of class
Dana Jansens danakj@orodu.net
a9dfa043
add next/prev window on all workspaces
Dana Jansens danakj@orodu.net
faab750f
properly track the active workspace and the number of workspaces.
use these to cycle workspaces.
Dana Jansens danakj@orodu.net
c6234a4d
add iconifying
Dana Jansens danakj@orodu.net
b94699af
add raising and lowering
Dana Jansens danakj@orodu.net
5bf463ea
add the ability to close a window
Dana Jansens danakj@orodu.net
c9be3ee0
added window cycling
Dana Jansens danakj@orodu.net
8e601e4a
line up the vars
Dana Jansens danakj@orodu.net
b790e78e
make the returned action list a const reference
Dana Jansens danakj@orodu.net
8ec56b99
make the action list returned a const
Dana Jansens danakj@orodu.net
f693859b
remove some debug couts
Dana Jansens danakj@orodu.net
b4816f24
make shading work
Dana Jansens danakj@orodu.net
7d153b74
dont pass bound keys through to the application
Dana Jansens danakj@orodu.net
c517f511
some cleanups and such.
Dana Jansens danakj@orodu.net
b4411cb1
Added changeWorkspace() and a broken toggleShaded()
Scott Moynes smoynes@nexus.carleton.ca
a939bb6e
properly scope thse stl stuff please!
Dana Jansens danakj@orodu.net
be77122b
add file headers and couple fixups
Dana Jansens danakj@orodu.net
b9e5c705
no need to scope here
Dana Jansens danakj@orodu.net
bf21451f
add a count to the actions enum
Dana Jansens danakj@orodu.net
1ed841ef
make both for's work teh same way
Dana Jansens danakj@orodu.net
8cfa247c
insert some whitespace
Dana Jansens danakj@orodu.net
ba58f65d
added contructor for the actions
Scott Moynes smoynes@nexus.carleton.ca
a0e50e15
fix typos
Dana Jansens danakj@orodu.net
df61eecc
add ifdefs for config.h
Dana Jansens danakj@orodu.net
5d95d24d
use the _variable member naming convention
Dana Jansens danakj@orodu.net
a79513f3
make epist not build with the rest of the source tree
Dana Jansens danakj@orodu.net
37824505
screwed up the order in which hints were retrieved on windows. this actualy turns out to be important :)
Dana Jansens danakj@orodu.net
5862475f
make HUP reconfigure as in blackbox. make USR1 restart instead
Dana Jansens danakj@orodu.net
256bcbed
changing the number of workspaces in the rc does something without restarting now!
Dana Jansens danakj@orodu.net
f586e55a
Added an action class and started the even handler.
Scott Moynes smoynes@nexus.carleton.ca
0326ac96
don't try to show windows which are already shown. this also ends up fixing an elusive segfault.
Dana Jansens danakj@orodu.net
23da937e
only focus new transient windows if their parent has the input focus
Dana Jansens danakj@orodu.net
6b3f5abd
dont reconfigure during startup. thats a waste and screws up stuff!
Dana Jansens danakj@orodu.net
90239e2b
make the bullet, checkmark, and text, all the same color in the menu
Dana Jansens danakj@orodu.net
62d40248
updated todo. took out things we have done. added new goal for 3.0.
Dana Jansens danakj@orodu.net
ec5ea27e
select the focused window in the workspace menu
Dana Jansens danakj@orodu.net
3442c5ef
add cvsignore
Dana Jansens danakj@orodu.net
7972a75e
fix some capitalisations
Dana Jansens danakj@orodu.net
5b0751d5
move the checkmarks to the opposite side of the bullets. This means they still can be used in the workspace menu for the focused workspace.
Dana Jansens danakj@orodu.net
0a9da781
change the color used for the checkmark. match the text. dont check the current workspace in the workspace menu.
Dana Jansens danakj@orodu.net
f020fb58
new checkmark for the menus
Dana Jansens danakj@orodu.net
c804a5a0
added some notes about a config file format
Scott Moynes smoynes@nexus.carleton.ca
4b339891
reverse the if
Dana Jansens danakj@orodu.net
de6c4093
dont put non-normal windows in the stacking list. they dont show up in theclient list either.
Dana Jansens danakj@orodu.net
8db840cb
adjust goals for 2.0
Dana Jansens danakj@orodu.net
014a3330
add for ClickMousePlacement
Dana Jansens danakj@orodu.net
2dde696a
much awesome support for special windows like panels/desktops.
All 'non-normal' windows are treated equally now, with a fe wexceptionms for the desktop for stacking.
Fix some ClicmMousePlacement bugs while we're at it.
Dana Jansens danakj@orodu.net
41053a81
put the assert back. better solution in mind
Dana Jansens danakj@orodu.net
d5d02c45
taking out an assert that only causes problems
Dana Jansens danakj@orodu.net
daaac0df
Click Mouse Placement is BACK!#!#
Dana Jansens danakj@orodu.net
94d86896
add sendClientMessage
Dana Jansens danakj@orodu.net
ede324b4
screw that change. the next releaase will be 2.0.0!
Dana Jansens danakj@orodu.net
b03eccf8
change the version number back a bit. preparing for a testing release.
Dana Jansens danakj@orodu.net
315f1d10
switch workspaces if neccessary for a NET_WM_ACTIVE_WINDOW ClientMessage
Dana Jansens danakj@orodu.net
7427fe1b
make bbkeys' cycliong work right, how it used to. instead of working like supoprt for brokenass kwin does
Dana Jansens danakj@orodu.net
1d4391b0
dont reposition non-normal/dialog windows when they get focus, such as kde's kicker, if they are off screen. they are special and may be doing this on purpose
Dana Jansens danakj@orodu.net
fb613db2
dont let focus fall back to strange windows like panels, only to normal windows and dialogs
Dana Jansens danakj@orodu.net
5cf86b18
add options for ignoring shaded windows and full-maxed windows while placing new windows
Dana Jansens danakj@orodu.net
27fadda0
Don't install epist until it actually does something of value
Scott Moynes smoynes@nexus.carleton.ca
af0eced0
kde's 'desktop menu' now works just like a panel
Dana Jansens danakj@orodu.net
90dbcb27
properly handle workspace names, and changes to them.
Dana Jansens danakj@orodu.net
c6a826bf
fix case where the window group deletes itself. somehow missed this while syncing! :(
Dana Jansens danakj@orodu.net
3312a209
sych with blackbox
Dana Jansens danakj@orodu.net
1525520d
make arrows larger, match th size of the other bullets. make all bullets' sizes quickly/easily adustable
Dana Jansens danakj@orodu.net
8ff1b709
make sure the desktop names atom is set when setting a workspace name, even when it doesnt already exist (bug fix)
Dana Jansens danakj@orodu.net
8cb1108f
properly lower windows and keep desktop windows on the bottom.
Dana Jansens danakj@orodu.net
043e42a3
libgen.h is used by basename()
Dana Jansens danakj@orodu.net
0b198a00
update deps in the Makefile
Dana Jansens danakj@orodu.net
09591a9a
more actions
Dana Jansens danakj@orodu.net
129f5655
add a size specifier to the enum
Dana Jansens danakj@orodu.net
836d9362
removing now-unused files.
Dana Jansens danakj@orodu.net
24a1e215
epist now based on the BaseDisplay.
has the ability to be multiscreen!
Dana Jansens danakj@orodu.net
89d09297
some of the actions I came up with
Scott Moynes smoynes@nexus.carleton.ca
5112b627
gets a whole lotta window information now, and updtes when it changes!
Dana Jansens danakj@orodu.net
e8b6f651
add support for the WM_CLASS property.
make getValue for a string array return the right number in nelements.
Dana Jansens danakj@orodu.net
5fed16de
we now know for every window its state and its desktop
Dana Jansens danakj@orodu.net
b10d59da
some more notes
Scott Moynes smoynes@nexus.carleton.ca
0a9130b6
now we know the state of windows
Dana Jansens danakj@orodu.net
cf3d512a
add header for perror()
Dana Jansens danakj@orodu.net
31732c15
Initial notes on design and features
Scott Moynes smoynes@nexus.carleton.ca
17fbff7d
make the wheel mouse shade anywhere on the titlebar, and not press buttons. thanks woodlbock.
Dana Jansens danakj@orodu.net
0aae7241
epist now handles -display on the command line, and gets the client list and act
ive window
Dana Jansens danakj@orodu.net
7aea20d6
epist parses teh cpommand line for -display, and catches Property notify events. It knows about the client list and active window so far
Dana Jansens danakj@orodu.net
426b1ea2
open an X display
Dana Jansens danakj@orodu.net
c8d584f9
added signal handling
Dana Jansens danakj@orodu.net
06413d7e
add the copyright
Dana Jansens danakj@orodu.net
f04d2f0f
adding epist!
Dana Jansens danakj@orodu.net
26c5c405
-fno-inline when compiling in debug mode
Dana Jansens danakj@orodu.net
f320a023
clean up the systray and desktop lists
Dana Jansens danakj@orodu.net
cac80d06
restart the window manager on a SIGHUP
Dana Jansens danakj@orodu.net
9e99a9a1
sync with bb cvs
Dana Jansens danakj@orodu.net
b21cf8b3
add another return, and return a value for a non-void funtion.
Dana Jansens danakj@orodu.net
25f3456b
missing a ;
Dana Jansens danakj@orodu.net
66119f75
add some returns so the compiler doesnt get confused
Dana Jansens danakj@orodu.net
235d9e4c
use a BPen in the BFont class for drawing standard X fonts
Dana Jansens danakj@orodu.net
0c04fb52
synch with bb-cvs.
add window resize zones. the resource has been renamed from windowZones to resizeZones.
Dana Jansens danakj@orodu.net
8e34bfcf
keep iconified windows' workspace set to BSENTINEL, but set the NETWM hint to 0xffffffff (all desktops)
Dana Jansens danakj@orodu.net
f2ecfb62
when a window is iconified, set its workspace to 'all workspaces' so it shows up in taskbars still. otherwise its impossible to get back iconified windows. update teh stacking list when windows switch workspaces.
Dana Jansens danakj@orodu.net
20bc088a
add option to the rc file to use/not use AA for Xft fonts
Dana Jansens danakj@orodu.net
858af98b
add the korean translation dir to configure
Dana Jansens danakj@orodu.net
1618ecc8
extend the style format to use xft.(font|size|flags) to specify an xft font
Dana Jansens danakj@orodu.net
5ba3ee6e
make the Xft check actually work
Dana Jansens danakj@orodu.net
137a0c4e
allow style options in the rc file to override those found in the style
Dana Jansens danakj@orodu.net
32c13697
no need to call XrmInit outside of Config class. fix indenting.
Dana Jansens danakj@orodu.net
1da52876
dont need to XrmInit outside of the Config class. fix indenting.
Dana Jansens danakj@orodu.net
abb124bd
add .cvsignore for korean nls dir
Dana Jansens danakj@orodu.net
6d4aa1af
fix a debug print
Dana Jansens danakj@orodu.net
ed27f241
added korean translation
Dana Jansens danakj@orodu.net
e043f648
make Xft default to off, you have ot --enable-xft now
Dana Jansens danakj@orodu.net
ed3e5975
don't cast char*'s to string's needlessly
Dana Jansens danakj@orodu.net
300491ce
sync with bb-cvs
Dana Jansens danakj@orodu.net
b2997719
try make the ~/.openbox dir if it doesnt exist.
Dana Jansens danakj@orodu.net
b950402b
remove some debug fprintfs
Dana Jansens danakj@orodu.net
5282d92b
was ending up using the wrong cache items. now i find and release it every time a string is drawn
Dana Jansens danakj@orodu.net
6716bd33
sync with bb-cvs: re-add support for alt-button2, fix some off by 2's temorarily
Dana Jansens danakj@orodu.net
9d2f88e0
use the True/False as is the blackbox code standard.
Dana Jansens danakj@orodu.net
4abbbd9f
remove compiler warnings
Dana Jansens danakj@orodu.net
b3c31573
fix a memleak reported by valgrind
Dana Jansens danakj@orodu.net
6954842d
when placing a window, dont use its strut while placing itself.
Dana Jansens danakj@orodu.net
e15e4a9e
make iconified windows uniconify on an XMapRequestEvent.
sync with blackbox cvs.
Dana Jansens danakj@orodu.net
be2f4722
make the styles' doJustify methods stop returning the string length as this is no longer needed with the BFont class
Dana Jansens danakj@orodu.net
de868d58
look for the rigt function in the libxft
Dana Jansens danakj@orodu.net
08d793bb
add BFont class, with Xft support
Dana Jansens danakj@orodu.net
9aaf4f8d
some memory bugs from woodblock (thanks!)
Dana Jansens danakj@orodu.net
75a068cc
removing old Makefile.in, rolling back Makefile.am to before the mappable muse button bindings
Dana Jansens danakj@orodu.net
888c0bac
backing out all changes to make mouse button mapping's configurable
Dana Jansens danakj@orodu.net
ffa4c7f3
sync with bb. mostly cleanups in Window.cc
Dana Jansens danakj@orodu.net
18064df1
add capability to stick a window from input, and make close buttons work.
Dana Jansens danakj@orodu.net
351a0665
Configureable button mappings!
Dana Jansens danakj@orodu.net
b0d81f77
proper order for the stacking order list
Dana Jansens danakj@orodu.net
87160220
make desktop windows get lowered properly
Dana Jansens danakj@orodu.net
eb136b96
use the _NET_WM_DESKTOP_NAMES root property
Dana Jansens danakj@orodu.net
e9f582ae
make getting a list of strings work right
Dana Jansens danakj@orodu.net
578a5cc9
make fully max'd windows properly snap
Dana Jansens danakj@orodu.net
b2e9af88
add the functionality for window-window snapping
Dana Jansens danakj@orodu.net
f4c0547b
merge from netwm-merge2 to netwm-merge3. Basically, all of netwm that we intend to support is 'supported'. Just need to squash bugs now.
Dana Jansens danakj@orodu.net
1766453c
sync with blackbox-cvs
Dana Jansens danakj@orodu.net
8941da8e
change to match blackbox
Dana Jansens danakj@orodu.net
e90fafd2
fix off-by-ones in window-to-window snapping. move the property from the blackbox class to the screen class.
Dana Jansens danakj@orodu.net
aad50046
synched with bb-cvs. couple bug fixes.
Dana Jansens danakj@orodu.net
7a553233
syching with bb-cvs. rm .\#* on make dist-clean. nls updates.
Dana Jansens danakj@orodu.net
705ccbfd
documentation fixes
Dana Jansens danakj@orodu.net
a7db565c
window-to-window snapping is now a run-time option.
window-corner snapping added, and also is a run-time option.
Dana Jansens danakj@orodu.net
f0c2fa18
window-to-window corner snapping!
Dana Jansens danakj@orodu.net
39d598e5
backing out sticky transients change, this should go in the netwm branch
Dana Jansens danakj@orodu.net
1775e867
sync with bb-cvs
Dana Jansens danakj@orodu.net
4e0fde35
make all parents/transients that are related have the same sticky state.
Dana Jansens danakj@orodu.net
20bac077
on reconfigure, save all of the open submenus instead of just one, and then reopen them all as best as possible.
Dana Jansens danakj@orodu.net
e149ab6c
no need to try the same screen edge twice for snapping when full max is on
Dana Jansens danakj@orodu.net
9ccebf11
redecorating fixups. sync with bb cvs.
Dana Jansens danakj@orodu.net
c5c5a80c
fix bug from merging last netwm stuff
Dana Jansens danakj@orodu.net
5336c900
merge in netwm branch at tag netwm-merge2
Dana Jansens danakj@orodu.net
23640740
sync with bb cvs
Dana Jansens danakj@orodu.net
47877155
save the right number of workspaces to the rc when adding/removing one
Dana Jansens danakj@orodu.net
77cf8a6f
put webpage in the man page. Also, a couple fixes.
Dana Jansens danakj@orodu.net
53353465
fix so that FocusIn events for focus transer from root->client are used.
Dana Jansens danakj@orodu.net
b8ee3dbc
merging in netwm changes at merge point "netwm-merge1". This add the XAtom class, and sets the net_supported_wm_check related atoms.
Dana Jansens danakj@orodu.net
5ae928ff
updateing missed nls headerswq
Dana Jansens danakj@orodu.net
c9e1855b
updated cvsignore's to match nls changes
Dana Jansens danakj@orodu.net
12fcb33b
re-added UnderMouse Placement
added NLS support in the new configure system.
Dana Jansens danakj@orodu.net
b48e215c
updated nls to use openbox.cat
Dana Jansens danakj@orodu.net
8eb93055
disable the current workspace in the send-to menu
Dana Jansens danakj@orodu.net
46b2484e
let a window snap to more than one window at a time
Dana Jansens danakj@orodu.net
734a9673
window-to-window snapping
Dana Jansens danakj@orodu.net
0bf0d844
adding .cvsignore files to the repository to clean up the output whenever you commit some sort of cvs action
Dana Jansens danakj@orodu.net
b13452a0
when nothing is to be focused, give the root window focus instead of the toolbar (since the toolbar is not neccesarily mapped anymore!)
Dana Jansens danakj@orodu.net
57ac5e5b
sync with bb-cvs
Dana Jansens danakj@orodu.net
6284d4ef
fix bug where destroying the wrong windows in BlackboxWindow::positionButtons.
make util/ directory use the new config.h too
Dana Jansens danakj@orodu.net
62ea1c59
use config.h for configuration options instead of a bunch of -D's on the compile command lines
Dana Jansens danakj@orodu.net
5377e3fd
added "Hide Toolbar" option.
Dana Jansens danakj@orodu.net
b0f8eab0
make window menu behavior consistant. ignore !button1.
Dana Jansens danakj@orodu.net
341c4e04
mouse wheel support
custom titlebar layout
Dana Jansens danakj@orodu.net
c2ab9023
prevent (and if need be revert) shading if titlebar decor is toggled off
Dana Jansens danakj@orodu.net
f5f7c8fb
use the raw screen size not the strut adjusted size to determine max_height and width of a client
Dana Jansens danakj@orodu.net
59cea4f2
save workspace names properly with the new Configuration class.
Dana Jansens danakj@orodu.net
0305cbdc
add Configuration class for generic configuration data load/save-ing.
use Configuration class throughout code. no longer save rc file on exit, save when any options are changed.
Dana Jansens danakj@orodu.net
60b2990e
using configure.ac causes problems. switching back to configure.in
Dana Jansens danakj@orodu.net
0c7e8e40
fixed the geometry window not getting the proper pixmap.  This was caused by using a style with the window.label.focus set to parentrelative.  The window label's parent is the title bar but the geometry window's parent is root.  The code now detects the parentrelative and tries to use the window.title as intended.
Dana Jansens danakj@orodu.net
c04cb764
- raise the window during maximization if the user clicked the maximize button, but otherwise don't

- two fixes here.  1) only raise window in maximize if the window is focused, 2) remap window on reparent event
Dana Jansens danakj@orodu.net
2f65b653
make use of the --enable-clobber option
Dana Jansens danakj@orodu.net
d744d375
reindent version string
Dana Jansens danakj@orodu.net
e5d6ed91
reindent again. better now.
Dana Jansens danakj@orodu.net
ca5b573f
reindent the help/usage message
Dana Jansens danakj@orodu.net
99555fea
reusing the blackbox-cvs bsetroot. it did in fact work right now.
Dana Jansens danakj@orodu.net
b3737edc
use openbox/ dir for rc file and menu file. turn menu into a command line option instead of an rc file option
Dana Jansens danakj@orodu.net
e5bdc511
build a 'openbox' binary
Dana Jansens danakj@orodu.net
f70f3028
use our default style
Dana Jansens danakj@orodu.net
f992b34c
use our version string
Dana Jansens danakj@orodu.net
73e2192c
missed files from import of bb-cvs
Dana Jansens danakj@orodu.net
e65c4022
import from bb-cvs
Dana Jansens danakj@orodu.net
c2609fbe
removing useless files
Dana Jansens danakj@orodu.net
3531afa1
imprted new tools from bb-cvs
re-change bsetroot to work preperly regarding the root window atoms
Dana Jansens danakj@orodu.net
20063c22
import from bb-cvs
Dana Jansens danakj@orodu.net
8794d357
import from bb-cvs
added slit and enable-clobber defines back in Makefile.am
Dana Jansens danakj@orodu.net
e640ee15
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
57a228e4
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
d90c5e64
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
d1522965
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
ca96fe0e
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
74cd4c9f
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
a0d1898a
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
926bf375
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
136d4279
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
eb298511
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
840011db
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
278df533
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
0cd371c3
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
c8a59b3f
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
29914b7d
nls from bb-cvs
added yself to the usage string
added the slit option back in
added the event clobber option back in
Dana Jansens danakj@orodu.net
79c6511c
new nls from bb-cvs
Dana Jansens danakj@orodu.net
4b4249c5
new nls from bb-cvs
Dana Jansens danakj@orodu.net
03460568
new nls from bb-cvs
Dana Jansens danakj@orodu.net
65ffd88c
new nls from bb-cvs
Dana Jansens danakj@orodu.net
c2fee7f9
new nls from bb-cvs
Dana Jansens danakj@orodu.net
1743de85
new nls from bb-cvs
Dana Jansens danakj@orodu.net
7953f502
new nls from bb-cvs
Dana Jansens danakj@orodu.net
a5617f1d
new nls from bb-cvs
Dana Jansens danakj@orodu.net
b800483f
new nls from bb-cvs
Dana Jansens danakj@orodu.net
a8910a4e
new nls from bb-cvs
Dana Jansens danakj@orodu.net
8ba8f10e
new nls from bb-cvs
Dana Jansens danakj@orodu.net
935b35c6
new nls from bb-cvs
Dana Jansens danakj@orodu.net
6bb32292
new nls from bb-cvs
Dana Jansens danakj@orodu.net
e0828cb0
new nls from bb-cvs
Dana Jansens danakj@orodu.net
df8200e1
new nls from bb-cvs
Dana Jansens danakj@orodu.net
7ca4d987
new root dir based on bb-cvs
Dana Jansens danakj@orodu.net
18bdbfaa
better string get/set
Dana Jansens danakj@orodu.net
120d8e5a
updated -version output ot list myself
Dana Jansens danakj@orodu.net
bbbe226c
refix i18n for --disable-nls
Dana Jansens danakj@orodu.net
e7c332a5
missing an include
Dana Jansens danakj@orodu.net
6ed6a9d1
fix for compiling with --disable-nls
Dana Jansens danakj@orodu.net
ac62af41
fix compiling with --disable-nls
Dana Jansens danakj@orodu.net
d03852ad
fix compliling with --disable-slit
Dana Jansens danakj@orodu.net
a85c9a7c
added XAtom class, and it all now compiles.
Dana Jansens danakj@orodu.net
83347770
make work with new i18n
Dana Jansens danakj@orodu.net
67b4df1e
merge the sticky window fix from 1.2.
Dana Jansens danakj@orodu.net
a25b213a
updated goals
Dana Jansens danakj@orodu.net
fda410fd
fixed sticky windows!
Dana Jansens danakj@orodu.net
20d7381f
new versions of the X classes
added an Atom in XAtom and functionality in XScreen and XDisplay
Dana Jansens danakj@orodu.net
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