]> icculus.org git repositories - mikachu/openbox.git/log
mikachu/openbox.git
17 years agoput the separator back in the spit up client list menu
Dana Jansens [Mon, 23 Apr 2007 02:22:18 +0000 (02:22 +0000)]
put the separator back in the spit up client list menu

17 years agoback out r5812. you do want that there
Dana Jansens [Mon, 23 Apr 2007 02:02:34 +0000 (02:02 +0000)]
back out r5812. you do want that there

17 years agowasteful syncing
Dana Jansens [Mon, 23 Apr 2007 02:00:33 +0000 (02:00 +0000)]
wasteful syncing

17 years agoremove windows from the hash on hide, dont readd them again!
Dana Jansens [Mon, 23 Apr 2007 01:54:35 +0000 (01:54 +0000)]
remove windows from the hash on hide, dont readd them again!

17 years agounused variable "icons"
Mikael Magnusson [Mon, 23 Apr 2007 01:36:36 +0000 (01:36 +0000)]
unused variable "icons"

17 years agostop listening to events on clients that are being unmanaged before generating new...
Dana Jansens [Sun, 22 Apr 2007 22:56:53 +0000 (22:56 +0000)]
stop listening to events on clients that are being unmanaged before generating new events

17 years agoyou cant grab substructureredirect on the plate. why was this even here?
Dana Jansens [Sun, 22 Apr 2007 22:55:06 +0000 (22:55 +0000)]
you cant grab substructureredirect on the plate. why was this even here?

17 years agoadd a test for show-hide-show of a window really quickly
Dana Jansens [Sun, 22 Apr 2007 22:54:32 +0000 (22:54 +0000)]
add a test for show-hide-show of a window really quickly

17 years agouse event_ignore_queued_enters
Dana Jansens [Sun, 22 Apr 2007 22:21:32 +0000 (22:21 +0000)]
use event_ignore_queued_enters

17 years agowhen windows reverttoparent, we will get a notifynonlinear when the frame closes
Dana Jansens [Sun, 22 Apr 2007 21:29:02 +0000 (21:29 +0000)]
when windows reverttoparent, we will get a notifynonlinear when the frame closes

17 years agouse focusouts from unmanaged windows (windows which have just closed)
Dana Jansens [Sun, 22 Apr 2007 21:14:04 +0000 (21:14 +0000)]
use focusouts from unmanaged windows (windows which have just closed)

17 years agoadd a debug message
Dana Jansens [Sun, 22 Apr 2007 20:41:26 +0000 (20:41 +0000)]
add a debug message

17 years agofocus properly on desktop change
Dana Jansens [Sun, 22 Apr 2007 20:40:22 +0000 (20:40 +0000)]
focus properly on desktop change

17 years agomissing a header
Dana Jansens [Sun, 22 Apr 2007 20:37:33 +0000 (20:37 +0000)]
missing a header

17 years agowhen focusing nothing, make sure focus_client knows that nothing is focused
Dana Jansens [Sun, 22 Apr 2007 20:33:12 +0000 (20:33 +0000)]
when focusing nothing, make sure focus_client knows that nothing is focused

17 years agofocusin to the root window happens on both monitors when a focused window unmaps...
Dana Jansens [Sun, 22 Apr 2007 20:27:13 +0000 (20:27 +0000)]
focusin to the root window happens on both monitors when a focused window unmaps... boo...

17 years agoignore some focus events that shouldnt be reacted to
Dana Jansens [Sun, 22 Apr 2007 20:10:17 +0000 (20:10 +0000)]
ignore some focus events that shouldnt be reacted to

17 years ago(no commit message)
Dana Jansens [Sun, 22 Apr 2007 19:52:37 +0000 (19:52 +0000)]

17 years agoa) set the focus client before calculating its layer
Dana Jansens [Sun, 22 Apr 2007 19:35:50 +0000 (19:35 +0000)]
a) set the focus client before calculating its layer
b) cleanup in focus.c

17 years agoFocusOut events come after UnmapNotify, so we don't need to worry about focusing...
Dana Jansens [Sun, 22 Apr 2007 19:24:51 +0000 (19:24 +0000)]
FocusOut events come after UnmapNotify, so we don't need to worry about focusing an invalid window

17 years agoa) remove focus_hilite, it is not needed and complicated things
Dana Jansens [Sun, 22 Apr 2007 19:13:38 +0000 (19:13 +0000)]
a) remove focus_hilite, it is not needed and complicated things
b) set focus_client to null when nothing is actually focused, but still allow
   focus to go to black holes
c) allow the focus action to be performed without a client, this will focus
   the openbox instance (i.e. the screen in multihead setups)

big thanks to syscrash for the ideas on how to go about this

17 years agoxflush after changing the focus decorations so it gets shown faster
Dana Jansens [Sun, 22 Apr 2007 19:08:38 +0000 (19:08 +0000)]
xflush after changing the focus decorations so it gets shown faster

17 years agobetter debugging symbols
Dana Jansens [Sun, 22 Apr 2007 19:03:18 +0000 (19:03 +0000)]
better debugging symbols

17 years agodon't compare client pointers with random numbers
Mikael Magnusson [Sun, 22 Apr 2007 18:26:05 +0000 (18:26 +0000)]
don't compare client pointers with random numbers

17 years agoremove debug message
Dana Jansens [Sun, 22 Apr 2007 17:33:37 +0000 (17:33 +0000)]
remove debug message

17 years agohilite the focus target before xsyncing in the ignore enter stuff, so less flicker
Dana Jansens [Sun, 22 Apr 2007 16:49:13 +0000 (16:49 +0000)]
hilite the focus target before xsyncing in the ignore enter stuff, so less flicker

17 years agouse ignore enters instead of removing them from the queue
Dana Jansens [Sun, 22 Apr 2007 16:48:35 +0000 (16:48 +0000)]
use ignore enters instead of removing them from the queue

17 years agodont need to ignore mouse events during a keyboard grab, they go to the grab-window...
Dana Jansens [Sun, 22 Apr 2007 15:58:09 +0000 (15:58 +0000)]
dont need to ignore mouse events during a keyboard grab, they go to the grab-window anyways
use our built in grab_keyboard

17 years agodon't grab the pointer during interactive events. this allows you to alt-tab during...
Dana Jansens [Sun, 22 Apr 2007 15:22:25 +0000 (15:22 +0000)]
don't grab the pointer during interactive events. this allows you to alt-tab during a dnd.

17 years agoremove grab_pointer_window, nothing used it
Dana Jansens [Sun, 22 Apr 2007 14:37:14 +0000 (14:37 +0000)]
remove grab_pointer_window, nothing used it

17 years agostart on the current desktop when a wm was already running
Dana Jansens [Sun, 22 Apr 2007 14:16:33 +0000 (14:16 +0000)]
start on the current desktop when a wm was already running

17 years agoonly pass thru events when the menu is open, don't for other stuff
Dana Jansens [Sun, 22 Apr 2007 14:07:29 +0000 (14:07 +0000)]
only pass thru events when the menu is open, don't for other stuff

17 years agoeat enter events after unmanaging a window
Dana Jansens [Sun, 22 Apr 2007 13:53:28 +0000 (13:53 +0000)]
eat enter events after unmanaging a window
change how focus falls back for windows being unmanaged, don't fall back immediately, instead wait for the focus out event and use it (break stuff maybe! yay)

17 years agodon't fallback to the desktop again when leaving show-desktop-mode
Dana Jansens [Sun, 22 Apr 2007 04:42:33 +0000 (04:42 +0000)]
don't fallback to the desktop again when leaving show-desktop-mode

17 years agoengrish
Dana Jansens [Sun, 22 Apr 2007 04:35:23 +0000 (04:35 +0000)]
engrish

17 years agoadd a comparitor to timers. use this in event.c to let you remove timers from the...
Dana Jansens [Sun, 22 Apr 2007 04:16:00 +0000 (04:16 +0000)]
add a comparitor to timers. use this in event.c to let you remove timers from the queue selectively for delayed focus

17 years agobetter matching of the menu titles/separators to the theme
Dana Jansens [Sun, 22 Apr 2007 03:54:43 +0000 (03:54 +0000)]
better matching of the menu titles/separators to the theme

17 years agohighlight for motion events in the menu too, this is useful when the enter gets ignor...
Dana Jansens [Sun, 22 Apr 2007 03:18:55 +0000 (03:18 +0000)]
highlight for motion events in the menu too, this is useful when the enter gets ignored cuz the mouse was already inside it

17 years agogive labeled separators borders
Dana Jansens [Sun, 22 Apr 2007 03:13:41 +0000 (03:13 +0000)]
give labeled separators borders

17 years agostop delayed focusing when falling back
Dana Jansens [Sun, 22 Apr 2007 03:02:13 +0000 (03:02 +0000)]
stop delayed focusing when falling back

17 years agofix segfaults
Dana Jansens [Sun, 22 Apr 2007 02:49:52 +0000 (02:49 +0000)]
fix segfaults

17 years agoproperly handle clients disappearing during delayed focus on them
Dana Jansens [Sun, 22 Apr 2007 02:35:22 +0000 (02:35 +0000)]
properly handle clients disappearing during delayed focus on them

17 years agouse the timestamp from the original enter when delay-focusing a window
Dana Jansens [Sun, 22 Apr 2007 02:34:05 +0000 (02:34 +0000)]
use the timestamp from the original enter when delay-focusing a window

17 years agoignore crossing events while an interactive grab is going on.
Dana Jansens [Sun, 22 Apr 2007 02:12:32 +0000 (02:12 +0000)]
ignore crossing events while an interactive grab is going on.
when a menu is open, use the crossing events for the menu only.

17 years agofix a segfault
Dana Jansens [Sun, 22 Apr 2007 01:09:20 +0000 (01:09 +0000)]
fix a segfault

17 years agobetter event handling for menus
Dana Jansens [Sun, 22 Apr 2007 00:53:21 +0000 (00:53 +0000)]
better event handling for menus

17 years ago1) get rid of menu titles
Dana Jansens [Sun, 22 Apr 2007 00:36:54 +0000 (00:36 +0000)]
1) get rid of menu titles
2) let separators have labels, when they have a label, then they will appear like a menu title used to

so if you want a menu title, you use a separator in the menu itself at the top

more style work may be needed

17 years agograb enter/leave events during mouse grabs and pass events along still during the...
Dana Jansens [Sun, 22 Apr 2007 00:35:36 +0000 (00:35 +0000)]
grab enter/leave events during mouse grabs and pass events along still during the grab. this is needed to catch enter/leave events in the menus. it seems to not be weird with apps.

17 years agohandle enter/leave events in the menu
Dana Jansens [Sun, 22 Apr 2007 00:31:03 +0000 (00:31 +0000)]
handle enter/leave events in the menu

17 years agolook in sysconfdir before looking in /etc/xdg. this kinda violates the spec, i think...
Dana Jansens [Sun, 22 Apr 2007 00:29:33 +0000 (00:29 +0000)]
look in sysconfdir before looking in /etc/xdg. this kinda violates the spec, i think, but i don't see any other proper alternative really.

17 years agodont do the same thing 100 times
Dana Jansens [Sat, 21 Apr 2007 22:16:24 +0000 (22:16 +0000)]
dont do the same thing 100 times

17 years agoadd --debug-focus
Dana Jansens [Sat, 21 Apr 2007 22:06:47 +0000 (22:06 +0000)]
add --debug-focus

add --config-file: to specify a config file to use.

set OPENBOX_RC property on the root window containing the path of the RC file being the full path to the RC file being used by openbox

17 years agoignore BadMatch errors that can't be avoided
Dana Jansens [Sat, 21 Apr 2007 21:36:02 +0000 (21:36 +0000)]
ignore BadMatch errors that can't be avoided

17 years agofixes for transients
Dana Jansens [Sat, 21 Apr 2007 21:32:21 +0000 (21:32 +0000)]
fixes for transients

1) don't count non-normal windows as parents when placing/stacking transients
2) in stacking.c, when a window is transient for the group but has no parents, then don't loop forever looking for its parents

17 years agohide focus debugging messages
Dana Jansens [Sat, 21 Apr 2007 21:04:35 +0000 (21:04 +0000)]
hide focus debugging messages

17 years agoremove the client_time_heap thing. actually its better to just use the user_time...
Dana Jansens [Fri, 20 Apr 2007 05:22:23 +0000 (05:22 +0000)]
remove the client_time_heap thing. actually its better to just use the user_time on the currently focused window I think. that will handle panels and things too.

17 years agoget rid of global client_last_user_time variable.
Dana Jansens [Wed, 18 Apr 2007 19:22:59 +0000 (19:22 +0000)]
get rid of global client_last_user_time variable.

add ObClientTimeHeap. This is a max-heap of the clients based on their user times. this only includes the clients whose user time is not CurrentTime. the maximum from this heap replaces the client_last_user_time variable, so that you always have the latest time, not the last time that was changed.

hoefully it works, so far it seems to.

17 years agodon't allow comparison with timestamps to CurrentTime. it just doesn't make any sense.
Dana Jansens [Wed, 18 Apr 2007 19:21:14 +0000 (19:21 +0000)]
don't allow comparison with timestamps to CurrentTime. it just doesn't make any sense.

(also client interface changed, that is in the next commit)

17 years agomake stacking_add_nonintrusive work when there is only 1 other window
Dana Jansens [Wed, 18 Apr 2007 19:19:45 +0000 (19:19 +0000)]
make stacking_add_nonintrusive work when there is only 1 other window

17 years agofix undermouse placement
Dana Jansens [Wed, 18 Apr 2007 17:18:16 +0000 (17:18 +0000)]
fix undermouse placement

17 years agosaved session information overrides per-app settings, because that's how you set...
Dana Jansens [Thu, 12 Apr 2007 14:54:54 +0000 (14:54 +0000)]
saved session information overrides per-app settings, because that's how you set it up in the session

17 years agoset the desktop from per-app-settings properly, i think.
Dana Jansens [Thu, 12 Apr 2007 14:47:54 +0000 (14:47 +0000)]
set the desktop from per-app-settings properly, i think.
also fix a compiler warning.

17 years agobetter synthetic configurenotify handling. in particular..
Dana Jansens [Thu, 12 Apr 2007 14:44:17 +0000 (14:44 +0000)]
better synthetic configurenotify handling. in particular..

http://bugzilla.gnome.org/show_bug.cgi?id=399552
on unmap, when we move the client window, we need to send a synthetic configurenotify.

17 years agoset event_curtime if we're going to use it only
Dana Jansens [Thu, 12 Apr 2007 02:26:58 +0000 (02:26 +0000)]
set event_curtime if we're going to use it only

17 years agoexcessive debug printing.. :)
Dana Jansens [Thu, 12 Apr 2007 02:26:41 +0000 (02:26 +0000)]
excessive debug printing.. :)

17 years agodon't fallback when a window is hidden right away, it's redundant, we'll get a focuso...
Dana Jansens [Thu, 12 Apr 2007 02:26:26 +0000 (02:26 +0000)]
don't fallback when a window is hidden right away, it's redundant, we'll get a focusout for the window after the unmapnotify anyways.

show new windows when switching desktops before hiding the old windows.

17 years agohttp://mail.gnome.org/archives/wm-spec-list/2006-May/msg00000.html
Dana Jansens [Thu, 5 Apr 2007 03:59:24 +0000 (03:59 +0000)]
http://mail.gnome.org/archives/wm-spec-list/2006-May/msg00000.html

Send ConfigureNotify events when a window is mapped at the position it has specified. When we add decorations, the window gets moved in reference to the root window, so it needs to be told.

17 years agothe centered menus thing got annoying :|
Dana Jansens [Fri, 30 Mar 2007 18:29:28 +0000 (18:29 +0000)]
the centered menus thing got annoying :|

17 years agoyou didn't say no
Mikael Magnusson [Fri, 30 Mar 2007 16:37:17 +0000 (16:37 +0000)]
you didn't say no

17 years agounset DESKTOP_STARTUP_ID at startup so we don't pass it on unknowingly.
Dana Jansens [Fri, 30 Mar 2007 16:18:25 +0000 (16:18 +0000)]
unset DESKTOP_STARTUP_ID at startup so we don't pass it on unknowingly.

17 years agodelete the SN env var after launching a program
Mikael Magnusson [Fri, 30 Mar 2007 09:57:21 +0000 (09:57 +0000)]
delete the SN env var after launching a program

17 years agofully maximize windows all the time. size increments are preferred sizes not required...
Dana Jansens [Fri, 30 Mar 2007 04:37:53 +0000 (04:37 +0000)]
fully maximize windows all the time. size increments are preferred sizes not required ones.

-- http://tronche.com/gui/x/icccm/sec-4.html#s-4.1.2.3

17 years agocan't use (unsigned)-1 for a max time, because timestamps wraparound and stuff. user...
Dana Jansens [Wed, 28 Mar 2007 19:57:07 +0000 (19:57 +0000)]
can't use (unsigned)-1 for a max time, because timestamps wraparound and stuff. user the last_user_time as a default for new windows instead.

17 years agouse CurrentTime constant
Dana Jansens [Wed, 28 Mar 2007 19:42:45 +0000 (19:42 +0000)]
use CurrentTime constant

17 years agouse CurrentTime when time gets moved backwards
Dana Jansens [Wed, 28 Mar 2007 19:41:41 +0000 (19:41 +0000)]
use CurrentTime when time gets moved backwards

17 years agocopy paste error, spotted by tilman ftw
Mikael Magnusson [Wed, 28 Mar 2007 18:15:36 +0000 (18:15 +0000)]
copy paste error, spotted by tilman ftw

17 years agofix compile without startup notification after r5711
Mikael Magnusson [Wed, 28 Mar 2007 17:05:23 +0000 (17:05 +0000)]
fix compile without startup notification after r5711

17 years agouse setenv to set up the DESKTOP_STARTUP_ID when launching programs.
Dana Jansens [Wed, 28 Mar 2007 06:00:19 +0000 (06:00 +0000)]
use setenv to set up the DESKTOP_STARTUP_ID when launching programs.

before, if DESKTOP_STARTUP_ID was set in openbox, it would mess up adding it to the child's environment because it would appear twice. so now it will only appear once for the child always.

17 years agoproper logic for event_time_after, and wraparounds and such
Dana Jansens [Wed, 28 Mar 2007 04:07:27 +0000 (04:07 +0000)]
proper logic for event_time_after, and wraparounds and such

17 years agomore updates for toggled states. also updating the theme files.
Dana Jansens [Wed, 28 Mar 2007 03:51:27 +0000 (03:51 +0000)]
more updates for toggled states. also updating the theme files.

17 years agoadd toggled-pressed and toggled-hover button states to themes. also rename toggled...
Dana Jansens [Wed, 28 Mar 2007 03:32:46 +0000 (03:32 +0000)]
add toggled-pressed and toggled-hover button states to themes. also rename toggled to be toggled-unpressed

17 years agodrop some wasted client_validates.
Dana Jansens [Wed, 28 Mar 2007 02:00:10 +0000 (02:00 +0000)]
drop some wasted client_validates.

17 years agomore handling time wraparounds
Dana Jansens [Wed, 28 Mar 2007 01:53:37 +0000 (01:53 +0000)]
more handling time wraparounds

17 years agohandle time wrapping around.
Dana Jansens [Wed, 28 Mar 2007 01:52:06 +0000 (01:52 +0000)]
handle time wrapping around.

17 years agomake sure the ungrab happens after the grab. fracking X server doesn't have a monatom...
Dana Jansens [Wed, 28 Mar 2007 01:11:40 +0000 (01:11 +0000)]
make sure the ungrab happens after the grab. fracking X server doesn't have a monatomic clock..

17 years agomove xml themes to 3.5
Mikael Magnusson [Sun, 25 Mar 2007 19:26:42 +0000 (19:26 +0000)]
move xml themes to 3.5

17 years agoopen the menu with the mouse cursor just outside the top item
Dana Jansens [Sun, 25 Mar 2007 17:32:58 +0000 (17:32 +0000)]
open the menu with the mouse cursor just outside the top item

17 years agoproper logic for using the menu overlap with middle centered submenus.
Dana Jansens [Sun, 25 Mar 2007 17:26:22 +0000 (17:26 +0000)]
proper logic for using the menu overlap with middle centered submenus.

always center top level menus horizontally under the cursor. why is this not normal behavior..?

17 years agobetter placement for top level menus under the mouse cursor. middle placement is...
Dana Jansens [Sun, 25 Mar 2007 17:19:41 +0000 (17:19 +0000)]
better placement for top level menus under the mouse cursor. middle placement is not used for this now. it was behaving differently than submenus so i'd like to have some consistency

17 years agobetter vertical centering for when "middle" placement is enabled for menus
Dana Jansens [Sun, 25 Mar 2007 17:16:32 +0000 (17:16 +0000)]
better vertical centering for when "middle" placement is enabled for menus

17 years agoreturn the old cursor. oops
Dana Jansens [Sun, 25 Mar 2007 17:11:50 +0000 (17:11 +0000)]
return the old cursor. oops

17 years agoadd --disable-xcursor, if you don't want to use it.
Dana Jansens [Sun, 25 Mar 2007 17:06:43 +0000 (17:06 +0000)]
add --disable-xcursor, if you don't want to use it.

fix help text for --disable-startup-notification

17 years agoadd support for the X Cursor library. this means a nicer cursor for startup notification.
Dana Jansens [Sun, 25 Mar 2007 16:56:47 +0000 (16:56 +0000)]
add support for the X Cursor library. this means a nicer cursor for startup notification.

17 years agoset up the menu's parent and children stuff before rendering it
Dana Jansens [Sun, 25 Mar 2007 16:38:04 +0000 (16:38 +0000)]
set up the menu's parent and children stuff before rendering it

17 years agodon't menu menus jump around at all anymore. open them on screen in the first place
Dana Jansens [Sun, 25 Mar 2007 16:34:26 +0000 (16:34 +0000)]
don't menu menus jump around at all anymore. open them on screen in the first place

17 years agoxml tags are case sensitive
Dana Jansens [Sun, 25 Mar 2007 15:39:56 +0000 (15:39 +0000)]
xml tags are case sensitive

17 years agobad idea.. more thought is needed..
Dana Jansens [Sun, 25 Mar 2007 15:16:00 +0000 (15:16 +0000)]
bad idea.. more thought is needed..

17 years agowhen opening the client menu with a key, open it at the window's top left corner...
Dana Jansens [Sun, 25 Mar 2007 15:05:10 +0000 (15:05 +0000)]
when opening the client menu with a key, open it at the window's top left corner. is this clever or dumb?

17 years agowatch for reverttoparent reverting to the root window, which will create a DetailInfe...
Dana Jansens [Sat, 24 Mar 2007 23:19:45 +0000 (23:19 +0000)]
watch for reverttoparent reverting to the root window, which will create a DetailInferior focusin event on root.

adding some debug messages also which I am using..

17 years agoset the event_curtime when running an action to the time in the event used to run...
Dana Jansens [Sat, 24 Mar 2007 17:22:31 +0000 (17:22 +0000)]
set the event_curtime when running an action to the time in the event used to run the action