]> icculus.org git repositories - mikachu/openbox.git/log
mikachu/openbox.git
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

17 years agothere is no themetoxml.h
Dana Jansens [Sat, 24 Mar 2007 17:19:33 +0000 (17:19 +0000)]
there is no themetoxml.h

17 years ago(no commit message)
Dana Jansens [Sat, 24 Mar 2007 17:17:02 +0000 (17:17 +0000)]

17 years agoclean up the title getting function
Dana Jansens [Sat, 24 Mar 2007 17:06:19 +0000 (17:06 +0000)]
clean up the title getting function

17 years agokill window title numbering...
Dana Jansens [Sat, 24 Mar 2007 17:01:40 +0000 (17:01 +0000)]
kill window title numbering...

probably it was a dumb idea all along. you're not picking the numbers yourself and you're probably not remembering which window they apply to and the focus indicator thinger is much more clever than numbers

17 years agocheck for minimum required versions of glib and pango
Mikael Magnusson [Sat, 24 Mar 2007 15:08:16 +0000 (15:08 +0000)]
check for minimum required versions of glib and pango

17 years agoaccidentally didn't include client_list_menu.h in dist
Mikael Magnusson [Fri, 23 Mar 2007 17:02:11 +0000 (17:02 +0000)]
accidentally didn't include client_list_menu.h in dist

17 years agolaunch things on the desktop where you ran it.
Dana Jansens [Wed, 21 Mar 2007 16:19:06 +0000 (16:19 +0000)]
launch things on the desktop where you ran it.

also: kde apps move themselves to the current desktop when they open. what the heck?

17 years agoignore focus events on root that we don't care about
Dana Jansens [Wed, 21 Mar 2007 16:12:21 +0000 (16:12 +0000)]
ignore focus events on root that we don't care about

17 years agoallow focus to disappear to black holes. (that is, windows not managed by openbox...
Dana Jansens [Wed, 21 Mar 2007 15:54:30 +0000 (15:54 +0000)]
allow focus to disappear to black holes. (that is, windows not managed by openbox). the black hole may just be a window on another monitor. keyboard events aren't going to work in this scenario, though.

17 years agowe're only getting one unmap notify now, with the new event mask on the root window...
Dana Jansens [Tue, 20 Mar 2007 04:42:25 +0000 (04:42 +0000)]
we're only getting one unmap notify now, with the new event mask on the root window. we're not getting one for the frame window anymore.

17 years agonot passing timestamps sometimes and not others. set event_curtime when client messag...
Dana Jansens [Mon, 19 Mar 2007 17:59:16 +0000 (17:59 +0000)]
not passing timestamps sometimes and not others. set event_curtime when client messages provide a timestamp.

17 years agofree unused path strings.
Dana Jansens [Sun, 18 Mar 2007 15:23:42 +0000 (15:23 +0000)]
free unused path strings.
always pass in malloc'd memory, cuz it is going to be freed later.

17 years agomemory leak in xinerama setup code
Dana Jansens [Sun, 18 Mar 2007 15:16:03 +0000 (15:16 +0000)]
memory leak in xinerama setup code

17 years agoadd -Wwrite-strings in debug mode
Dana Jansens [Sun, 18 Mar 2007 15:15:38 +0000 (15:15 +0000)]
add -Wwrite-strings in debug mode

17 years agouse const char*'s when we should be
Dana Jansens [Sun, 18 Mar 2007 15:07:30 +0000 (15:07 +0000)]
use const char*'s when we should be

17 years agooops, logic error
Dana Jansens [Sat, 17 Mar 2007 20:06:16 +0000 (20:06 +0000)]
oops, logic error

17 years agomention when the logicalx/y is actually returned
Dana Jansens [Fri, 16 Mar 2007 19:16:07 +0000 (19:16 +0000)]
mention when the logicalx/y is actually returned

17 years agofix for bug introduced in revision 5643. logical size is supposed to be updated only...
Dana Jansens [Fri, 16 Mar 2007 19:14:53 +0000 (19:14 +0000)]
fix for bug introduced in revision 5643. logical size is supposed to be updated only when the window is resized.

17 years agoanimate presses on toggled titlebar buttons
Dana Jansens [Fri, 16 Mar 2007 01:33:47 +0000 (01:33 +0000)]
animate presses on toggled titlebar buttons

17 years ago(no commit message)
Dana Jansens [Thu, 15 Mar 2007 17:46:39 +0000 (17:46 +0000)]

17 years agoupdate COMPLIANCE
Dana Jansens [Thu, 15 Mar 2007 17:37:30 +0000 (17:37 +0000)]
update COMPLIANCE

17 years agoonly refocus the omnipresent window if its allowed
Dana Jansens [Thu, 15 Mar 2007 01:11:52 +0000 (01:11 +0000)]
only refocus the omnipresent window if its allowed

17 years agoclearer engrish
Dana Jansens [Thu, 15 Mar 2007 01:09:10 +0000 (01:09 +0000)]
clearer engrish

17 years agowhen an omnipresent window has focus and you switch desktops, keep it focused
Dana Jansens [Thu, 15 Mar 2007 01:02:48 +0000 (01:02 +0000)]
when an omnipresent window has focus and you switch desktops, keep it focused

17 years agodon't fall back focus to omnipresent windows
Dana Jansens [Wed, 14 Mar 2007 21:15:58 +0000 (21:15 +0000)]
don't fall back focus to omnipresent windows

17 years agomake focus_order into one long list instead of having one per desktop. this actually...
Dana Jansens [Wed, 14 Mar 2007 21:07:30 +0000 (21:07 +0000)]
make focus_order into one long list instead of having one per desktop. this actually fixes bugs with omnipresent windows and adding desktops. it is just overall a little nicer i think.

also this is not tested. sorry if it breaks everything.

17 years agosyscrash changed his theme up
Dana Jansens [Wed, 14 Mar 2007 20:59:16 +0000 (20:59 +0000)]
syscrash changed his theme up

17 years agosave the focus_client when falling back, so we don't actually refocus it when we...
Dana Jansens [Wed, 14 Mar 2007 15:56:59 +0000 (15:56 +0000)]
save the focus_client when falling back, so we don't actually refocus it when we don't want to.

17 years agooh, 2 things in this commit..
Dana Jansens [Wed, 14 Mar 2007 15:51:21 +0000 (15:51 +0000)]
oh, 2 things in this commit..

1) THIS ONE IS IMPORTANT: don't set client->iconfied if the window is not actually going to be allowed to iconify. heh!

2) changes to focus fallback to avoid crashing and to avoid losing focus all at the same time.

17 years agomove stuff around in client_unmanage to maybe make closing windows a bit nicer
Mikael Magnusson [Wed, 14 Mar 2007 14:17:31 +0000 (14:17 +0000)]
move stuff around in client_unmanage to maybe make closing windows a bit nicer

17 years agorefix for managing iconic windows, without having the frame map which caused flashing.
Dana Jansens [Wed, 14 Mar 2007 13:58:36 +0000 (13:58 +0000)]
refix for managing iconic windows, without having the frame map which caused flashing.

instead, keep track of if the frame has been mapped yet. if it hasn't and it is getting hidden, then make sure to unmap the child.

17 years agoa) fix resizerelative moving windows when they reach their minimum size do this by...
Dana Jansens [Wed, 14 Mar 2007 03:45:56 +0000 (03:45 +0000)]
a) fix resizerelative moving windows when they reach their minimum size do this by...
b) adding a function to let you see what size/position a window will be given when you actually try move/resize it to some given values. (client_try_configure)

17 years agoadd support for 8bit TrueColor visuals. Who knew these existed. Fixes vnc's 8bit...
Dana Jansens [Wed, 14 Mar 2007 03:05:47 +0000 (03:05 +0000)]
add support for 8bit TrueColor visuals. Who knew these existed. Fixes vnc's 8bit mode. (bug 2878)

17 years agoupdate german translation
Mikael Magnusson [Wed, 14 Mar 2007 02:27:46 +0000 (02:27 +0000)]
update german translation

17 years agomake frame and client window in a consistant mapped state when the window is grabbed
Dana Jansens [Wed, 14 Mar 2007 02:23:50 +0000 (02:23 +0000)]
make frame and client window in a consistant mapped state when the window is grabbed

17 years agoless wasted updates of wm_state
Dana Jansens [Wed, 14 Mar 2007 02:07:30 +0000 (02:07 +0000)]
less wasted updates of wm_state

17 years agofocus fallback
Mikael Magnusson [Wed, 14 Mar 2007 01:17:39 +0000 (01:17 +0000)]
focus fallback

17 years agocomparing strings to random locations in memory is probably not what we wanted to do
Mikael Magnusson [Tue, 13 Mar 2007 12:34:58 +0000 (12:34 +0000)]
comparing strings to random locations in memory is probably not what we wanted to do

17 years agoalways unfocus the window when it disappears, no special cases.. (except unmanage)
Dana Jansens [Tue, 13 Mar 2007 04:15:25 +0000 (04:15 +0000)]
always unfocus the window when it disappears, no special cases.. (except unmanage)

17 years agoset IconicState on windows that are not visible always. this means windows on other...
Dana Jansens [Tue, 13 Mar 2007 04:04:13 +0000 (04:04 +0000)]
set IconicState on windows that are not visible always. this means windows on other desktops too.

as well, this turned out to be a nice cleanup of the wmstate code.

regards to the random dude in #openbox complaining about the ICCCM to make me think to look this up and see if openbox was compliant.

17 years agosave and restore pre-maximized/fullscreen sizes properly
Dana Jansens [Tue, 13 Mar 2007 02:29:08 +0000 (02:29 +0000)]
save and restore pre-maximized/fullscreen sizes properly

much cleanup on how per-app settings are applied to new mapping windows. maybe i broke it? but it'll be much quicker now, and it's consistant with the rest of the code, so hooray for that. pls let me know if i broke any of it :( hee..

17 years agoremove event_lastttime. use CurrentTime when handling events without a timestamp...
Dana Jansens [Mon, 12 Mar 2007 23:23:39 +0000 (23:23 +0000)]
remove event_lastttime. use CurrentTime when handling events without a timestamp in them

17 years ago?
Dana Jansens [Mon, 12 Mar 2007 23:22:13 +0000 (23:22 +0000)]
?

17 years agofallback is still getting x errors. instead, fallback when the client iconifies,...
Dana Jansens [Mon, 12 Mar 2007 17:31:11 +0000 (17:31 +0000)]
fallback is still getting x errors. instead, fallback when the client iconifies, and don't fallback when nothing has focus, send it to where we can control things though.

17 years agofocusins can occur on windows that aren't clients when there's latency involved....
Dana Jansens [Mon, 12 Mar 2007 06:09:02 +0000 (06:09 +0000)]
focusins can occur on windows that aren't clients when there's latency involved. wm_torture proved this point. fallback in that situation. also fallback when nothing is focused.

17 years agodon't validate inside client_focus. instead, validate before you call it!
Dana Jansens [Mon, 12 Mar 2007 06:04:00 +0000 (06:04 +0000)]
don't validate inside client_focus. instead, validate before you call it!

17 years agovalidate clients before trying to focus them in fallback
Dana Jansens [Mon, 12 Mar 2007 05:57:30 +0000 (05:57 +0000)]
validate clients before trying to focus them in fallback

also validate before trying to set the focus on a window

this should fix those crashes, and should just be better over all

17 years agoupdate focus_hilite appropriately for when changing desktops
Dana Jansens [Mon, 12 Mar 2007 05:44:16 +0000 (05:44 +0000)]
update focus_hilite appropriately for when changing desktops

17 years agoi rewrote handling of focus events. this is pretty much based on blackbox's current...
Dana Jansens [Mon, 12 Mar 2007 05:25:34 +0000 (05:25 +0000)]
i rewrote handling of focus events. this is pretty much based on blackbox's current form, as well as reading the xlib programming manual at:
http://tronche.com/gui/x/xlib/events/input-focus/normal-and-grabbed.html

this may break for people. that'd be nice to hear about, so it can be fixed. but hopefully this is more robust. it sure is a lot more simple.

17 years agoanother silly bug. i rule the school.
Dana Jansens [Mon, 12 Mar 2007 03:09:09 +0000 (03:09 +0000)]
another silly bug. i rule the school.

17 years agothat was a silly mistake. fullscreen windows amongst others will not crash now :D
Dana Jansens [Mon, 12 Mar 2007 03:07:00 +0000 (03:07 +0000)]
that was a silly mistake. fullscreen windows amongst others will not crash now :D

17 years agoroll back focus fallback change, so it behaves well with new stacking
Dana Jansens [Mon, 12 Mar 2007 02:41:34 +0000 (02:41 +0000)]
roll back focus fallback change, so it behaves well with new stacking

17 years agook this is from prevous changes but has a bunch of debug stuff in it
Dana Jansens [Mon, 12 Mar 2007 02:34:34 +0000 (02:34 +0000)]
ok this is from prevous changes but has a bunch of debug stuff in it

17 years agoremove the group option for the restacking commands in rc.xml, cuz groups are clever now
Dana Jansens [Mon, 12 Mar 2007 02:27:58 +0000 (02:27 +0000)]
remove the group option for the restacking commands in rc.xml, cuz groups are clever now

17 years agoRewrite the stacking code. It's a lot faster now, I should think. It's def a more...
Dana Jansens [Mon, 12 Mar 2007 02:24:40 +0000 (02:24 +0000)]
Rewrite the stacking code. It's a lot faster now, I should think. It's def a more clever algorithm. It deals with group transients much better.

On that note, utility and menu and toolbar window types are now treated as group transients in terms of stacking and focus and such.

17 years agono separator at the start of the menu
Mikael Magnusson [Mon, 12 Mar 2007 02:12:51 +0000 (02:12 +0000)]
no separator at the start of the menu

17 years agomake the combined client list menu not suck quite as bad
Mikael Magnusson [Mon, 12 Mar 2007 01:59:49 +0000 (01:59 +0000)]
make the combined client list menu not suck quite as bad

17 years agoupdate copyright notice in --version output
Mikael Magnusson [Mon, 12 Mar 2007 01:12:31 +0000 (01:12 +0000)]
update copyright notice in --version output