| Age | Commit message (Collapse) | Author |
|
if the window is related to other existing windows
and one of those windows was the last used
then we will give it a launch time equal to the last user time,
which will end up giving the window focus probably.
else
the window is related to other windows, but you are not working in them?
seems suspicious, so we will give it a launch time of NOW - STEAL_INTERVAL,
so it will be given focus only if we didn't use something else during the
steal interval.
else
the window is all on its own, so we can't judge it. give it a launch time
equal to the last user time, so it will probably take focus.
this way running things from a terminal will give them focus, but popups
without a launch time shouldn't steal focus so easily.
|
|
This function never returns CurrentTime, which is nice, cuz using CurrentTime for XSetFocus always sucks.
If the current XEvent did not have a timestamp, then event_time() will find one. It finds the first timestamp available in the X event queue, meaning the earliest timestamp >= the current (nontimestamped) event. All future events should have a timestamp >= event_time(), so using this in XSetFocus() should not mess up any future calls we make to it.
This change seems to work well, as it appears to fix bug #3648.
|
|
hilited/flashing/urgent windows (feature req/bug #4341)
|
|
|
|
allow window types != NORMAL to not show up in the alt-tab list
but don't allow DIALOG types to hide from the list
also any window which is DEMANDS_ATTENTION should appear in the list regardless
of its SKIP_TASKBAR status
|
|
Conflicts:
configure.ac
data/rc.xml
openbox/client.c
openbox/event.c
openbox/focus_cycle.c
openbox/focus_cycle_popup.c
openbox/openbox.c
openbox/prop.c
openbox/prop.h
openbox/screen.c
parser/parse.c
version.h.in
|
|
added/removed from the valid focus order
|
|
rather than closing it
|
|
So you can find valid targets on desktops other than the currently visible one
|
|
|
|
Conflicts:
openbox/config.c
openbox/event.c
openbox/prop.c
openbox/prop.h
openbox/screen.c
openbox/screen.h
|
|
|
|
rc.xml. Fixes bug #4350
|
|
Conflicts:
openbox/actions/all.h
openbox/actions/session.c
openbox/client.c
openbox/event.c
openbox/grab.c
|
|
Applications should be better behaved by now, and GTK based apps seem to be
at least. We can file bug reports with them if we need to still.
|
|
This reverts commit fd2f617be7ff57fcb187daa737f66d243544c8cd.
This reverts commit a47d0a53652a96ca1df96fc9268757df1431ae55.
This reverts commit a1908e076736e1a618bd305c5963dbfecaa30497.
This reverts commit dc2e6f6bf7143a56de360a393b33906735e63625.
This reverts commit 985e7dadf9a3ebf4bd265d955c3198e96405e5d2.
This reverts commit db781556d63d1a50bd1b1b4b6b5423ef703bf2c7.
This reverts commit feec8f663f0a11546c2da87575fecc8a88d97ca1.
|
|
Conflicts:
obt/keyboard.c
openbox/actions/cyclewindows.c
openbox/actions/directionalwindows.c
openbox/frame.c
openbox/openbox.c
|
|
|
|
at the end. keep the openbox code paths fast.
|
|
|
|
Conflicts:
openbox/client.c
openbox/event.c
openbox/event.h
|
|
Also moves a comment from many places into one place.
|
|
Conflicts:
openbox/config.c
|
|
raise its parent and move it to the top of the stacking order too, ie. treat them like one window (this is already done elsewhere, like when moving between desktops for example)
|
|
file ! this will help everyone since most people do not run openbox in a terminal..
|
|
|
|
holy search and replace batman
|
|
|
|
if a dialog sets this don't skip it (gnome shutdown/logout dialogs don't get focused otherwise in arch linux)
|
|
|
|
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.
|
|
|
|
in the group (don't move focus from a group window to a new helper window).
this fixes gucharmap.
|
|
|
|
focus fallback. yay consistency.
|
|
you can focus cycle to.
|
|
switching which is when they are vile
|
|
window left on the desktop.
when focus falls off of a window, don't allow focus to go back to that same target - when a window is iconified is the case.
what focus_fallback_target, to check whe allow_refocus is false, check where focus will actually be sent
|
|
|
|
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)
|
|
|
|
targets
|
|
|
|
in focus_fallback
|
|
focus fallback needs to be very reliable.
|
|
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
|
|
make focus_fallback not send focus anywhere if the new target is the same as what is already focused
|
|
|
|
1) listen for inferiornotify. that way when iconify animating reverts to parent, we see it.
2) set client to null when falling back and update the root window property
3) get rid of the "focus didnt move anywhere" business, and just process the envents in the right order.
|
|
|