summaryrefslogtreecommitdiff
path: root/openbox
AgeCommit message (Collapse)Author
2010-05-17allow multiple contexts separated by space in a mouse bindingDana Jansens
example: context="Top Left Right Bottom"
2010-05-17Remove some unneeded stdlib.h includesMikael Magnusson
2010-05-17Add support for using relative expressions in move and resize actionsMikael Magnusson
Have MoveResizeTo use config_parse_gravity_coord instead of duplicating it locally Allow MoveResizeTo positions and sizes and per app positions to be relative to screen size Rename to config_parse_relative_number so it can be used for sizes too Add relative numbers to width/height in MoveResizeTo Add relative numbers to MoveRelative Add relative numbers to ResizeRelative, these are for the client size, not screen size
2010-05-11add cleanup functions to the client list menus that removes everything from ↵Dana Jansens
them when they are not being shown (saves iterating thru the list uselessly when a client is unmanaged)
2010-05-11add cleanup function for menus that fires when the menu is no longer visibleDana Jansens
2010-04-29don't try go to selected submenu when there is nothing selectedDana Jansens
2010-04-28use clicks in promptsDana Jansens
2010-04-28fix XSYNCronization of resizes (especially with two monitors).Dana Jansens
1) a ConfigureNotify must always follow a Sync notification 2) determine the final size of the window with its position else struts are not applied properly for (partly) maximized windows 3) set the sync counter to a value when managing a new window
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