dana/openbox.git
17 years agostrdup the database string, dont return it directly
Dana Jansens [Wed, 19 Mar 2003 07:20:29 +0000 (07:20 +0000)]
strdup the database string, dont return it directly

17 years agorm the comments pointer bindings stuff, thats in a plugin now
Dana Jansens [Wed, 19 Mar 2003 07:12:00 +0000 (07:12 +0000)]
rm the comments pointer bindings stuff, thats in a plugin now

17 years agoadd new windows to the back of the focus order list
Dana Jansens [Wed, 19 Mar 2003 07:10:05 +0000 (07:10 +0000)]
add new windows to the back of the focus order list

17 years agomove the focus_order lists into the kernel
Dana Jansens [Wed, 19 Mar 2003 07:08:15 +0000 (07:08 +0000)]
move the focus_order lists into the kernel

17 years agoadd focus actions
Dana Jansens [Wed, 19 Mar 2003 06:01:06 +0000 (06:01 +0000)]
add focus actions

17 years agoadd sloppy focus
Dana Jansens [Wed, 19 Mar 2003 06:00:52 +0000 (06:00 +0000)]
add sloppy focus

17 years agoadd sloppy focus
Dana Jansens [Wed, 19 Mar 2003 06:00:16 +0000 (06:00 +0000)]
add sloppy focus

17 years agoend drags
Dana Jansens [Wed, 19 Mar 2003 05:52:36 +0000 (05:52 +0000)]
end drags

17 years agodont clean up nulls
Dana Jansens [Wed, 19 Mar 2003 04:22:29 +0000 (04:22 +0000)]
dont clean up nulls

17 years agonot using the KeyAction stuff no more
Dana Jansens [Wed, 19 Mar 2003 04:16:38 +0000 (04:16 +0000)]
not using the KeyAction stuff no more

17 years agomouse and key bindings plugins work. segfault somewhere still on shutdown
Dana Jansens [Wed, 19 Mar 2003 04:16:19 +0000 (04:16 +0000)]
mouse and key bindings plugins work. segfault somewhere still on shutdown

17 years agoreset focus to root before exiting
Dana Jansens [Wed, 19 Mar 2003 01:01:57 +0000 (01:01 +0000)]
reset focus to root before exiting

17 years agoignore shit
Dana Jansens [Tue, 18 Mar 2003 20:09:36 +0000 (20:09 +0000)]
ignore shit

17 years agoadd the mouse plugin
Dana Jansens [Tue, 18 Mar 2003 20:09:07 +0000 (20:09 +0000)]
add the mouse plugin

17 years agograb the keyboard not the server!
Dana Jansens [Tue, 18 Mar 2003 20:02:09 +0000 (20:02 +0000)]
grab the keyboard not the server!

17 years agouse the grab_server function
Dana Jansens [Tue, 18 Mar 2003 20:01:04 +0000 (20:01 +0000)]
use the grab_server function

17 years agoadd 'grab_server' for grabbing .. the .. server!
Dana Jansens [Tue, 18 Mar 2003 20:00:44 +0000 (20:00 +0000)]
add 'grab_server' for grabbing .. the .. server!

17 years agoprovide functions for grabbing and ungrabbing the keyboard and pointer
Dana Jansens [Tue, 18 Mar 2003 19:51:56 +0000 (19:51 +0000)]
provide functions for grabbing and ungrabbing the keyboard and pointer

17 years agoset the log domain for each plugin properly
Dana Jansens [Tue, 18 Mar 2003 19:40:18 +0000 (19:40 +0000)]
set the log domain for each plugin properly

17 years agowarp the pointer on a workspace change to the focused window
Dana Jansens [Tue, 18 Mar 2003 09:21:07 +0000 (09:21 +0000)]
warp the pointer on a workspace change to the focused window

17 years agokill some whitespace
Dana Jansens [Tue, 18 Mar 2003 09:10:48 +0000 (09:10 +0000)]
kill some whitespace

17 years agokill a comment
Dana Jansens [Tue, 18 Mar 2003 09:10:35 +0000 (09:10 +0000)]
kill a comment

17 years agofocus fallback works when nothing is focused
Dana Jansens [Tue, 18 Mar 2003 09:10:05 +0000 (09:10 +0000)]
focus fallback works when nothing is focused

17 years agodont set the focused client if it's already set
Dana Jansens [Tue, 18 Mar 2003 09:08:55 +0000 (09:08 +0000)]
dont set the focused client if it's already set

17 years agosend the right client for unfocus events
Dana Jansens [Tue, 18 Mar 2003 08:48:14 +0000 (08:48 +0000)]
send the right client for unfocus events

17 years agosend unfocus events after focus events
Dana Jansens [Tue, 18 Mar 2003 08:41:50 +0000 (08:41 +0000)]
send unfocus events after focus events

17 years agogeneric domain
Dana Jansens [Tue, 18 Mar 2003 08:40:11 +0000 (08:40 +0000)]
generic domain

17 years agoadd actions for key/mouse bindings etc
Dana Jansens [Tue, 18 Mar 2003 08:39:28 +0000 (08:39 +0000)]
add actions for key/mouse bindings etc

17 years agoadd the new objects
Dana Jansens [Tue, 18 Mar 2003 08:39:01 +0000 (08:39 +0000)]
add the new objects

17 years agokeyboard bindings are functional
Dana Jansens [Tue, 18 Mar 2003 08:38:33 +0000 (08:38 +0000)]
keyboard bindings are functional

17 years agodont need process.h, yay glib
Dana Jansens [Tue, 18 Mar 2003 07:54:44 +0000 (07:54 +0000)]
dont need process.h, yay glib

17 years agoadd process.h
Dana Jansens [Tue, 18 Mar 2003 06:25:56 +0000 (06:25 +0000)]
add process.h

17 years agoadd cvsignores
Dana Jansens [Tue, 18 Mar 2003 05:30:12 +0000 (05:30 +0000)]
add cvsignores

17 years agoadd a keyboard plugin
Dana Jansens [Tue, 18 Mar 2003 05:29:01 +0000 (05:29 +0000)]
add a keyboard plugin

17 years agofocus new windows and focus windows on workspace change
Dana Jansens [Tue, 18 Mar 2003 05:21:50 +0000 (05:21 +0000)]
focus new windows and focus windows on workspace change

17 years agoplugins work.
Dana Jansens [Tue, 18 Mar 2003 03:11:55 +0000 (03:11 +0000)]
plugins work.
start a focus plugin.

17 years agodont put \n's at the end of g_message
Dana Jansens [Mon, 17 Mar 2003 23:04:43 +0000 (23:04 +0000)]
dont put \n's at the end of g_message

17 years agouse the render depth/visual for creating windows
Dana Jansens [Mon, 17 Mar 2003 22:31:17 +0000 (22:31 +0000)]
use the render depth/visual for creating windows

17 years agouse the dispatch stuff to get mouse button events
Dana Jansens [Mon, 17 Mar 2003 22:30:27 +0000 (22:30 +0000)]
use the dispatch stuff to get mouse button events

17 years agomake sure theres always a client for client events
Dana Jansens [Mon, 17 Mar 2003 22:13:06 +0000 (22:13 +0000)]
make sure theres always a client for client events

17 years agooops missing a */
Dana Jansens [Mon, 17 Mar 2003 22:12:26 +0000 (22:12 +0000)]
oops missing a */

17 years agofix comments
Dana Jansens [Mon, 17 Mar 2003 22:12:05 +0000 (22:12 +0000)]
fix comments

17 years agorming almost all the old python stuffs
Dana Jansens [Mon, 17 Mar 2003 22:04:20 +0000 (22:04 +0000)]
rming almost all the old python stuffs

17 years agoall events are dispatched
Dana Jansens [Mon, 17 Mar 2003 20:16:32 +0000 (20:16 +0000)]
all events are dispatched

17 years agokill the debug print
Dana Jansens [Mon, 17 Mar 2003 20:00:00 +0000 (20:00 +0000)]
kill the debug print

17 years agoadd the plugins dir
Dana Jansens [Mon, 17 Mar 2003 19:54:54 +0000 (19:54 +0000)]
add the plugins dir

17 years agostop using python internally. add an event dispatcher
Dana Jansens [Mon, 17 Mar 2003 19:54:37 +0000 (19:54 +0000)]
stop using python internally. add an event dispatcher

17 years agoadd the headers
Dana Jansens [Mon, 17 Mar 2003 18:53:59 +0000 (18:53 +0000)]
add the headers

17 years agokill the timestamps
Dana Jansens [Mon, 17 Mar 2003 08:10:26 +0000 (08:10 +0000)]
kill the timestamps

17 years agomy rant..
Dana Jansens [Mon, 17 Mar 2003 08:07:04 +0000 (08:07 +0000)]
my rant..

17 years agopass the x,y,w,h to font_draw.
Dana Jansens [Mon, 17 Mar 2003 07:30:30 +0000 (07:30 +0000)]
pass the x,y,w,h to font_draw.
draw the text in the "right" place for now.. no justification yet

17 years agoset the size of the label properly
Dana Jansens [Mon, 17 Mar 2003 07:28:48 +0000 (07:28 +0000)]
set the size of the label properly

17 years agoplace at 0,0 if the window is too big
Dana Jansens [Mon, 17 Mar 2003 07:28:32 +0000 (07:28 +0000)]
place at 0,0 if the window is too big

17 years agomeasure the font's height instead of listening to Xft
Dana Jansens [Mon, 17 Mar 2003 06:41:40 +0000 (06:41 +0000)]
measure the font's height instead of listening to Xft

17 years ago*** empty log message ***
Dana Jansens [Mon, 17 Mar 2003 06:36:55 +0000 (06:36 +0000)]
*** empty log message ***

17 years agodont skip ungrab corssing events
Dana Jansens [Mon, 17 Mar 2003 06:34:12 +0000 (06:34 +0000)]
dont skip ungrab corssing events

17 years agoif the window is as big/bigger than the screen with random placement, place it at...
Dana Jansens [Mon, 17 Mar 2003 06:24:13 +0000 (06:24 +0000)]
if the window is as big/bigger than the screen with random placement, place it at (0,0)

17 years agosolids should now work with offsets
Derek Foreman [Mon, 17 Mar 2003 05:21:58 +0000 (05:21 +0000)]
solids should now work with offsets

17 years agoadd keybinds for switching workspaces
Dana Jansens [Mon, 17 Mar 2003 05:20:38 +0000 (05:20 +0000)]
add keybinds for switching workspaces

17 years agomore random pokery
Derek Foreman [Mon, 17 Mar 2003 05:15:33 +0000 (05:15 +0000)]
more random pokery

17 years agouse the unfocused label when not focused
Dana Jansens [Mon, 17 Mar 2003 05:10:48 +0000 (05:10 +0000)]
use the unfocused label when not focused

17 years agoeither offsets work, or I've broken lots of things.
Derek Foreman [Mon, 17 Mar 2003 05:00:46 +0000 (05:00 +0000)]
either offsets work, or I've broken lots of things.

17 years agopass x,y to paint()
Dana Jansens [Mon, 17 Mar 2003 04:59:53 +0000 (04:59 +0000)]
pass x,y to paint()

17 years agomore changes wrt passing x, y, w, h to render
Derek Foreman [Mon, 17 Mar 2003 04:53:36 +0000 (04:53 +0000)]
more changes wrt passing x, y, w, h to render

17 years agopaint gets more parameters
Derek Foreman [Mon, 17 Mar 2003 04:50:40 +0000 (04:50 +0000)]
paint gets more parameters

17 years agoapparently my variable names were too verbose.
Derek Foreman [Mon, 17 Mar 2003 04:43:42 +0000 (04:43 +0000)]
apparently my variable names were too verbose.

17 years agooffsets in planar surfaces
Derek Foreman [Mon, 17 Mar 2003 04:42:49 +0000 (04:42 +0000)]
offsets in planar surfaces

17 years agodeclare variables first!
Dana Jansens [Mon, 17 Mar 2003 02:12:00 +0000 (02:12 +0000)]
declare variables first!

17 years agodecalre variables before code!
Dana Jansens [Mon, 17 Mar 2003 02:10:24 +0000 (02:10 +0000)]
decalre variables before code!

17 years agomake client_showhide a static function
Dana Jansens [Mon, 17 Mar 2003 02:05:05 +0000 (02:05 +0000)]
make client_showhide a static function

17 years agospeed up workspace switching by causing the minimal number of expose events (none...
Dana Jansens [Mon, 17 Mar 2003 02:03:45 +0000 (02:03 +0000)]
speed up workspace switching by causing the minimal number of expose events (none for the hiding windows!)

17 years agogive engines mouse event notifications. make the openbox engine display pressed buttons
Dana Jansens [Mon, 17 Mar 2003 01:47:20 +0000 (01:47 +0000)]
give engines mouse event notifications. make the openbox engine display pressed buttons

17 years agoget rid of the 'sep' variable
Dana Jansens [Mon, 17 Mar 2003 01:36:10 +0000 (01:36 +0000)]
get rid of the 'sep' variable

17 years agoreplaced one too many bevels
Dana Jansens [Mon, 17 Mar 2003 01:32:29 +0000 (01:32 +0000)]
replaced one too many bevels

17 years agoproperly layout the titlebar, with proper separatation
Dana Jansens [Mon, 17 Mar 2003 01:31:39 +0000 (01:31 +0000)]
properly layout the titlebar, with proper separatation

17 years agoload and set the titles justification
Dana Jansens [Mon, 17 Mar 2003 01:26:15 +0000 (01:26 +0000)]
load and set the titles justification

17 years agoadded justification to textureText
Derek Foreman [Mon, 17 Mar 2003 01:21:33 +0000 (01:21 +0000)]
added justification to textureText

17 years agokill some whack extra whitespace
Dana Jansens [Mon, 17 Mar 2003 01:16:43 +0000 (01:16 +0000)]
kill some whack extra whitespace

17 years agopixmap button masks work (hardcoded)
Dana Jansens [Mon, 17 Mar 2003 01:15:17 +0000 (01:15 +0000)]
pixmap button masks work (hardcoded)

17 years agodont need those includes no more
Dana Jansens [Mon, 17 Mar 2003 01:10:32 +0000 (01:10 +0000)]
dont need those includes no more

17 years agoin keeping with my tradition of committing untested code, here is the
Derek Foreman [Mon, 17 Mar 2003 01:08:34 +0000 (01:08 +0000)]
in keeping with my tradition of committing untested code, here is the
pixmap mask rendering code ported from the old otk dirs

17 years agomove pixmap_mask typedef
Derek Foreman [Mon, 17 Mar 2003 00:53:28 +0000 (00:53 +0000)]
move pixmap_mask typedef
add stub for draw_mask

17 years agoadd funcs to create/free pixmap_masks
Dana Jansens [Mon, 17 Mar 2003 00:49:05 +0000 (00:49 +0000)]
add funcs to create/free pixmap_masks

17 years agoadd glib.h for guint
Dana Jansens [Mon, 17 Mar 2003 00:38:29 +0000 (00:38 +0000)]
add glib.h for guint

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

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

17 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

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

17 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

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

17 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

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

17 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

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

17 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

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

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

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

17 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

17 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