summaryrefslogtreecommitdiff
path: root/openbox/frame.h
AgeCommit message (Collapse)Author
2014-11-03Make sure to reset all the GSource timer idsMikael Magnusson
Avoids warnings like 'Source ID 8382 was not found when attempting to remove it'. In particular some removals were missing in menuframe.c resulting in a warning being printed every time a submenu was opened.
2010-09-16Make the dock a context and add actions LowerDock and RaiseDockMikael Magnusson
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-14Use GMainLoop instead of ObtMainLoopDana Jansens
2010-05-17allow multiple contexts separated by space in a mouse bindingDana Jansens
example: context="Top Left Right Bottom"
2009-12-21Set up work for making a 3.5 prerelease.Dana Jansens
Set version stuff to 3.5.0-rc1. Copy the CHANGELOG from 3.4-working. Rename the obt-4.0 and obrender-4.0 pkgconfig stuff to obt-3.5 and obrender-3.5 Rename the "render" directory to "obrender" so that the public headers can be installed in <obrender/*>
2009-01-29Handle InputShape type shaping too.Mikael Magnusson
Many composite apps use this to pass through clicks where they are transparent.
2008-02-27Fix some typos and style in client.c, and add a comment.Mikael Magnusson
Also moves a comment from many places into one place.
2008-02-26Fixing bug from commit 041d17373e04Dana Jansens
Pressing a button and leave/enter would cause the button to show hover mode, not pressed mode. Change the behaviour back to how it used to be for pressing (the button stays pressed when you move outside of its box) and make it work correctly, as commit 041d17373e04 also did for menus. Reverting this behaviour because it seems impossible to do the enter/leave stuff correctly for the close button on maximized windows. Leaving the titlebar contexts doesn't give us an Enter event to go along with it, so even if we check all motion events, the button will flash unpressed when leaving the topright contexts.
2008-01-27we alloc theme elements for every window frame, but really it is unneccesaryDana Jansens
2007-08-04add resize corners to the bottom corners of the inner client borderDana Jansens
2007-08-01symmetry..tho it's not used right nowDana Jansens
2007-07-12adding trunkDana Jansens
Signed-off-by: Dana Jansens <danakj@orodu.net>
2007-06-22add the moveto actionDana Jansens
2007-06-21clearer code pathsDana Jansens
2007-06-20get the offscreen pixmaps for all windows (including their frames)Dana Jansens
2007-06-13no un-needed renderingDana Jansens
2007-06-13don't show vertical resize context/arrow when the window is shadedDana Jansens
2007-06-13very cool struts. partial struts actually are partial struts now. possibly ↵Dana Jansens
way broken with xinerama?
2007-06-02use the new window.title.separator.widthDana Jansens
2007-05-29fix the bottom decor stuff for maximized windows. kill the border and tings ↵Dana Jansens
at the bottom for fullmax windows.
2007-05-28have the clientpadding color show during resize, and no flashing on unmap. ↵Dana Jansens
we win !
2007-05-28get rid of the plate windowDana Jansens
2007-05-28get rid of the "inner" windowDana Jansens
2007-05-21some repositioning of frame elements for maximized windows.Dana Jansens
fix clicking on borders not counting as the button in that corner for full max windows disable the resize cursors for full max windows
2007-05-20fix new dimensions for maximized windowsDana Jansens
2007-05-20draw the handle without bordersDana Jansens
2007-05-20construct the titlebar without bordersDana Jansens
2007-05-20set the resize cursors only when the window can be resizedDana Jansens
2007-05-20stop using a border for the outer frame window. step 1 of borderless-ness. ↵Dana Jansens
now transparent windows dont look so terrible, yay
2007-05-19add a root context that only applies to the root window. it fallsback to the ↵Dana Jansens
desktop context, so desktop stuff applies to it too.
2007-05-19add Left and Right contexts for resizingDana Jansens
2007-05-12change the "handle" context to "bottom". add a "top" context. make the topDana Jansens
and bottom contexts resize vertically in the default config file.
2007-05-09when a window is fully maxed, make clicking on the titlebar past the edge ↵Dana Jansens
buttons count as clicking on the buttons
2007-05-09add support for _NET_REQUEST_FRAME_EXTENTSDana Jansens
2007-05-09further work to r6205. make the disabled titlebar buttons hide if they won't ↵Dana Jansens
move other buttons around by doing so.
2007-05-05yay. way way cleaner code for iconify animations. let people show/hide the ↵Dana Jansens
frame logically and it will do everything except during animations the frame will show what it needs to for visual display.
2007-05-05lots of fixes for the iconify animation. i think it should all work ↵Dana Jansens
perfectly now ? one change in action.c may affect bindings... THIS COULD BREAK CURRENT CONFIG FILES. ya. so, if you used a press binding and it moved the window, no enter event will be generated for that anymore because you are holding down the button when the window moves. if you don't like that then use a click binding instead. 1
2007-05-05better iconify animation code. now it is time limited even under heavy load ↵Dana Jansens
or whatever. yay
2007-05-05animate iconify/reestore. yeah.Dana Jansens
2007-05-01fix drawcontent=no resizingDana Jansens
2007-05-01a whole lot of changes to the moving/resizing code. it was broken for ↵Dana Jansens
non-northwest gravities. now it is not. at least, that is the idea.
2007-04-241. remove some old event handling that was not used at all. yay less bandwidth.Dana Jansens
2. make the client padding color show during resizes with drawContents off
2007-04-23add a window between the frame and the plate for drawing the client border. ↵Dana Jansens
this way when the client window disappears, nothing gets rendered underneath it.
2007-04-231) translate all of openbox's outputDana Jansens
2) update copyrights. 3) make release. ok that part not quite yet.
2007-03-24watch for reverttoparent reverting to the root window, which will create a ↵Dana Jansens
DetailInferior focusin event on root. adding some debug messages also which I am using..
2007-03-14refix for managing iconic windows, without having the frame map which caused ↵Dana Jansens
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.
2007-03-08a) remove the top_grip_height business from the themeDana Jansens
b) make the focus indicator based on border width and padding, not the handle height c) add 2 more windows for the top corners for resizing, much easier to find them now. also base their width on padding, not the handle height or other weird things
2007-03-02support clients which use true transparency 32-bit visuals.Dana Jansens
this requires that when a client is using a 32-bit visual, we have to make the frame windows that sit underneath it to use the same visual (and a colormap which matches it)
2006-08-22update copyright step 2Mikael Magnusson