Commit graph

31 commits

Author SHA1 Message Date
Dana Jansens
2442cdfd85 1) translate all of openbox's output
2) update copyrights.
3) make release. ok that part not quite yet.
2007-04-23 17:56:35 +00:00
Dana Jansens
939fbcfd31 add a comparitor to timers. use this in event.c to let you remove timers from the queue selectively for delayed focus 2007-04-22 04:16:00 +00:00
Dana Jansens
4aa8d64f76 set the event_curtime when running an action to the time in the event used to run the action 2007-03-24 17:22:31 +00:00
Mikael Magnusson
092ef0e6dd mention that it is in fact openbox that crashes 2007-03-04 21:46:13 +00:00
Dana Jansens
78af5d15e9 this includes a number of things since my magnificent return....
1. some random compiling/style cleanups
2. some bigfixes
 - mislogic in per-window-settings and focusing new windows
 - use client_can_focus rather than checking variables for directional focus
 - MAYBE fix all those lock-ups forever. using event_curtime (a new variable) now instead of event_lasttime. event_lasttime is still used however when the event being processed did not have a time associated with it. this may or may not be a problem, and will be seen.
3. um.. i forget
4. oh yeah, 3rd party docks are now treated like the internal ob dock irt focus. that is, clicking on them won't pass them focus. this is going to be ratified as expected behavior in the wm-spec just now. if docks/panels want focus they can request it with _net_active_window, and then they can have all the focus they want! one day alt-tabbing around dock windows might be nice. but not until the ob dock is moved out into a separate application. going to have to add a wmapp selection and stuff for that though... ugly. who uses wmdockapps anymore !? someone must.. *sigh*
2007-03-02 02:23:00 +00:00
Mikael Magnusson
4d50b21835 update copyright step 1 2006-08-22 16:37:35 +00:00
Mikael Magnusson
7b7f158088 add a means to tell the timer destroy function not to fire when for example freeing its client frame 2006-08-17 20:16:02 +00:00
Mikael Magnusson
b2b8ad92bf update copyright notices 2004-03-21 11:57:31 +00:00
Mikael Magnusson
8a3bfe527c whitespace changes 2004-03-20 15:48:38 +00:00
Mikael Magnusson
0e6161b0d4 the old event code 2004-03-18 11:54:15 +00:00
Dana Jansens
740c5b2a20 consistant glib type usage 2003-10-15 03:59:35 +00:00
Dana Jansens
ef414287e5 fire the destroy fnuction for timers when they are removed 2003-10-13 00:28:25 +00:00
Dana Jansens
783f5aed00 run the event done stuff before firing queued actions 2003-10-03 06:56:54 +00:00
Dana Jansens
c8565d21d4 provide a callback for when there are no more X events to process 2003-09-29 10:05:43 +00:00
Dana Jansens
f6ba1f27b9 halfway through client changes but...
should fix crashes irt actions in the action queue for clients that have been destroyed. now those actions are skipped or performed without a client as possible.
2003-09-28 06:31:00 +00:00
Dana Jansens
87430acf34 queue up ObActions and run them when idle 2003-09-26 17:29:12 +00:00
Dana Jansens
4cf0d783f7 insert timers in the correct order 2003-09-24 16:56:46 +00:00
Dana Jansens
2612dbf050 indenting 2003-09-22 03:37:22 +00:00
Dana Jansens
16f46c296d no tabs 2003-09-17 07:44:49 +00:00
Dana Jansens
c4e4760c41 add copyright headers, adjust --version output to include copyright, and --help output to not include version output. 2003-09-17 07:32:52 +00:00
Dana Jansens
3a607fad9d revert my commit of d3th, it fucked up focus badly 2003-09-15 11:29:17 +00:00
Dana Jansens
4ccc4c5ed7 break focus. or maybe make it better.
these changes make it work when you alt-tab off a fullscreen window, that it doesnt iconify, and that it is immediately restacked instead of waiting for a FocusIn event to arrive. The code now assumes that if the window says it can focus, that if we focus it, it is focused.
add the XDone handler to ObMainLoop, which is fired upon the occurance of there being no more X events to read.
2003-09-15 10:54:07 +00:00
Dana Jansens
0d5d92426f allow more than one timer to work at a time 2003-09-15 03:02:26 +00:00
Dana Jansens
48d0d42685 allow more than one timer to process at a time 2003-09-15 02:56:41 +00:00
Dana Jansens
861cfbdabe fix a memory leak in the mainloop timers correctly 2003-09-14 05:01:54 +00:00
Dana Jansens
70a31e8904 fix a memory leak in the mainloop timers 2003-09-14 04:40:09 +00:00
Dana Jansens
1df4e32760 add ob_main_loop_timeout_remove_data.
make the timeout remove functions remove *all* timeouts that match
2003-09-03 20:34:14 +00:00
Dana Jansens
87342f85eb make the segfault swearing more clear 2003-09-02 07:57:47 +00:00
Dana Jansens
8de54d2b45 oops, now is in the loop :> 2003-08-31 21:14:21 +00:00
Dana Jansens
5db556c541 get the current time when adding timers 2003-08-31 21:12:54 +00:00
Dana Jansens
de4f92ccc6 using the ObMainLoop, which rulz the planet 2003-08-30 07:20:16 +00:00