dana/openbox.git
11 years agofix a memleak in client_update_icon_geometry
Dana Jansens [Fri, 25 Jan 2008 15:32:39 +0000 (10:32 -0500)]
fix a memleak in client_update_icon_geometry

11 years agofix a mem leak
Dana Jansens [Fri, 25 Jan 2008 15:29:49 +0000 (10:29 -0500)]
fix a mem leak

11 years agofix a mem leak
Dana Jansens [Fri, 25 Jan 2008 15:27:44 +0000 (10:27 -0500)]
fix a mem leak

11 years agoCreate fake enter events in fewer situations - avoiding times that you don't actually...
Dana Jansens [Fri, 25 Jan 2008 15:20:21 +0000 (10:20 -0500)]
Create fake enter events in fewer situations - avoiding times that you don't actually want them.  Ignore event serials without using XSync, so that we aren't doing an XSync 100 times per minute - slow!

11 years agoFix some memleaks.
Mikael Magnusson [Fri, 25 Jan 2008 11:53:43 +0000 (12:53 +0100)]
Fix some memleaks.

missing RrFontClose for osd_font in two places.
missing a g_free(area);

11 years agoskip enter events caused by temporarily raising windows during alt-tab. also caused...
Dana Jansens [Fri, 25 Jan 2008 05:35:31 +0000 (00:35 -0500)]
skip enter events caused by temporarily raising windows during alt-tab.  also caused by the focus cycle indicator moving

11 years agoadd SessionManaged to the gnome wm-props.desktop thinger like metacity has in its
Dana Jansens [Fri, 25 Jan 2008 05:26:25 +0000 (00:26 -0500)]
add SessionManaged to the gnome wm-props.desktop thinger like metacity has in its

11 years agoadd the new Clearlooks theme by mulberry, and rename the current one to Clearlooks-3.4
Dana Jansens [Fri, 25 Jan 2008 04:05:58 +0000 (23:05 -0500)]
add the new Clearlooks theme by mulberry, and rename the current one to Clearlooks-3.4

11 years agostrip non-modifier masks from the keyboard state for keyreleases when xkb is present too
Dana Jansens [Fri, 25 Jan 2008 01:19:33 +0000 (20:19 -0500)]
strip non-modifier masks from the keyboard state for keyreleases when xkb is present too

11 years agoUpdate portuguese translation.
Mikael Magnusson [Tue, 22 Jan 2008 21:18:00 +0000 (22:18 +0100)]
Update portuguese translation.

11 years agoUpdate brasilian portuguese translation.
Og Maciel [Tue, 22 Jan 2008 20:42:27 +0000 (21:42 +0100)]
Update brasilian portuguese translation.

11 years agoUpdate russian translation, by Snelius.
Mikael Magnusson [Tue, 22 Jan 2008 07:00:20 +0000 (08:00 +0100)]
Update russian translation, by Snelius.

11 years agoprint a warning when the session has a different number of desktops than the openbox...
Dana Jansens [Tue, 22 Jan 2008 17:54:53 +0000 (12:54 -0500)]
print a warning when the session has a different number of desktops than the openbox config

11 years agouse the <wmclass> for startup notfication in the execute action. when present don...
Dana Jansens [Tue, 22 Jan 2008 03:27:03 +0000 (22:27 -0500)]
use the <wmclass> for startup notfication in the execute action. when present don't use the check against the binary.

11 years agoFix two typos in comments in rc.xml
Mikael Magnusson [Mon, 21 Jan 2008 11:14:30 +0000 (12:14 +0100)]
Fix two typos in comments in rc.xml

11 years agoonly unset the startup_desktop_id once, and dont free the string we pass to putenv
Dana Jansens [Sun, 20 Jan 2008 23:34:26 +0000 (18:34 -0500)]
only unset the startup_desktop_id once, and dont free the string we pass to putenv

11 years agocheck them startupnotify-provided wmclass against both parts of a window's wm_class...
Dana Jansens [Sun, 20 Jan 2008 14:52:10 +0000 (09:52 -0500)]
check them startupnotify-provided wmclass against both parts of a window's wm_class hint, as the spec doth say so.

11 years agoputenv wants a char*, not a const
Dana Jansens [Sun, 20 Jan 2008 06:36:37 +0000 (01:36 -0500)]
putenv wants a char*, not a const

11 years agoUpdate Basque translation.
Inko Illarramendi Arancibia [Sat, 19 Jan 2008 13:36:42 +0000 (14:36 +0100)]
Update Basque translation.

11 years agoUpdate simplified chinese translation.
Shaodong Di [Fri, 18 Jan 2008 14:04:50 +0000 (15:04 +0100)]
Update simplified chinese translation.

11 years agoUpdate finnish translation.
Lauri Hakko [Thu, 17 Jan 2008 22:14:22 +0000 (23:14 +0100)]
Update finnish translation.

11 years agoUpdate vietnamese translation.
Quan Tran [Thu, 17 Jan 2008 22:10:36 +0000 (23:10 +0100)]
Update vietnamese translation.

11 years agoUpdate french translation.
Cyrille Bagard [Thu, 17 Jan 2008 21:55:01 +0000 (22:55 +0100)]
Update french translation.

11 years agoUpdate german translation.
Finn Zirngibl [Thu, 17 Jan 2008 21:51:17 +0000 (22:51 +0100)]
Update german translation.

11 years agoSome .c files that had translatable strings were not in POTFILES.in.
Mikael Magnusson [Thu, 17 Jan 2008 21:20:53 +0000 (22:20 +0100)]
Some .c files that had translatable strings were not in POTFILES.in.

Swedish translation is updated with all new strings.

11 years agoFixes to finnish translation.
Lauri Hakko [Thu, 17 Jan 2008 21:02:29 +0000 (22:02 +0100)]
Fixes to finnish translation.

11 years agoRemove leftover config_four_corners from config.c.
Mikael Magnusson [Wed, 16 Jan 2008 14:58:24 +0000 (15:58 +0100)]
Remove leftover config_four_corners from config.c.

11 years agomake the ping hash tables work correctly. don't need to stop pinging, it will automa...
Dana Jansens [Thu, 17 Jan 2008 00:21:42 +0000 (19:21 -0500)]
make the ping hash tables work correctly.  don't need to stop pinging, it will automatically.  and not all windows get pings, even tho we get notified that they are being destroyed

11 years agoonly 1 hash table is needed in ping.c
Dana Jansens [Wed, 16 Jan 2008 23:53:15 +0000 (18:53 -0500)]
only 1 hash table is needed in ping.c

11 years agouse hash tables in ping.[ch] instead of a list. we're pinging every window, not just...
Dana Jansens [Wed, 16 Jan 2008 23:44:22 +0000 (18:44 -0500)]
use hash tables in ping.[ch] instead of a list. we're pinging every window, not just windows youre trying to close, so don't use datastructures that suck with lots of windows..

11 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.

11 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

11 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.

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

11 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..

11 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

11 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

11 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

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

11 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

11 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

11 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

11 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

11 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)

11 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

11 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

11 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

11 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

11 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.

11 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

11 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..

11 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.

11 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.

11 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)

11 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..)

11 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

11 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.

11 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

11 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

11 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.

11 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

11 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

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

11 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

11 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

11 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

11 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

11 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)

11 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

11 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

11 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.

11 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

11 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

11 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

11 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"

11 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

11 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.

11 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

11 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

11 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

11 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

11 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.

11 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

11 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

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

11 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.

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

11 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)

11 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

11 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

11 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

11 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

11 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

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

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

11 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.

11 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.

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

11 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.

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