dana/openbox.git
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.

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

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

12 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!

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

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

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

12 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

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

12 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

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

12 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

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

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

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

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

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

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

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

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

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

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

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

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

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

12 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

12 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

12 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

12 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

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

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

12 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

12 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

12 years agomake the default time for the desktop notificatin 875ms
Dana Jansens [Sat, 4 Aug 2007 16:11:04 +0000 (12:11 -0400)]
make the default time for the desktop notificatin 875ms

12 years agoadd resize corners to the bottom corners of the inner client border
Dana Jansens [Sat, 4 Aug 2007 15:38:01 +0000 (11:38 -0400)]
add resize corners to the bottom corners of the inner client border

12 years agoRemove edge switching timer before adding it again.
Mikael Magnusson [Sat, 4 Aug 2007 01:57:58 +0000 (03:57 +0200)]
Remove edge switching timer before adding it again.

12 years agoonly use user_time updates if they are on the focused window
Dana Jansens [Sat, 4 Aug 2007 04:43:25 +0000 (00:43 -0400)]
only use user_time updates if they are on the focused window

12 years agofallback focus when removing a desktop without doing a fake desktop switch
Dana Jansens [Sat, 4 Aug 2007 00:58:10 +0000 (20:58 -0400)]
fallback focus when removing a desktop without doing a fake desktop switch

12 years agoplace windows in the largest area not the widest one, reverts to 3.4.2 behavior so...
Dana Jansens [Sat, 4 Aug 2007 00:46:11 +0000 (20:46 -0400)]
place windows in the largest area not the widest one, reverts to 3.4.2 behavior so the dock doesn't screw up placement

12 years agoshow a popup notification when switching desktops (also make all the config options...
Dana Jansens [Sat, 4 Aug 2007 00:40:13 +0000 (20:40 -0400)]
show a popup notification when switching desktops  (also make all the config options export time in milliseconds not half milli half micro)

12 years agodon't make delayed focus-follows-mouse interupt menus and move/resizes
Dana Jansens [Fri, 3 Aug 2007 23:50:36 +0000 (19:50 -0400)]
don't make delayed focus-follows-mouse interupt menus and move/resizes

12 years agomake warping on screen edge keep firing if you don't move the mouse away from the...
Dana Jansens [Fri, 3 Aug 2007 22:20:33 +0000 (18:20 -0400)]
make warping on screen edge keep firing if you don't move the mouse away from the edge (but it slows down after the first time)

12 years agonew least-intrusive focus stealing prevention
Dana Jansens [Fri, 3 Aug 2007 22:06:10 +0000 (18:06 -0400)]
new least-intrusive focus stealing prevention

12 years agoChange resizing terminals to work for top and left edges too, the code is a little...
Mikael Magnusson [Fri, 3 Aug 2007 11:17:05 +0000 (13:17 +0200)]
Change resizing terminals to work for top and left edges too, the code is a little ugly.

12 years agoremove focus-stealing-prevention stuff, don't use user_time crap at all. it is broken...
Dana Jansens [Thu, 2 Aug 2007 03:35:31 +0000 (23:35 -0400)]
remove focus-stealing-prevention stuff, don't use user_time crap at all. it is broken in every application that has ever used it. ever. ever. \^_^/;;;

12 years agosymmetry..tho it's not used right now
Dana Jansens [Wed, 1 Aug 2007 23:09:42 +0000 (19:09 -0400)]
symmetry..tho it's not used right now

12 years agodon't force oldschool fullscreen windows to move inside struts (fixes acroread some...
Dana Jansens [Wed, 1 Aug 2007 23:09:30 +0000 (19:09 -0400)]
don't force oldschool fullscreen windows to move inside struts (fixes acroread some more, along with previous commit)

12 years agofix for acroread - don't shrink windows when they specifically fit an entire monitor
Dana Jansens [Wed, 1 Aug 2007 22:54:02 +0000 (18:54 -0400)]
fix for acroread - don't shrink windows when they specifically fit an entire monitor

12 years agoAccept <command> in addition to <execute> for the restart action.
Mikael Magnusson [Tue, 31 Jul 2007 16:33:57 +0000 (18:33 +0200)]
Accept <command> in addition to <execute> for the restart action.

12 years agoUpdates for Norwegian translation
Dana Jansens [Mon, 30 Jul 2007 13:34:44 +0000 (09:34 -0400)]
Updates for Norwegian translation

12 years agodon't propagate mouse button events on dock windows thru to the root window
Dana Jansens [Mon, 30 Jul 2007 05:47:13 +0000 (01:47 -0400)]
don't propagate mouse button events on dock windows thru to the root window

12 years agoUpdate traditional chinese messages
Dana Jansens [Sat, 28 Jul 2007 18:47:13 +0000 (14:47 -0400)]
Update traditional chinese messages

12 years agofix for xkb weirdness, to fix a bug introduced in 3.4.3, where releasing the super...
Dana Jansens [Thu, 26 Jul 2007 00:19:59 +0000 (20:19 -0400)]
fix for xkb weirdness, to fix a bug introduced in 3.4.3, where releasing the super mod key would not end interactive actions.

Somehow Super_L is being bound to Mod4Mask without being in the modifier table.  So we're doing some workarounds to find _all_ the keycodes for Super_L and use any of them to count as Mod4Mask.

12 years agouse the moveresize client to find the active monitor too
Dana Jansens [Tue, 24 Jul 2007 20:40:31 +0000 (16:40 -0400)]
use the moveresize client to find the active monitor too

12 years agofix directional edge finding for xinerama, so that it can skip across to the next...
Dana Jansens [Tue, 24 Jul 2007 18:09:08 +0000 (14:09 -0400)]
fix directional edge finding for xinerama, so that it can skip across to the next monitor

12 years agomake move and resize resist care about the dock
Mikael Magnusson [Thu, 26 Jul 2007 08:47:31 +0000 (10:47 +0200)]
make move and resize resist care about the dock

12 years agoraise new windows when they aren't getting activated in a couple cases
Dana Jansens [Mon, 23 Jul 2007 20:35:53 +0000 (16:35 -0400)]
raise new windows when they aren't getting activated in a couple cases

1. when we're not activating it because the user has a menu open or is moving/resizing a window
2. when we're not activating it because it's opening on another desktop

12 years agoremove unused variable
Dana Jansens [Sun, 22 Jul 2007 15:50:15 +0000 (11:50 -0400)]
remove unused variable

12 years agobump the library version
Dana Jansens [Sun, 22 Jul 2007 15:17:52 +0000 (11:17 -0400)]
bump the library version

12 years agoUpdate the new strings in the french translation
Dana Jansens [Sun, 22 Jul 2007 15:00:35 +0000 (11:00 -0400)]
Update the new strings in the french translation

12 years agoadd the per-app position stuff to the changelog
Dana Jansens [Sun, 22 Jul 2007 14:38:38 +0000 (10:38 -0400)]
add the per-app position stuff to the changelog