]> icculus.org git repositories - mikachu/openbox.git/log
mikachu/openbox.git
16 years agouse unique IDs for pings rather than a timestamp. avoids duplicates.
Dana Jansens [Wed, 16 Jan 2008 23:16:49 +0000 (18:16 -0500)]
use unique IDs for pings rather than a timestamp.  avoids duplicates.

16 years agofriendly check for the timer's delay being > 0
Dana Jansens [Wed, 16 Jan 2008 15:31:12 +0000 (10:31 -0500)]
friendly check for the timer's delay being > 0

16 years agoVarious fixes for sparse warnings.
Mikael Magnusson [Wed, 16 Jan 2008 14:25:08 +0000 (15:25 +0100)]
Various fixes for sparse warnings.

Define void functions with (void), not ().
Add missing includes.
Some functions were declared static but defined non-static.
Some variables that should be file static were file global but not used in any other file.
prop.h defined a new prop_atoms in each file that included it instead of declaring it extern.

16 years agoactive = FALSE when not active !
Dana Jansens [Wed, 16 Jan 2008 06:16:47 +0000 (01:16 -0500)]
active = FALSE when not active !

16 years agofix timers so that they work when theres lots of repeating timers in the queue..
Dana Jansens [Wed, 16 Jan 2008 05:54:17 +0000 (00:54 -0500)]
fix timers so that they work when theres lots of repeating timers in the queue..

16 years agoadd the new pid and ping atoms to the NET_SUPPORTED list
Dana Jansens [Wed, 16 Jan 2008 05:24:56 +0000 (00:24 -0500)]
add the new pid and ping atoms to the NET_SUPPORTED list

16 years agodon't let repeating timers, with a very fast timer in the queue, cause the main loop...
Dana Jansens [Wed, 16 Jan 2008 04:28:30 +0000 (23:28 -0500)]
don't let repeating timers, with a very fast timer in the queue, cause the main loop to run the timers forever

16 years agorework and comment out some debugging prints
Dana Jansens [Wed, 16 Jan 2008 03:56:24 +0000 (22:56 -0500)]
rework and comment out some debugging prints

16 years agoadd a comment
Dana Jansens [Wed, 16 Jan 2008 03:53:05 +0000 (22:53 -0500)]
add a comment

16 years agocant consistently tell if we should use WM_DESTROY after the first time they try...
Dana Jansens [Wed, 16 Jan 2008 03:51:04 +0000 (22:51 -0500)]
cant consistently tell if we should use WM_DESTROY after the first time they try close a window.. so just kill when "not responding" is showing

16 years agoonly ping windows that we need to
Dana Jansens [Wed, 16 Jan 2008 03:36:45 +0000 (22:36 -0500)]
only ping windows that we need to

16 years agoping all the windows every 3 seconds, and show "not responding" if they stop replying...
Dana Jansens [Wed, 16 Jan 2008 03:34:04 +0000 (22:34 -0500)]
ping all the windows every 3 seconds, and show "not responding" if they stop replying for 3 times (9-12 seconds).  show [Killing...] in the titlebar when trying to kill an app off

16 years agoits possible we did kill -TERM and it stayed alive and started responding again,...
Dana Jansens [Wed, 16 Jan 2008 03:15:45 +0000 (22:15 -0500)]
its possible we did kill -TERM and it stayed alive and started responding again, so handle that case

16 years agowhen you close an app and it stops responding.. if you hit close again, it will...
Dana Jansens [Wed, 16 Jan 2008 03:13:16 +0000 (22:13 -0500)]
when you close an app and it stops responding..  if you hit close again, it will try kill -TERM.  if that fails and you close again, it will kill -9 !  (assuming the app is running on the local host and provided its PID)

16 years agowhen you close a window that you already tried to close and its not responding to...
Dana Jansens [Wed, 16 Jan 2008 03:00:21 +0000 (22:00 -0500)]
when you close a window that you already tried to close and its not responding to pings, then do a kill the next time

16 years agoshow [Not Responding] in the titlebar when closing an app and it stops responding...
Dana Jansens [Wed, 16 Jan 2008 02:57:47 +0000 (21:57 -0500)]
show [Not Responding] in the titlebar when closing an app and it stops responding to pings

16 years agocan tell when a window that was "closed" has stopped responding now
Dana Jansens [Wed, 16 Jan 2008 02:40:15 +0000 (21:40 -0500)]
can tell when a window that was "closed" has stopped responding now

16 years agocheck if a client will respond to pings
Dana Jansens [Wed, 16 Jan 2008 01:48:28 +0000 (20:48 -0500)]
check if a client will respond to pings

16 years agothe inner border's corners weren't having events handled on them correctly, which...
Dana Jansens [Wed, 16 Jan 2008 01:33:56 +0000 (20:33 -0500)]
the inner border's corners weren't having events handled on them correctly, which was messing with resizing.  yay akk for finding this.

16 years agofix the context given off by the borders in the br corner
Dana Jansens [Wed, 16 Jan 2008 01:00:08 +0000 (20:00 -0500)]
fix the context given off by the borders in the br corner

16 years agoresizing was defaulting to the topleft corner instead of to the auto-ness or something..
Dana Jansens [Wed, 16 Jan 2008 00:54:30 +0000 (19:54 -0500)]
resizing was defaulting to the topleft corner instead of to the auto-ness or something..

16 years agoremove the visible window title hints when unmanaging a window. not all WMs set...
Dana Jansens [Wed, 16 Jan 2008 00:36:36 +0000 (19:36 -0500)]
remove the visible window title hints when unmanaging a window.  not all WMs set those and it messes them up, and we'll set them again appropriately, they don't need to be saved.

16 years agoAdd --exit translation to de.po.
Mikael Magnusson [Sat, 12 Jan 2008 23:45:09 +0000 (00:45 +0100)]
Add --exit translation to de.po.

16 years agodon't skip windows that are skip_taskbar unless they are normal typed.. i.e. if a...
Dana Jansens [Sun, 13 Jan 2008 08:40:14 +0000 (03:40 -0500)]
don't skip windows that are skip_taskbar unless they are normal typed.. i.e. if a dialog sets this don't skip it (gnome shutdown/logout dialogs don't get focused otherwise in arch linux)

16 years agosync when killing all keyboard grabs, so that we can be sure they are gone before...
Dana Jansens [Sun, 13 Jan 2008 07:50:34 +0000 (02:50 -0500)]
sync when killing all keyboard grabs, so that we can be sure they are gone before proceeding (fixes a race condition when running things that want to grab the keyboard very quickly.  yes, arch is that fast somehow..)

16 years agoupdate the icon to the pretty one by david barr
Dana Jansens [Sat, 12 Jan 2008 23:25:22 +0000 (18:25 -0500)]
update the icon to the pretty one by david barr

16 years agoUpdate --version output copyright year to 2008.
Mikael Magnusson [Sat, 12 Jan 2008 17:36:49 +0000 (18:36 +0100)]
Update --version output copyright year to 2008.

16 years agomake the dock's hiding always have at least 1px on screen
Dana Jansens [Sat, 12 Jan 2008 21:15:45 +0000 (16:15 -0500)]
make the dock's hiding always have at least 1px on screen

16 years agofix a copy/paste bug in placing the move&resize popup
Dana Jansens [Sat, 12 Jan 2008 18:31:46 +0000 (13:31 -0500)]
fix a copy/paste bug in placing the move&resize popup

16 years agosince the internal windows are in window_map now, it's possible we'll get them back...
Dana Jansens [Sat, 12 Jan 2008 04:16:06 +0000 (23:16 -0500)]
since the internal windows are in window_map now, it's possible we'll get them back when we check what window an event happened on.  so don't abort if that happens anymore.

16 years agoMerge commit 'mika/backport' into backport
Dana Jansens [Sat, 12 Jan 2008 02:44:23 +0000 (21:44 -0500)]
Merge commit 'mika/backport' into backport

16 years agofix a small bug introduced that broke per-app placement
Dana Jansens [Sat, 12 Jan 2008 02:33:46 +0000 (21:33 -0500)]
fix a small bug introduced that broke per-app placement

16 years ago --exit Sulje Openbox
Mikael Magnusson [Sat, 12 Jan 2008 02:29:48 +0000 (03:29 +0100)]
  --exit              Sulje Openbox

16 years agodont reparse the config file when the keyboard map changes. just rebind everything...
Dana Jansens [Sat, 12 Jan 2008 02:19:58 +0000 (21:19 -0500)]
dont reparse the config file when the keyboard map changes. just rebind everything. yay for mika as inspiration

16 years agomake a GravityPoint and GravityCoord data structures for those --x, ++y type values
Dana Jansens [Sat, 12 Jan 2008 01:58:03 +0000 (20:58 -0500)]
make a GravityPoint and GravityCoord data structures for those --x, ++y type values

16 years agolet you specify the resize popup to be in a fixed place
Dana Jansens [Sat, 12 Jan 2008 01:24:16 +0000 (20:24 -0500)]
let you specify the resize popup to be in a fixed place

16 years agomake the focus cycle indicator be in the window_map so button presses on it are handl...
Dana Jansens [Sat, 12 Jan 2008 00:45:30 +0000 (19:45 -0500)]
make the focus cycle indicator be in the window_map so button presses on it are handled right

16 years agoadd an <active> option for window placement, to try force new windows on the active...
Dana Jansens [Sat, 12 Jan 2008 00:32:45 +0000 (19:32 -0500)]
add an <active> option for window placement, to try force new windows on the active monitor (for xinerama)

16 years agomake fake xinerama happen even when xinerama is enabled
Dana Jansens [Sat, 12 Jan 2008 00:30:29 +0000 (19:30 -0500)]
make fake xinerama happen even when xinerama is enabled

16 years agomake the window_startup happen before the focus_cycle_popup startup, so that the...
Dana Jansens [Sat, 12 Jan 2008 00:05:04 +0000 (19:05 -0500)]
make the window_startup happen before the focus_cycle_popup startup, so that the popups can be added to the window map properly

16 years agodon't take KeyRelease events for menus until they receive a KeyPress event first...
Dana Jansens [Fri, 11 Jan 2008 23:57:32 +0000 (18:57 -0500)]
don't take KeyRelease events for menus until they receive a KeyPress event first.  avoid using the key binding used to show the menu to execute something inside it.

16 years agocontinue commit 2b80e4e8ef56bb4fba614139601e750344418e5b - remove debug code, and...
Dana Jansens [Fri, 11 Jan 2008 23:33:43 +0000 (18:33 -0500)]
continue commit 2b80e4e8ef56bb4fba614139601e750344418e5b - remove debug code, and some unneeded stuff

16 years agofixes from commit 0ce14a727968736e57fb3fabba3794b46903875f
Dana Jansens [Fri, 11 Jan 2008 23:28:35 +0000 (18:28 -0500)]
fixes from commit 0ce14a727968736e57fb3fabba3794b46903875f
the xsync was needed to get the right serial for the end of the ignore range

16 years agoignore mouse clicks on override-redirect windows that aren't owned by openbox
Dana Jansens [Fri, 11 Jan 2008 23:13:12 +0000 (18:13 -0500)]
ignore mouse clicks on override-redirect windows that aren't owned by openbox

16 years agotry to comment the code for when to save the "last desktop"
Dana Jansens [Fri, 11 Jan 2008 22:24:13 +0000 (17:24 -0500)]
try to comment the code for when to save the "last desktop"

16 years agomake the time to remember last desktop a #define, and make it 750ms
Dana Jansens [Fri, 11 Jan 2008 21:49:55 +0000 (16:49 -0500)]
make the time to remember last desktop a #define, and make it 750ms

16 years agoDon't record desktops for lastdesktop when switching away quickly again.
Mikael Magnusson [Sat, 5 Jan 2008 11:40:46 +0000 (12:40 +0100)]
Don't record desktops for lastdesktop when switching away quickly again.

When switching desktops, only record the previous desktop as the last
desktop if the user stayed there for a while. This way you can scroll
over a couple desktops quickly, then go back to the previous desktop
you _used_, not the last you scrolled past.

16 years agofreeze onscreen stacking order changes while a temp raise for focus cycling is occuring
Dana Jansens [Fri, 11 Jan 2008 21:29:11 +0000 (16:29 -0500)]
freeze onscreen stacking order changes while a temp raise for focus cycling is occuring

16 years agofix a crash when reconfiguring during focus cycling
Dana Jansens [Fri, 11 Jan 2008 21:26:16 +0000 (16:26 -0500)]
fix a crash when reconfiguring during focus cycling

16 years agolet you raise the focus target temporarily during focus cycling, with the <raise...
Dana Jansens [Fri, 11 Jan 2008 21:11:51 +0000 (16:11 -0500)]
let you raise the focus target temporarily during focus cycling, with the <raise> option.  also a new <bar> option lets you turn off the indicator bar

16 years agomake backport closer to 3.4-working for merging purposes
Dana Jansens [Fri, 11 Jan 2008 20:36:31 +0000 (15:36 -0500)]
make backport closer to 3.4-working for merging purposes

16 years agomake it possible to temporarily raise a window to the top, and restore it. also...
Dana Jansens [Fri, 11 Jan 2008 20:28:26 +0000 (15:28 -0500)]
make it possible to temporarily raise a window to the top, and restore it.  also fix the return val for window_layer.

16 years agofix a warning from crappy libc apis
Dana Jansens [Fri, 11 Jan 2008 20:18:04 +0000 (15:18 -0500)]
fix a warning from crappy libc apis

16 years agofocus the desktop window when you right click it, same as you focus other windows
Dana Jansens [Fri, 11 Jan 2008 20:01:03 +0000 (15:01 -0500)]
focus the desktop window when you right click it, same as you focus other windows

16 years agoBug 3359 - redundant pango flags
Dana Jansens [Fri, 11 Jan 2008 19:48:21 +0000 (14:48 -0500)]
Bug 3359 - redundant pango flags

16 years agofix a focus race condition in two ways:
Dana Jansens [Fri, 11 Jan 2008 19:40:58 +0000 (14:40 -0500)]
fix a focus race condition in two ways:

1. when focusing a window, ignore any enter events up until the serial of the X event causing the focus, not up until the last thing sent to the server.  if we get 2 enters very quickly, then we don't want to ignore the second one just because we are focusing the first window.
2. there is a race if you check (focus_client != d->client) in the delay_focus_func, because the current focused window might change by the time this focus_client would take effect, so don't check that.

16 years agocode clean up
Dana Jansens [Fri, 11 Jan 2008 18:06:37 +0000 (13:06 -0500)]
code clean up

16 years agoXKB modifiers are strange things, and i don't know how to read them properly in modke...
Dana Jansens [Fri, 11 Jan 2008 18:05:11 +0000 (13:05 -0500)]
XKB modifiers are strange things, and i don't know how to read them properly in modkeys.c and convert it all to the x core stuff.  so we use this to get the state of the modifiers, otherwise we end up missing them sometimes (like on PPC)

16 years agoreconfigure openbox when the input mapping changes, eg. keyboard layout or modifier map
Dana Jansens [Fri, 11 Jan 2008 16:42:09 +0000 (11:42 -0500)]
reconfigure openbox when the input mapping changes, eg. keyboard layout or modifier map

16 years agoRevert "fix for xkb weirdness, to fix a bug introduced in 3.4.3, where releasing...
Dana Jansens [Fri, 11 Jan 2008 16:21:00 +0000 (11:21 -0500)]
Revert "fix for xkb weirdness, to fix a bug introduced in 3.4.3, where releasing the super mod key would not end interactive actions."

This reverts commit 47e7aa82dc9f390c809151f87c81f33b5b408221.

This is an XKB problem, and it needs to be properly resolved with XKB functions

16 years agoupdated clearlooks theme from John McKnight
Dana Jansens [Fri, 11 Jan 2008 15:16:42 +0000 (10:16 -0500)]
updated clearlooks theme from John McKnight

16 years agoBug#: 3328 - remove top border for maxed undecorated windows
Dana Jansens [Fri, 11 Jan 2008 15:00:58 +0000 (10:00 -0500)]
Bug#:     3328 - remove top border for maxed undecorated windows

16 years agoallow dialog windows to be fullscreened, kpdf does this
Dana Jansens [Fri, 11 Jan 2008 14:46:07 +0000 (09:46 -0500)]
allow dialog windows to be fullscreened, kpdf does this

16 years agoAdd new Basque translation.
Inko Illarramendi Arancibia [Fri, 11 Jan 2008 01:09:31 +0000 (02:09 +0100)]
Add new Basque translation.

16 years agoCorrect .po version headers.
Mikael Magnusson [Fri, 11 Jan 2008 01:04:39 +0000 (02:04 +0100)]
Correct .po version headers.

16 years agoAdd --exit translation to vietnamese translation.
Quan Tran [Wed, 9 Jan 2008 20:34:19 +0000 (21:34 +0100)]
Add --exit translation to vietnamese translation.

16 years agoUpdate french translation with --exit help and use french punctuation rules.
Eric Lassauge [Tue, 8 Jan 2008 20:07:54 +0000 (21:07 +0100)]
Update french translation with --exit help and use french punctuation rules.

16 years agoAdd Hungarian translation.
Robert Kuszinger [Fri, 21 Dec 2007 13:36:05 +0000 (14:36 +0100)]
Add Hungarian translation.

16 years agoUpdate slovak translation with desktop strings.
Mikael Magnusson [Fri, 7 Dec 2007 12:41:16 +0000 (13:41 +0100)]
Update slovak translation with desktop strings.

16 years agoAdd --exit.
Mikael Magnusson [Mon, 12 Nov 2007 18:17:30 +0000 (19:17 +0100)]
Add --exit.

16 years agoTry to fix the popup only showing up on monitor 0.
Mikael Magnusson [Wed, 31 Oct 2007 07:10:51 +0000 (08:10 +0100)]
Try to fix the popup only showing up on monitor 0.

screen_find_monitor() should perhaps contain that big hunk of logic, I don't know if
anything will break now that it returns screen_num_monitors sometimes. We'll see!

16 years agoUpdate finnish translation.
Elias Julkunen [Fri, 5 Oct 2007 15:33:52 +0000 (17:33 +0200)]
Update finnish translation.

16 years agoChange setenv and unsetenv to putenv for portability.
Mikael Magnusson [Thu, 18 Oct 2007 06:21:53 +0000 (08:21 +0200)]
Change setenv and unsetenv to putenv for portability.

Solaris apparently does not have setenv and unsetenv.

16 years agoANSI function declarations, ie () -> (void)
Mikael Magnusson [Tue, 4 Sep 2007 04:21:22 +0000 (06:21 +0200)]
ANSI function declarations, ie () -> (void)

16 years agoFix using None when it should be NULL
Mikael Magnusson [Tue, 4 Sep 2007 04:23:18 +0000 (06:23 +0200)]
Fix using None when it should be NULL

16 years agoFix shadowed variables
Mikael Magnusson [Tue, 4 Sep 2007 04:22:28 +0000 (06:22 +0200)]
Fix shadowed variables

16 years agoFix calling functions with wrong number of arguments
Mikael Magnusson [Tue, 4 Sep 2007 04:22:51 +0000 (06:22 +0200)]
Fix calling functions with wrong number of arguments

16 years agoUpdate french translation.
Mikael Magnusson [Fri, 17 Aug 2007 20:33:57 +0000 (22:33 +0200)]
Update french translation.

16 years agohide the desktop popup when showing the directional focus popup too
Dana Jansens [Thu, 23 Aug 2007 13:08:38 +0000 (09:08 -0400)]
hide the desktop popup when showing the directional focus popup too

16 years agoGerman translation update
Mikael Magnusson [Thu, 23 Aug 2007 13:02:14 +0000 (15:02 +0200)]
German translation update

16 years agoHide the desktop cycle popup when the focus cycle popup is shown.
Mikael Magnusson [Wed, 22 Aug 2007 15:36:40 +0000 (17:36 +0200)]
Hide the desktop cycle popup when the focus cycle popup is shown.

16 years agoRussian translation update with manage desktop menu strings.
Mikael Magnusson [Fri, 17 Aug 2007 20:37:29 +0000 (22:37 +0200)]
Russian translation update with manage desktop menu strings.

16 years agoOnly copy execute_func to the more_menu.
Mikael Magnusson [Tue, 7 Aug 2007 03:15:48 +0000 (05:15 +0200)]
Only copy execute_func to the more_menu.
Also don't bother copying NULL around in menu_new.

16 years agoAnother leaked Rect *a
Mikael Magnusson [Tue, 7 Aug 2007 02:34:42 +0000 (04:34 +0200)]
Another leaked Rect *a

16 years agoSquash one more leak
Mikael Magnusson [Tue, 7 Aug 2007 02:24:05 +0000 (04:24 +0200)]
Squash one more leak

16 years agoproper constness
Dana Jansens [Tue, 7 Aug 2007 02:14:11 +0000 (22:14 -0400)]
proper constness

16 years agomore clear code?
Dana Jansens [Tue, 7 Aug 2007 02:12:20 +0000 (22:12 -0400)]
more clear code?

16 years agoFix another memleak
Mikael Magnusson [Tue, 7 Aug 2007 01:52:28 +0000 (03:52 +0200)]
Fix another memleak

16 years agoUpdated finnish translation
Mikael Magnusson [Mon, 6 Aug 2007 18:05:58 +0000 (20:05 +0200)]
Updated finnish translation

16 years agoadd a comment
Dana Jansens [Mon, 6 Aug 2007 01:14:38 +0000 (21:14 -0400)]
add a comment

16 years agoFix some memleaks
Mikael Magnusson [Mon, 6 Aug 2007 01:05:09 +0000 (03:05 +0200)]
Fix some memleaks

16 years agoWhen halting focus-follows-mouse, ignore any enter events that were generated before...
Dana Jansens [Sun, 5 Aug 2007 16:13:41 +0000 (12:13 -0400)]
When halting focus-follows-mouse, ignore any enter events that were generated before the halting process too.

16 years agofix edge detection, it was skipping edges sometimes
Dana Jansens [Sat, 4 Aug 2007 21:39:49 +0000 (17:39 -0400)]
fix edge detection, it was skipping edges sometimes

16 years agoupdate changelog for 3.4.4
Dana Jansens [Sat, 4 Aug 2007 19:42:04 +0000 (15:42 -0400)]
update changelog for 3.4.4

16 years agolet you select an omnipresent window on another desktop
Dana Jansens [Sat, 4 Aug 2007 19:24:59 +0000 (15:24 -0400)]
let you select an omnipresent window on another desktop

16 years agomake growtoedge shrink if it cyan grow any more
Dana Jansens [Sat, 4 Aug 2007 18:04:22 +0000 (14:04 -0400)]
make growtoedge shrink if it cyan grow any more

16 years agomove the submenus to the top of the client menu by popular demand.
Dana Jansens [Sat, 4 Aug 2007 17:36:08 +0000 (13:36 -0400)]
move the submenus to the top of the client menu by popular demand.

16 years agodon't make omnipresent windows lose focus when changing desktops. this is done by...
Dana Jansens [Sat, 4 Aug 2007 17:29:13 +0000 (13:29 -0400)]
don't make omnipresent windows lose focus when changing desktops.  this is done by allowing focus_fallback to specify if focus has been lost or not.  usually if you're call it, focus is lost, but not always.

16 years agodon't focus new windows if they appear on another desktop and a relative is not focused
Dana Jansens [Sat, 4 Aug 2007 16:57:34 +0000 (12:57 -0400)]
don't focus new windows if they appear on another desktop and a relative is not focused

16 years agolet you specify the padding y and x independently
Dana Jansens [Sat, 4 Aug 2007 16:13:10 +0000 (12:13 -0400)]
let you specify the padding y and x independently