dana/openbox.git
16 years agodon't give focus to transient when it is ambiguous, but only if they have a parent
Dana Jansens [Mon, 28 May 2007 02:12:36 +0000 (02:12 +0000)]
don't give focus to transient when it is ambiguous, but only if they have a parent

16 years agoproperly search for a focused window in the transient tree
Dana Jansens [Mon, 28 May 2007 02:02:13 +0000 (02:02 +0000)]
properly search for a focused window in the transient tree

16 years agodo try_configure to find out what width the window will actually be, before adjust...
Dana Jansens [Mon, 28 May 2007 01:42:50 +0000 (01:42 +0000)]
do try_configure to find out what width the window will actually be, before adjust the x/y based on gravity, if they didn't specify the x/y

16 years agowhen compressing motion events use both xy and rootxy
Dana Jansens [Mon, 28 May 2007 01:07:45 +0000 (01:07 +0000)]
when compressing motion events use both xy and rootxy

16 years agoadd some tests which i didnt add before, and the new groupmodal test
Dana Jansens [Mon, 28 May 2007 00:40:03 +0000 (00:40 +0000)]
add some tests which i didnt add before, and the new groupmodal test

16 years agoadd a comment and make it smarter about when to let you focus cycle to windows with...
Dana Jansens [Mon, 28 May 2007 00:38:44 +0000 (00:38 +0000)]
add a comment and make it smarter about when to let you focus cycle to windows with modal children

16 years agoadd a comment
Dana Jansens [Mon, 28 May 2007 00:35:11 +0000 (00:35 +0000)]
add a comment

16 years agowhen you focus a window, bring any modal children it has to that desktop
Dana Jansens [Mon, 28 May 2007 00:33:58 +0000 (00:33 +0000)]
when you focus a window, bring any modal children it has to that desktop
when falling back, return the window which actually was focused by client_focus
let you focus cycle to windows when their modal window is on another desktop (it will be brought over)

16 years agoput transients on the current desktop when their parent is on all desktops
Dana Jansens [Mon, 28 May 2007 00:05:51 +0000 (00:05 +0000)]
put transients on the current desktop when their parent is on all desktops

16 years agoadd the focus options documentation to the mouse focus example
Dana Jansens [Sun, 27 May 2007 23:38:14 +0000 (23:38 +0000)]
add the focus options documentation to the mouse focus example

16 years agoproperly align stuff when the icon is on the right side
Dana Jansens [Sun, 27 May 2007 23:33:27 +0000 (23:33 +0000)]
properly align stuff when the icon is on the right side

16 years agoupdate catalan translation
Mikael Magnusson [Sun, 27 May 2007 23:31:46 +0000 (23:31 +0000)]
update catalan translation

16 years agoonly hilight the first entry when opening the menu with a keybind
Mikael Magnusson [Sun, 27 May 2007 23:11:14 +0000 (23:11 +0000)]
only hilight the first entry when opening the menu with a keybind

16 years agoignore focusout notifyungrab.
Dana Jansens [Sun, 27 May 2007 23:09:22 +0000 (23:09 +0000)]
ignore focusout notifyungrab.

fix focus bug in firefox where you use gmarks popup and when you go to a page with it, it think focus went to a black hole

16 years agodocument the focus options
Dana Jansens [Sun, 27 May 2007 22:55:06 +0000 (22:55 +0000)]
document the focus options

16 years agomake focuslast only apply to switching desktops, like 3.3.1
Dana Jansens [Sun, 27 May 2007 22:50:40 +0000 (22:50 +0000)]
make focuslast only apply to switching desktops, like 3.3.1

16 years agounused variables
Dana Jansens [Sun, 27 May 2007 22:48:40 +0000 (22:48 +0000)]
unused variables

16 years agoput xerrors in the debug output when they are being ignored
Dana Jansens [Sun, 27 May 2007 22:39:57 +0000 (22:39 +0000)]
put xerrors in the debug output when they are being ignored

16 years agowhen colormap changes and it is installed, reinstall the new one
Dana Jansens [Sun, 27 May 2007 22:39:30 +0000 (22:39 +0000)]
when colormap changes and it is installed, reinstall the new one
also add a debug print

16 years agoimprove the colormap setting code
Dana Jansens [Sun, 27 May 2007 22:38:48 +0000 (22:38 +0000)]
improve the colormap setting code

16 years agomssing a break; *^^;*
Dana Jansens [Sun, 27 May 2007 22:37:16 +0000 (22:37 +0000)]
mssing a break; *^^;*

16 years agodebug prints improved
Dana Jansens [Sun, 27 May 2007 22:31:38 +0000 (22:31 +0000)]
debug prints improved

16 years agoonly 1 unmap is generated when we reparent the window at startup. not sure when this...
Dana Jansens [Sun, 27 May 2007 22:23:47 +0000 (22:23 +0000)]
only 1 unmap is generated when we reparent the window at startup. not sure when this changed but weve changed our eventmasks, or maybe it was always wrong. but yeh.

16 years agowhen an app doesn't specify PPosition or USPosition, then assume its PPosition
Dana Jansens [Sun, 27 May 2007 21:30:16 +0000 (21:30 +0000)]
when an app doesn't specify PPosition or USPosition, then assume its PPosition

16 years agofix a string
Mikael Magnusson [Sun, 27 May 2007 19:43:33 +0000 (19:43 +0000)]
fix a string

16 years agodon't crash when you press enter with nothing selected in the menu
Mikael Magnusson [Sun, 27 May 2007 18:57:51 +0000 (18:57 +0000)]
don't crash when you press enter with nothing selected in the menu

16 years agohilight the first normal entry also if there is a menuheader/separator before it
Mikael Magnusson [Sun, 27 May 2007 17:31:22 +0000 (17:31 +0000)]
hilight the first normal entry also if there is a menuheader/separator before it

16 years agofix formatting
Dana Jansens [Sun, 27 May 2007 16:35:44 +0000 (16:35 +0000)]
fix formatting

16 years agofix window gravity when there is a border width
Dana Jansens [Sun, 27 May 2007 16:33:59 +0000 (16:33 +0000)]
fix window gravity when there is a border width

16 years agodebug print modified and the confignotify test
Dana Jansens [Sun, 27 May 2007 15:28:16 +0000 (15:28 +0000)]
debug print modified and the confignotify test

16 years agodon't set the above member in synthetic configurenotify events
Dana Jansens [Sun, 27 May 2007 14:49:44 +0000 (14:49 +0000)]
don't set the above member in synthetic configurenotify events

add more output in confignotify test

16 years agoupdate slovak translation, and fix some errors i made in the portuguese translations...
Mikael Magnusson [Sun, 27 May 2007 14:36:23 +0000 (14:36 +0000)]
update slovak translation, and fix some errors i made in the portuguese translations wrt encoding

16 years agoonly need to call xconfigurewindow once
Dana Jansens [Sun, 27 May 2007 14:33:37 +0000 (14:33 +0000)]
only need to call xconfigurewindow once

16 years agodon't queue focusing actions. so they don't hide the menu right away
Dana Jansens [Sun, 27 May 2007 05:07:17 +0000 (05:07 +0000)]
don't queue focusing actions. so they don't hide the menu right away

16 years agodon't set the global moving state unless the move/resize is accepted
Dana Jansens [Sun, 27 May 2007 04:16:14 +0000 (04:16 +0000)]
don't set the global moving state unless the move/resize is accepted

16 years agoalways set all the coords, as the x/y only change when resizing the border too
Dana Jansens [Sun, 27 May 2007 00:35:00 +0000 (00:35 +0000)]
always set all the coords, as the x/y only change when resizing the border too

16 years agothis fits in 80 cols on one line and oh my god I wrote where instead of we're :(...
Mikael Magnusson [Sat, 26 May 2007 23:32:25 +0000 (23:32 +0000)]
this fits in 80 cols on one line and oh my god I wrote where instead of we're :(((((((((((((((((( sad face

16 years agodon't fake an enter event if where still in the same window
Mikael Magnusson [Sat, 26 May 2007 23:30:59 +0000 (23:30 +0000)]
don't fake an enter event if where still in the same window

16 years agoonly readjust the frame size when the client needs to be resized
Dana Jansens [Sat, 26 May 2007 23:12:29 +0000 (23:12 +0000)]
only readjust the frame size when the client needs to be resized

16 years agofix for not changing clients' border widths on them
Dana Jansens [Sat, 26 May 2007 23:09:34 +0000 (23:09 +0000)]
fix for not changing clients' border widths on them

16 years agodon't change clients' borders
Dana Jansens [Sat, 26 May 2007 22:55:13 +0000 (22:55 +0000)]
don't change clients' borders

16 years agowe set borderwidth to 0 so always give that to the client consistently
Dana Jansens [Sat, 26 May 2007 22:41:31 +0000 (22:41 +0000)]
we set borderwidth to 0 so always give that to the client consistently

16 years agosend the client's border width in configurenotify messages, so it can get the right...
Dana Jansens [Sat, 26 May 2007 22:28:27 +0000 (22:28 +0000)]
send the client's border width in configurenotify messages, so it can get the right offset

16 years agolet you unfocus/lower stuff in press actions. it'll be okay
Dana Jansens [Sat, 26 May 2007 22:15:52 +0000 (22:15 +0000)]
let you unfocus/lower stuff in press actions. it'll be okay

16 years agochange in how things are ungrabbed to avoid grabwhilenotify. don't ungrab every key...
Dana Jansens [Sat, 26 May 2007 22:13:34 +0000 (22:13 +0000)]
change in how things are ungrabbed to avoid grabwhilenotify. don't ungrab every key press. just ungrab the passive grab when there is no active grab and we are going to move focus.

this should be less intrusive and seems to work

16 years agorevert r6802.
Dana Jansens [Sat, 26 May 2007 22:03:07 +0000 (22:03 +0000)]
revert r6802.

it seems that focusin/out notifygrab business is only affected by *keyboard* grabs, not pointer grabs, at least not passive pointer grabs

16 years agodon't unfocus in press actions
Dana Jansens [Sat, 26 May 2007 21:39:27 +0000 (21:39 +0000)]
don't unfocus in press actions

16 years agoonly kill focus cycling when the window being destroyed was in the list of targets
Dana Jansens [Sat, 26 May 2007 21:22:28 +0000 (21:22 +0000)]
only kill focus cycling when the window being destroyed was in the list of targets

16 years agodon't need the client destructor now
Dana Jansens [Sat, 26 May 2007 21:09:48 +0000 (21:09 +0000)]
don't need the client destructor now

16 years agooops was saving tthe options in the wrong place.
Dana Jansens [Sat, 26 May 2007 21:03:48 +0000 (21:03 +0000)]
oops was saving tthe options in the wrong place.

save the panels/dockwindows/desktopwindows/alldesktops options when focus cycling starts

16 years agosave the panels/dockwindows/desktopwindows/alldesktops options when the focus cycling...
Dana Jansens [Sat, 26 May 2007 20:56:00 +0000 (20:56 +0000)]
save the panels/dockwindows/desktopwindows/alldesktops options when the focus cycling popup is shown

16 years agouse focus_cycle_stop to cancel focus cycling
Dana Jansens [Sat, 26 May 2007 20:52:21 +0000 (20:52 +0000)]
use focus_cycle_stop to cancel focus cycling

16 years agowhen canceling focus cycling, cancel both normal and directional
Dana Jansens [Sat, 26 May 2007 20:48:52 +0000 (20:48 +0000)]
when canceling focus cycling, cancel both normal and directional

16 years agodon't crash when a window adds itself to the focus order while cycling
Dana Jansens [Sat, 26 May 2007 20:43:08 +0000 (20:43 +0000)]
don't crash when a window adds itself to the focus order while cycling

16 years agobump the version
Dana Jansens [Sat, 26 May 2007 20:37:03 +0000 (20:37 +0000)]
bump the version

16 years agodrop the startup notify timeout from 30 to 20 seconds
Dana Jansens [Sat, 26 May 2007 19:58:20 +0000 (19:58 +0000)]
drop the startup notify timeout from 30 to 20 seconds

16 years agoadd confignotify.c test
Dana Jansens [Sat, 26 May 2007 19:52:02 +0000 (19:52 +0000)]
add confignotify.c test

16 years agoadd a comment about the last revision
Dana Jansens [Sat, 26 May 2007 19:48:55 +0000 (19:48 +0000)]
add a comment about the last revision

16 years agodon't map the client window when grabbing the frame. we need to set up the client...
Dana Jansens [Sat, 26 May 2007 19:46:28 +0000 (19:46 +0000)]
don't map the client window when grabbing the frame. we need to set up the client and send configurenotifies and stuff *before* sending the map notify

16 years agoremove a debug print
Dana Jansens [Sat, 26 May 2007 17:36:05 +0000 (17:36 +0000)]
remove a debug print

16 years agocenter argb textures (icons for eg.) within the area given if they are not the same...
Dana Jansens [Sat, 26 May 2007 17:35:17 +0000 (17:35 +0000)]
center argb textures (icons for eg.) within the area given if they are not the same shape

16 years agofix titleleft and titleright for fullmax windows without decorations
Dana Jansens [Sat, 26 May 2007 15:53:05 +0000 (15:53 +0000)]
fix titleleft and titleright for fullmax windows without decorations

16 years agouse the PSize and USSize hints to decide to resize windows on map or not
Dana Jansens [Sat, 26 May 2007 15:38:54 +0000 (15:38 +0000)]
use the PSize and USSize hints to decide to resize windows on map or not

16 years agoi don't speak portuguese
Mikael Magnusson [Sat, 26 May 2007 15:37:12 +0000 (15:37 +0000)]
i don't speak portuguese

16 years agofix a debug print
Dana Jansens [Sat, 26 May 2007 15:25:57 +0000 (15:25 +0000)]
fix a debug print

16 years ago+1 in the wrong place meant bad decorations
Dana Jansens [Sat, 26 May 2007 15:22:18 +0000 (15:22 +0000)]
+1 in the wrong place meant bad decorations

16 years agogive focus to new windows when *any* relative already has focus..
Dana Jansens [Sat, 26 May 2007 14:56:53 +0000 (14:56 +0000)]
give focus to new windows when *any* relative already has focus..

don't give it when it will not go to the window anyway tho, like if there is already a modal child for it

16 years agodon't lower from press actions, because that can't move focus!
Dana Jansens [Sat, 26 May 2007 14:13:09 +0000 (14:13 +0000)]
don't lower from press actions, because that can't move focus!

16 years agoadd C-A-Up/Down to the mouse focus example, and don't raise on clicks on the client
Dana Jansens [Sat, 26 May 2007 13:53:10 +0000 (13:53 +0000)]
add C-A-Up/Down to the mouse focus example, and don't raise on clicks on the client

16 years agoadd a debug print
Dana Jansens [Sat, 26 May 2007 03:09:45 +0000 (03:09 +0000)]
add a debug print

16 years agoonly auto-activate normal windows when they raise themselves (not splash screens...
Dana Jansens [Sat, 26 May 2007 03:08:07 +0000 (03:08 +0000)]
only auto-activate normal windows when they raise themselves (not splash screens or panels or desktops - what desktop would raise itself heh)

16 years agomention openbox version in ar.po
Mikael Magnusson [Sat, 26 May 2007 00:35:52 +0000 (00:35 +0000)]
mention openbox version in ar.po

16 years agoadd arabic translation
Dana Jansens [Sat, 26 May 2007 00:30:08 +0000 (00:30 +0000)]
add arabic translation

16 years agoonly preserve focus for normal omnipresent windows
Dana Jansens [Fri, 25 May 2007 23:42:44 +0000 (23:42 +0000)]
only preserve focus for normal omnipresent windows

16 years agomove some code aaround for focusing. proper layer calculation for fullscreen windows...
Dana Jansens [Fri, 25 May 2007 22:55:37 +0000 (22:55 +0000)]
move some code aaround for focusing. proper layer calculation for fullscreen windows based on focus. hopeuflly not break sometihng else.

16 years agobump the version
Dana Jansens [Fri, 25 May 2007 21:42:28 +0000 (21:42 +0000)]
bump the version

16 years agoi broke desktop switching
Dana Jansens [Fri, 25 May 2007 21:40:24 +0000 (21:40 +0000)]
i broke desktop switching

16 years agoremove activate from the mouse focus example rc.xml
Dana Jansens [Fri, 25 May 2007 21:17:35 +0000 (21:17 +0000)]
remove activate from the mouse focus example rc.xml

16 years agoremove activate action from the config file, so things are more explicit. dont unshad...
Dana Jansens [Fri, 25 May 2007 21:16:34 +0000 (21:16 +0000)]
remove activate action from the config file, so things are more explicit. dont unshade on click for things that can move the window. don't unshade on right clicks on the titlebar

16 years agobump the version for 993
Dana Jansens [Fri, 25 May 2007 19:20:20 +0000 (19:20 +0000)]
bump the version for 993

16 years agoadd C-A-Up/Down mouse bindings, for consistency with the C-A-arrow key bindings!
Dana Jansens [Fri, 25 May 2007 19:10:47 +0000 (19:10 +0000)]
add C-A-Up/Down mouse bindings, for consistency with the C-A-arrow key bindings!

16 years agolet you use control button to run keyboard accels in menus
Dana Jansens [Fri, 25 May 2007 19:01:57 +0000 (19:01 +0000)]
let you use control button to run keyboard accels in menus

16 years agodont use empty desktop names from the rc file
Dana Jansens [Fri, 25 May 2007 17:49:15 +0000 (17:49 +0000)]
dont use empty desktop names from the rc file

16 years agosmall optimization heh for screen_set_desktop - set the root proerty less
Dana Jansens [Fri, 25 May 2007 15:49:16 +0000 (15:49 +0000)]
small optimization heh for screen_set_desktop - set the root proerty less
initialize screen_last_desktop properly

16 years agoless negatives means less confusing.. but yeah. get rid of omnipresent check in focus...
Dana Jansens [Fri, 25 May 2007 15:41:14 +0000 (15:41 +0000)]
less negatives means less confusing.. but yeah. get rid of omnipresent check in focus_fallback

16 years agohaha typo etc
Mikael Magnusson [Fri, 25 May 2007 15:36:26 +0000 (15:36 +0000)]
haha typo etc

16 years agomissed a spot
Mikael Magnusson [Fri, 25 May 2007 15:35:24 +0000 (15:35 +0000)]
missed a spot

16 years agocheck desktop switching stuff in screen_set_desktop
Mikael Magnusson [Fri, 25 May 2007 15:34:31 +0000 (15:34 +0000)]
check desktop switching stuff in screen_set_desktop

16 years agoprevent flicker in the follow actiosn again instead of in focus fallback. focus fallb...
Dana Jansens [Fri, 25 May 2007 15:23:48 +0000 (15:23 +0000)]
prevent flicker in the follow actiosn again instead of in focus fallback. focus fallback needs to be very reliable.

16 years agodebug print in focus.c
Dana Jansens [Fri, 25 May 2007 15:02:20 +0000 (15:02 +0000)]
debug print in focus.c
when focus goes to something that isn't a client (window already unmapped) then set focus_client to NULL so we know nothing has focus right now

16 years agoput the actions back so they don't have to be smart.
Dana Jansens [Fri, 25 May 2007 14:44:49 +0000 (14:44 +0000)]
put the actions back so they don't have to be smart.

make focus_fallback not send focus anywhere if the new target is the same as what is already focused

16 years agomake omnipresent windows not flicker when changing desktops
Mikael Magnusson [Fri, 25 May 2007 14:31:24 +0000 (14:31 +0000)]
make omnipresent windows not flicker when changing desktops

16 years agosave the focus_client when falling back
Dana Jansens [Fri, 25 May 2007 14:26:12 +0000 (14:26 +0000)]
save the focus_client when falling back

16 years agobackwards logic
Dana Jansens [Fri, 25 May 2007 14:21:48 +0000 (14:21 +0000)]
backwards logic

16 years agocleanup, and don't send windows to desktop if they are already there
Dana Jansens [Fri, 25 May 2007 14:18:45 +0000 (14:18 +0000)]
cleanup, and don't send windows to desktop if they are already there

16 years agodon't fallback focus if the focused client is being moved there and follow is on
Dana Jansens [Fri, 25 May 2007 14:16:43 +0000 (14:16 +0000)]
don't fallback focus if the focused client is being moved there and follow is on

16 years agoput the hostname in icon titles too
Dana Jansens [Fri, 25 May 2007 14:08:54 +0000 (14:08 +0000)]
put the hostname in icon titles too

16 years agosend iconic windows to the bottom of the focus list so you can a-s-tab tog get back...
Dana Jansens [Fri, 25 May 2007 14:07:34 +0000 (14:07 +0000)]
send iconic windows to the bottom of the focus list so you can a-s-tab tog get back what you just iconified

16 years agotitleNumber disappeared a while ago
Mikael Magnusson [Fri, 25 May 2007 09:29:35 +0000 (09:29 +0000)]
titleNumber disappeared a while ago

16 years agoprevent very small windows from having elements with negative or zero sizes
Dana Jansens [Thu, 24 May 2007 23:30:16 +0000 (23:30 +0000)]
prevent very small windows from having elements with negative or zero sizes