summaryrefslogtreecommitdiff
path: root/openbox
AgeCommit message (Collapse)Author
2010-04-28make sure clients stay on screen when the root window changes size, and ↵Dana Jansens
maximized/fullscreen windows must be on some monitor or it doesn't make much sense (and asserts)
2010-04-28Remove two unused variablesMikael Magnusson
Remains from 64adc0eeba598cb1469b2140777fba30e3053f0e
2010-04-28make an event queue for X events. the queue's min size is 16 XEvents (~3k)Dana Jansens
2010-04-23don't put reparent events back on the stack. the window is no longer being ↵Dana Jansens
managed anyways. and it messes up the order of events in the queue
2010-04-23putting events on the event queue does not send them back to the server. it ↵Dana Jansens
was just going to get ignored the next time around cuz the window wouldnt be in our list of clients
2010-04-23don't use XPutBackEvent and mess up timestamp order in the event queueDana Jansens
2010-04-20add asserts to make sure we don't add things to stacking list that are not ↵Dana Jansens
managed
2010-04-20don't change stacking stuff on windows when moving them during the unmanage ↵Dana Jansens
phase.
2010-04-16event_curtime is replaced (publicly) by event_time()Dana Jansens
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.
2010-04-16When determining the current timestamp, try get something a lil more accurateDana Jansens
Get the first timestamp from the event queue, rather than (potentially) the last. also treat it as the actual event_curtime, meaning it is used when focusing a newly mapped window etc.
2010-04-16when client removes its transient_for hint, don't keep the window as ↵Dana Jansens
transient for the group when it shouldn't be (fixes bug #4586)
2010-04-16allow warping the mouse pointer when switching desktops by bumping into the ↵Dana Jansens
edge of the monitor with a window based on a patch by Nathaniel Gephart <computinchuck@gmail.com>
2010-04-16show the focus cycle popup's icons in linear order when cycling in linear ↵Dana Jansens
order (bug #2319)
2010-04-16add an option to next/previous window to only include ↵Dana Jansens
hilited/flashing/urgent windows (feature req/bug #4341)
2010-04-16use const Rect* not Rect const*Dana Jansens
2010-03-29save the LC_MESSAGES locale categoryDana Jansens
2010-03-29if a launch time isnt there (like for client_activate) assume the window ↵Dana Jansens
launched before the last desktop switch, not after. ie don't change desktops if you're not sure.
2010-03-25make keypad enter do the same thing as returnDana Jansens
2010-03-25allow non-normal windows to go to 0,0. and remove a debugging g_printDana Jansens
2010-03-01add a function client_is_oldfullscreen() that determines if a window is an ↵Dana Jansens
"oldschool fullscreen window" or not. use this throughout. and allow oldschool fullscreen windows to move to 0,0 even with a strut there.
2010-03-01when an app tries to move to 0,0 and there is a strut there (java swing!), ↵Dana Jansens
move it to inside the strut instead (unless it is an oldschool fullscreen app)
2010-02-26missing a g_slice_freeDana Jansens
2010-02-21Added shade-icon to client-menuTobias Gläßer
2010-02-19get the modifier mask for a modifier key that is pressed/released more ↵Dana Jansens
accurately, using the table we built already for other purposes
2010-02-19save the state of the modifiers only when starting an interactive actionDana Jansens
2010-02-17move the startup command launching into a helper functionDana Jansens
2010-02-17revamp the autostart functionality, so autostart apps launch after openbox.Dana Jansens
add /usr/libexec/openbox-autostart which runs the global/user scripts and launches /usr/libexec/openbox-xdg-autostart (which runs .desktop autostart stuff) make openbox-session call openbox with --startup option, to make openbox launch /usr/libexec/openbox-autostart *after* it is initialized. add /etc/xdg/openbox/environment and ~/.config/openbox/environment files to let user change environment variables (locale) for their Openbox session, which openbox-session loads before running openbox.
2010-02-17don't use a variable as a format stringDana Jansens
2010-02-16lower the default submenu show delayDana Jansens
2010-02-16a couple more g_free() to g_slice_free()'sDana Jansens
2010-02-16more using g_slice_new() instead of g_new()Dana Jansens
2010-02-16missed a g_free() that should be g_slice_free()Dana Jansens
2010-02-15dont trust the _NET_ACTIVE_WINDOW timestamp. (fixes bug #4519)Dana Jansens
if we decide to focus the window, do not use their provided timestamp. chromium gives a very old timestamp, which means we think we're focusing the window but it never actually gets focus, leading to inconsistent behaviour by openbox. use the timestamp for making decisions about passing focus if you want (we dont right now), but not for the XSetInputFocus call.
2010-02-13Remove mismerge-added filesMikael Magnusson
2010-02-12remove a bunch of g_new()/g_free() by returning Rect const*'s from screen ↵Dana Jansens
area functions when possible
2010-02-12use g_slice_new() instead of g_new() part 4Dana Jansens
2010-02-12use g_slice_new() instead of g_new() part 2Dana Jansens
2010-02-12using g_slice_new() instead of g_new() part 1Dana Jansens
2010-02-12have obt refresh the xlib keyboard stuff on mappingnotify eventsDana Jansens
2010-02-11make control keys work in menus/dialogs/etc with the new obt code, using ↵Dana Jansens
XLookup stuff
2010-02-11initialize the action shutdown function to NULLDana Jansens
2010-02-11pass an input context to the interactive input functionDana Jansens
2010-02-11make menu input work with the new obt keyboard stuff.Dana Jansens
create an Input Context for use during keyboard grabs, and use this to translate KeyPress events properly. make the menu respond to KeyPress events, since these are the only ones that can be translated properly, but still execute things from KeyRelease events
2010-02-11make the menu use the new obt stuff when reading keyboard input so it can ↵Dana Jansens
handle input from the non-base group and composed input
2010-02-11make obt translate keypress events to a valid utf8 character (note this ↵Dana Jansens
makes openbox not compile)
2010-02-11don't strip the state for keyboard eventsDana Jansens
this allows translation of keys not in the base keyboard layout
2010-02-11get xlib to reload the keyboard on MappingNotify eventsDana Jansens
2010-02-11XKB header comes from obtDana Jansens
2010-02-11make the execute action not segfault when using a prompt (bug #4543)Dana Jansens
also save the client when using a prompt so it can be used if you choose "yes" from the prompt
2010-02-11add an optional shutdown function which actions can registerDana Jansens