summaryrefslogtreecommitdiff
path: root/openbox
AgeCommit message (Collapse)Author
2010-09-16Fix a double free when you have a mousebind without a button attributeMikael Magnusson
Introduced in f307a3feabedd9bcadeaafd0fa8e1b1a60736eb2
2010-09-16Revert "add XFlush to g_timeout callbacks"Dana Jansens
This reverts commit aa3685d16af4a565eecdc39047ee8d140ef5cd99. Mika's commit using a GSource to handle X Events fixes this problem, so this commit is not needed
2010-09-16Fix 3.4 compatibility for SendToDesktopMikael Magnusson
2010-09-16Add signal handling with the GMainLoopDana Jansens
Provided through a very simplistic interface in obt, found in the obt/signal.[ch] files
2010-09-16Continue parsing contexts when an unsupported one is encounteredMikael Magnusson
2010-09-16Make the dock a context and add actions LowerDock and RaiseDockMikael Magnusson
2010-06-26Move usage of iconh into the branch that assigns itMikael Magnusson
2010-06-26settings can't be NULL here, or we'd have already crashed anywayMikael Magnusson
2010-06-14add XFlush to g_timeout callbacksDana Jansens
GMainLoop doesn't cause an flush to occur after handling a timeout.
2010-06-14Fix the EXTENTS reported on window frames.Dana Jansens
Change the order things are done on map, so we apply startup state without any states set first, thus getting all the functions possible for the window type etc. then change the order states are applied, as some remove the ability to apply others (ie fullscreen comes last). Add an oldsize to ObFrame that remembers the size of the frame last reported to the world through the EXTENTS property. If you frame_adjust_area(FAKE) then frame_adjust_area(NONFAKE), the EXTENTS would not be updated since the oldsize wasn't remembered across fake updates. Make the extentsrequest test ask about windows with states set also.
2010-06-14keep stacking_list_tail a pointer to the tail of the stacking listDana Jansens
2010-06-14allow a user to set "undecorated" on a window without decorationsDana Jansens
if not based on window type, the app may decide to have decorations again sometime. this was not always legal but chromium has made it so.
2010-06-14Use GMainLoop instead of ObtMainLoopDana Jansens
2010-05-21allow new windows on other desktops to get focused if specified in a per-app ↵Dana Jansens
rule you can not client_active() with user=false and desktop=true and activate things on other desktops, by the general focus steal restrictions, if you wanted to do that sorta thing
2010-05-20Allow sending windows on other desktops to the current desktop.Mikael Magnusson
2010-05-20Add some more conditions to the If actionMikael Magnusson
It can now match on window titles, virtual desktop (number, "current", "other"), demands_attention, and undecoratedness.
2010-05-20don't need a force_reply when changing the decor for a windowDana Jansens
it will send a configurenotify if the client's rootwindow position changed
2010-05-20client_update_protocols() doesnt change anything that would affect a ↵Dana Jansens
client's decor or functions
2010-05-20allows a window to unmax by resizing.Dana Jansens
makes "clever" use of the client's pre_max_area values to allow this to happen without flashing, and preserving them in case the user cancels the resize after it has become unmaximized.
2010-05-19set the frame's initial size to something invalid so the extents hint will beDana Jansens
set for sure the first time.
2010-05-17set the interactive action to NULL before doing its cleanup phaseDana Jansens
if the cleanup ends up cancelling the "current interactive action", it would cause the end function to be called again, which sucks. for instance if the cleanup function uses the Focus action. this prevents the unwanted loop into the interactive action cleanup.
2010-05-17fix focus when starting up, especially when replacing another instance of ↵Dana Jansens
openbox adds a function event_reset_time() that forces event_time() to look for a new (future) timestamp
2010-05-17avoid new gcc warning (casting ** to const** is not valid for good reason)Dana Jansens
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