mikachu/openbox.git
18 years agoinclude Xlib.h for Pixmap
Dana Jansens [Mon, 17 Mar 2003 00:38:15 +0000 (00:38 +0000)]
include Xlib.h for Pixmap

18 years agoadd mask.[ch]
Dana Jansens [Mon, 17 Mar 2003 00:37:52 +0000 (00:37 +0000)]
add mask.[ch]

18 years agoadd a struct for pixmap masks
Dana Jansens [Mon, 17 Mar 2003 00:37:23 +0000 (00:37 +0000)]
add a struct for pixmap masks

18 years agohack so text shows up
Derek Foreman [Mon, 17 Mar 2003 00:21:05 +0000 (00:21 +0000)]
hack so text shows up

18 years agodont delete the pixmap until after changeing the visible one
Dana Jansens [Mon, 17 Mar 2003 00:18:03 +0000 (00:18 +0000)]
dont delete the pixmap until after changeing the visible one

18 years agotrying to render text!
Dana Jansens [Mon, 17 Mar 2003 00:09:37 +0000 (00:09 +0000)]
trying to render text!

18 years agoadd missing include, pass right args to font_draw
Derek Foreman [Mon, 17 Mar 2003 00:08:03 +0000 (00:08 +0000)]
add missing include, pass right args to font_draw

18 years agomalloc. yeah.
Derek Foreman [Sun, 16 Mar 2003 23:49:05 +0000 (23:49 +0000)]
malloc.  yeah.

18 years agowill draw fonts when stop segging
Dana Jansens [Sun, 16 Mar 2003 23:45:25 +0000 (23:45 +0000)]
will draw fonts when stop segging

18 years agocopy textures in appearance_copy
Derek Foreman [Sun, 16 Mar 2003 23:41:42 +0000 (23:41 +0000)]
copy textures in appearance_copy

18 years agotry to render fonts
Derek Foreman [Sun, 16 Mar 2003 23:36:17 +0000 (23:36 +0000)]
try to render fonts
destroy pixmaps and xftdraws in appearance_delete

18 years agofont changes
Derek Foreman [Sun, 16 Mar 2003 23:35:51 +0000 (23:35 +0000)]
font changes

18 years agoremove printf and stdio.h
Derek Foreman [Sun, 16 Mar 2003 23:35:33 +0000 (23:35 +0000)]
remove printf and stdio.h

18 years agoadd font_draw
Derek Foreman [Sun, 16 Mar 2003 23:35:00 +0000 (23:35 +0000)]
add font_draw

18 years agoadd font_draw
Derek Foreman [Sun, 16 Mar 2003 23:34:45 +0000 (23:34 +0000)]
add font_draw
move font def'n to render.h

18 years agopointer's variables are config vars
Dana Jansens [Sun, 16 Mar 2003 23:15:20 +0000 (23:15 +0000)]
pointer's variables are config vars

18 years agofont.h and font.c
Derek Foreman [Sun, 16 Mar 2003 22:36:17 +0000 (22:36 +0000)]
font.h and font.c

18 years agoadded font_startup
Derek Foreman [Sun, 16 Mar 2003 22:35:55 +0000 (22:35 +0000)]
added font_startup

18 years agofilled out font texture
Derek Foreman [Sun, 16 Mar 2003 22:34:45 +0000 (22:34 +0000)]
filled out font texture

18 years agoadded some font stuff
Derek Foreman [Sun, 16 Mar 2003 22:34:05 +0000 (22:34 +0000)]
added some font stuff

18 years agomerge the C branch into HEAD
Dana Jansens [Sun, 16 Mar 2003 21:11:39 +0000 (21:11 +0000)]
merge the C branch into HEAD

18 years agouse the new config system.. a bit..
Dana Jansens [Wed, 19 Feb 2003 21:03:17 +0000 (21:03 +0000)]
use the new config system.. a bit..

18 years agotime to refactor shit hard
Dana Jansens [Wed, 19 Feb 2003 19:28:11 +0000 (19:28 +0000)]
time to refactor shit hard

18 years agocatch button presses on the client border (the plate's border)
Dana Jansens [Wed, 19 Feb 2003 12:12:32 +0000 (12:12 +0000)]
catch button presses on the client border (the plate's border)

18 years agomake the version printf just a debug message
Dana Jansens [Wed, 19 Feb 2003 12:00:05 +0000 (12:00 +0000)]
make the version printf just a debug message

18 years agomap to the highest possible desktop if a desktop too large is requested
Dana Jansens [Wed, 19 Feb 2003 09:35:13 +0000 (09:35 +0000)]
map to the highest possible desktop if a desktop too large is requested

18 years agoonly map on a requested desktop if its not out of range
Dana Jansens [Wed, 19 Feb 2003 09:33:30 +0000 (09:33 +0000)]
only map on a requested desktop if its not out of range

18 years agonick's no longer the site designer
Dana Jansens [Wed, 19 Feb 2003 07:45:43 +0000 (07:45 +0000)]
nick's no longer the site designer

18 years agoadd mention of being OSI Certified Open Source Software
Dana Jansens [Wed, 19 Feb 2003 07:44:42 +0000 (07:44 +0000)]
add mention of being OSI Certified Open Source Software

18 years agoAdded the much sought after horizontal gradient
Derek Foreman [Wed, 19 Feb 2003 03:55:51 +0000 (03:55 +0000)]
Added the much sought after horizontal gradient

18 years agolabels are higher than buttons too
Dana Jansens [Wed, 19 Feb 2003 02:41:22 +0000 (02:41 +0000)]
labels are higher than buttons too

18 years agosurface's have a size not a width()/height()
Dana Jansens [Wed, 19 Feb 2003 02:39:21 +0000 (02:39 +0000)]
surface's have a size not a width()/height()

18 years agolabels are not the size of buttons
Dana Jansens [Wed, 19 Feb 2003 02:38:47 +0000 (02:38 +0000)]
labels are not the size of buttons

18 years agomake labels' parent relative actually work :>
Dana Jansens [Wed, 19 Feb 2003 02:35:12 +0000 (02:35 +0000)]
make labels' parent relative actually work :>

18 years agomake parentrelative decorations work
Dana Jansens [Wed, 19 Feb 2003 02:31:35 +0000 (02:31 +0000)]
make parentrelative decorations work

18 years agodont assume only 5 mouse buttons.
Dana Jansens [Wed, 19 Feb 2003 01:29:11 +0000 (01:29 +0000)]
dont assume only 5 mouse buttons.
dont need to track them all either, kill the queue, and watch one at a timesmarter

18 years agoposition is a function
Dana Jansens [Wed, 19 Feb 2003 01:17:38 +0000 (01:17 +0000)]
position is a function

18 years agoposition relative to the window properly
Dana Jansens [Wed, 19 Feb 2003 01:17:14 +0000 (01:17 +0000)]
position relative to the window properly

18 years agolet any number of mouse buttons work
Dana Jansens [Wed, 19 Feb 2003 01:07:29 +0000 (01:07 +0000)]
let any number of mouse buttons work

18 years agoadd the new '-remote' option. let the dispatchEvents loop work in 'local' or 'remote...
Dana Jansens [Wed, 19 Feb 2003 00:58:59 +0000 (00:58 +0000)]
add the new '-remote' option. let the dispatchEvents loop work in 'local' or 'remote' mode.

18 years agoadd new options for placement of the motion coords popup.
Dana Jansens [Wed, 19 Feb 2003 00:56:42 +0000 (00:56 +0000)]
add new options for placement of the motion coords popup.
use a parentless label.

18 years agouse the new desktopNames()
Dana Jansens [Wed, 19 Feb 2003 00:56:06 +0000 (00:56 +0000)]
use the new desktopNames()

18 years agolet you create a parentless label
Dana Jansens [Wed, 19 Feb 2003 00:55:25 +0000 (00:55 +0000)]
let you create a parentless label

18 years agoa few optimizations to layouts/rendering
Dana Jansens [Wed, 19 Feb 2003 00:55:05 +0000 (00:55 +0000)]
a few optimizations to layouts/rendering

18 years agotypo!
Dana Jansens [Tue, 18 Feb 2003 22:57:28 +0000 (22:57 +0000)]
typo!

18 years agooops messed up centered
Dana Jansens [Tue, 18 Feb 2003 22:10:16 +0000 (22:10 +0000)]
oops messed up centered

18 years agoadd a POPUP_CENTERED option
Dana Jansens [Tue, 18 Feb 2003 22:09:17 +0000 (22:09 +0000)]
add a POPUP_CENTERED option

18 years agomake the highlighted button high a white border
Dana Jansens [Tue, 18 Feb 2003 16:03:13 +0000 (16:03 +0000)]
make the highlighted button high a white border

18 years agomake button text white in the default style
Dana Jansens [Tue, 18 Feb 2003 16:01:39 +0000 (16:01 +0000)]
make button text white in the default style

18 years agowatch for case where we think one button is pressed but it isnt anymore, making Click...
Dana Jansens [Tue, 18 Feb 2003 15:59:36 +0000 (15:59 +0000)]
watch for case where we think one button is pressed but it isnt anymore, making Click events get missed

18 years agoadjust to the new format for otk::Proeprty::get() functions (no nelements)
Dana Jansens [Mon, 17 Feb 2003 21:50:48 +0000 (21:50 +0000)]
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.

18 years agoprovide a function to return all the desktop names instead of one at a time.
Dana Jansens [Mon, 17 Feb 2003 21:49:39 +0000 (21:49 +0000)]
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)

18 years agokeep track of if the move is the final move or not, and pass it along
Dana Jansens [Mon, 17 Feb 2003 21:48:54 +0000 (21:48 +0000)]
keep track of if the move is the final move or not, and pass it along

18 years agofocus does not return anything now, cuz its just the function which sends a focus...
Dana Jansens [Mon, 17 Feb 2003 21:48:14 +0000 (21:48 +0000)]
focus does not return anything now, cuz its just the function which sends a focus event

18 years agoscreeninfo and display are no more
Dana Jansens [Mon, 17 Feb 2003 21:47:48 +0000 (21:47 +0000)]
screeninfo and display are no more

18 years agouse the new sexy additions to the python classes
Dana Jansens [Mon, 17 Feb 2003 21:47:34 +0000 (21:47 +0000)]
use the new sexy additions to the python classes

18 years agoset teh xinerama stuff even when not compiled with the xinerama extension so code...
Dana Jansens [Mon, 17 Feb 2003 21:47:09 +0000 (21:47 +0000)]
set teh xinerama stuff even when not compiled with the xinerama extension so code can use it always

18 years agoswig cares about (void) it seems :\
Dana Jansens [Mon, 17 Feb 2003 21:46:34 +0000 (21:46 +0000)]
swig cares about (void) it seems :\

18 years agocalcDefaultSizes is protected
Dana Jansens [Mon, 17 Feb 2003 21:45:58 +0000 (21:45 +0000)]
calcDefaultSizes is protected

18 years agouse "fixed" as the fallback font always
Dana Jansens [Mon, 17 Feb 2003 21:45:38 +0000 (21:45 +0000)]
use "fixed" as the fallback font always

18 years agorename getRenderControl to the more precise createRenderControl
Dana Jansens [Mon, 17 Feb 2003 21:45:17 +0000 (21:45 +0000)]
rename getRenderControl to the more precise createRenderControl

18 years agonelements is not passed anymore, its simply a return value. get() will grab the entir...
Dana Jansens [Mon, 17 Feb 2003 21:44:39 +0000 (21:44 +0000)]
nelements is not passed anymore, its simply a return value. get() will grab the entire property.

18 years agonelements is not passed anymore, its simply a return value
Dana Jansens [Mon, 17 Feb 2003 21:44:10 +0000 (21:44 +0000)]
nelements is not passed anymore, its simply a return value

18 years ago'final' cleanup for the new otk wrapper .i's
Dana Jansens [Mon, 17 Feb 2003 21:27:07 +0000 (21:27 +0000)]
'final' cleanup for the new otk wrapper .i's

18 years agosplit up the otk stuff into separate files.
Dana Jansens [Mon, 17 Feb 2003 21:25:52 +0000 (21:25 +0000)]
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

18 years agoonly return as many as was requested
Dana Jansens [Mon, 17 Feb 2003 21:06:39 +0000 (21:06 +0000)]
only return as many as was requested

18 years agooops nevermind
Dana Jansens [Mon, 17 Feb 2003 20:18:34 +0000 (20:18 +0000)]
oops nevermind

18 years agoprevent people from using timers except as pointers
Dana Jansens [Mon, 17 Feb 2003 20:02:43 +0000 (20:02 +0000)]
prevent people from using timers except as pointers

18 years agocheck for no screens before asserting
Dana Jansens [Mon, 17 Feb 2003 19:17:17 +0000 (19:17 +0000)]
check for no screens before asserting

18 years agoignore NUM values in enums
Dana Jansens [Mon, 17 Feb 2003 17:39:34 +0000 (17:39 +0000)]
ignore NUM values in enums

18 years agodont need preprocessor shit for swig
Dana Jansens [Mon, 17 Feb 2003 17:39:22 +0000 (17:39 +0000)]
dont need preprocessor shit for swig

18 years agoallocate colors right away instead of delaying it, since they get allocated out of...
Dana Jansens [Mon, 17 Feb 2003 16:36:35 +0000 (16:36 +0000)]
allocate colors right away instead of delaying it, since they get allocated out of the rendercontrol, and it will never fail.

18 years agoremove some include/import we dont need.
Dana Jansens [Mon, 17 Feb 2003 15:49:56 +0000 (15:49 +0000)]
remove some include/import we dont need.
include all the headers we do need before each code fragment

18 years agosplit the ob module into separate .i's
Dana Jansens [Mon, 17 Feb 2003 15:42:31 +0000 (15:42 +0000)]
split the ob module into separate .i's
cleanly define the interface, add functions for modifying the objects (via client messages)

18 years agoadd support for the openbox_restack_window message.
Dana Jansens [Mon, 17 Feb 2003 15:11:03 +0000 (15:11 +0000)]
add support for the openbox_restack_window message.
use the state_add/remove/toggle values from otk::Property::atoms

18 years agothis has been moved to wrap/
Dana Jansens [Mon, 17 Feb 2003 15:10:16 +0000 (15:10 +0000)]
this has been moved to wrap/

18 years agoadd openbox_restack_window, and the state_add/remove/toggle values
Dana Jansens [Mon, 17 Feb 2003 15:10:02 +0000 (15:10 +0000)]
add openbox_restack_window, and the state_add/remove/toggle values

18 years agos/False/false/
Dana Jansens [Mon, 17 Feb 2003 13:42:01 +0000 (13:42 +0000)]
s/False/false/

18 years agorm the SWIG ifdefs
Dana Jansens [Mon, 17 Feb 2003 12:46:55 +0000 (12:46 +0000)]
rm the SWIG ifdefs

18 years agokill the typedef
Dana Jansens [Mon, 17 Feb 2003 12:46:32 +0000 (12:46 +0000)]
kill the typedef

18 years ago80 cols
Dana Jansens [Mon, 17 Feb 2003 11:50:18 +0000 (11:50 +0000)]
80 cols

18 years agoreturn a Python list of Client*'s when a std::list<Client*> is returned
Dana Jansens [Mon, 17 Feb 2003 11:49:35 +0000 (11:49 +0000)]
return a Python list of Client*'s when a std::list<Client*> is returned

18 years agoallow cycling without a modifier in the binding
Dana Jansens [Mon, 17 Feb 2003 11:48:35 +0000 (11:48 +0000)]
allow cycling without a modifier in the binding

18 years agodefualt START_WITH_NEXT to true for desktops too
Dana Jansens [Sun, 16 Feb 2003 23:43:31 +0000 (23:43 +0000)]
defualt START_WITH_NEXT to true for desktops too

18 years agoadd the new cycle module with super snazzy new Cycle classes. yay KatanaLynx!
Dana Jansens [Sun, 16 Feb 2003 23:14:30 +0000 (23:14 +0000)]
add the new cycle module with super snazzy new Cycle classes. yay KatanaLynx!

18 years agosupport for pixmap icons, kwm_win_icon and the icon in wmhints
Dana Jansens [Sun, 16 Feb 2003 21:57:21 +0000 (21:57 +0000)]
support for pixmap icons, kwm_win_icon and the icon in wmhints

18 years agokeep track of the kwm_win_icon property
Dana Jansens [Sun, 16 Feb 2003 20:11:02 +0000 (20:11 +0000)]
keep track of the kwm_win_icon property

18 years agoadd the kwm_win_icon atom
Dana Jansens [Sun, 16 Feb 2003 20:04:19 +0000 (20:04 +0000)]
add the kwm_win_icon atom

18 years agocleanup
Dana Jansens [Sun, 16 Feb 2003 19:48:54 +0000 (19:48 +0000)]
cleanup

18 years agosupply more information about errors when running scripts
Dana Jansens [Sun, 16 Feb 2003 18:16:55 +0000 (18:16 +0000)]
supply more information about errors when running scripts

18 years agoadjust how the config is loaded. it is not loaded at all during the screen's construc...
Dana Jansens [Sun, 16 Feb 2003 18:14:05 +0000 (18:14 +0000)]
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

18 years agoorder things to work correctly for now, with the python loading and the the config...
Dana Jansens [Sun, 16 Feb 2003 18:09:06 +0000 (18:09 +0000)]
order things to work correctly for now, with the python loading and the the config setting

18 years agochange the default titlebar layout
Dana Jansens [Sun, 16 Feb 2003 17:18:54 +0000 (17:18 +0000)]
change the default titlebar layout

18 years agomake them const
Dana Jansens [Sun, 16 Feb 2003 16:37:02 +0000 (16:37 +0000)]
make them const

18 years agoprovide == and != for DialogButtons
Dana Jansens [Sun, 16 Feb 2003 16:36:07 +0000 (16:36 +0000)]
provide == and != for DialogButtons

18 years agoexecute files such that i can track if an exception was thrown in it
Dana Jansens [Sun, 16 Feb 2003 16:33:37 +0000 (16:33 +0000)]
execute files such that i can track if an exception was thrown in it

18 years agowhen python_exec fails on user.py:
Dana Jansens [Sun, 16 Feb 2003 16:33:12 +0000 (16:33 +0000)]
when python_exec fails on user.py:
  a) remove all the bindings
  b) exec defaults.py
  c) show a dialog message

18 years agoimport the config module properly.
Dana Jansens [Sun, 16 Feb 2003 16:32:21 +0000 (16:32 +0000)]
import the config module properly.
shit all over stderr and exit when something from the config module couldn't be loaded

18 years agodont wrap pointerassassin
Dana Jansens [Sun, 16 Feb 2003 16:31:40 +0000 (16:31 +0000)]
dont wrap pointerassassin

18 years agoset the gravity to center the dialog.
Dana Jansens [Sun, 16 Feb 2003 16:24:01 +0000 (16:24 +0000)]
set the gravity to center the dialog.
size it off the minSize which is already calculated, not off the size() with is nto