summaryrefslogtreecommitdiff
path: root/openbox/frame.c
AgeCommit message (Collapse)Author
2014-11-03Move final frame adjust in flashing to timeout funcMikael Magnusson
This possibly avoids badness when the timeout destroy notify is removed from the frame release func.
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.
2013-08-11Maximized undecored windows have incorrect top border. (Bug 5996)Dana Jansens
If the window has no border since the theme has bwidth=0, or because the window is truly undecorated via MWM hints, then we should not allocate space for the frame of the window which will just be empty pixels.
2012-10-06When an undecorated window is maximized give it a 1px border at the top (Fix ↵Dana Jansens
bug 5506) We want to keep some way for a user to re-decorate the window with the default bindings. However with a large border width, the top border is much bigger than it needs to be! So make it fixed at 1px large in this case.
2011-10-16Specific border width/color for undecorated active/inactive windows (bug #4889)Carlos Pita
The attached patch adds three theme options with backward compatible defaults: undecorated.border.width defaults to border.width window.undecorated.active.border.color defaults to window.active.border.color window.undecorated.inactive.border.color defaults to window.inactive.border.color
2011-01-24extra \n in debug outputDana Jansens
2011-01-24Some versions of X, have the Shape extension, but apparently not ↵Philip Brown
"ShapeInput" (Fixes bug #4662) the sawfish window manager has ifdefs for this sort of situation. I followed suit, and #ifdef'd it, and it now works for me. patch attached. Slight changes to the patch from danakj@orodu.net for readability
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-16Make the dock a context and add actions LowerDock and RaiseDockMikael 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-14Use GMainLoop instead of ObtMainLoopDana Jansens
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-17allow multiple contexts separated by space in a mouse bindingDana Jansens
example: context="Top Left Right Bottom"
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-16use const Rect* not Rect const*Dana Jansens
2010-02-16more using g_slice_new() instead of g_new()Dana Jansens
2010-02-12remove a bunch of g_new()/g_free() by returning Rect const*'s from screen ↵Dana Jansens
area functions when possible
2010-01-14Merge branch 'backport' into workDana Jansens
Conflicts: openbox/frame.c
2010-01-14don't resize the label to 0Dana Jansens
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-12-11Merge branch 'backport' into workDana Jansens
Conflicts: openbox/config.c openbox/event.c openbox/prop.c openbox/prop.h openbox/screen.c openbox/screen.h
2009-12-09Add a focus debug message for the frame's visible focus stateDana Jansens
2009-12-09Fully maximized windows still have a normal titlebar. Fixes bug #4373Dana Jansens
Also, maximized windows were having their client padding reduced by the size of the outer border from this same bug, which is now fixed.
2009-11-21Merge branch 'backport' into workDana Jansens
Conflicts: openbox/popup.c
2009-11-21Don't ever give borders to windows that didnt have them before by making ↵Dana Jansens
them "undecorated" with the keepborder config option on. This fixes what commit 85f39cd27e7ea0eec8bc78f6139092b44fda2dad fixed for the fullscreen window case, but also fixes bug #4344.
2009-09-19Merge branch 'backport' into workMikael Magnusson
Conflicts: openbox/actions/desktop.c openbox/client.c openbox/event.c openbox/extensions.c openbox/popup.c openbox/screen.c parser/parse.c
2009-07-05Don't draw borders in fullscreen mode when keepBorder is onHenning Bekel
2009-01-29Merge branch 'backport' into workMikael Magnusson
Conflicts: openbox/event.c openbox/frame.c
2009-01-29Handle InputShape type shaping too.Mikael Magnusson
Many composite apps use this to pass through clicks where they are transparent.
2008-11-19Merge branch 'backport' into workMikael Magnusson
2008-11-19Only update the focus cycle indicator when already visible in frame.c to ↵Mikael Magnusson
avoid overriding bar=no
2008-03-08Merge branch 'backport' into workMikael Magnusson
Conflicts: obt/keyboard.c openbox/actions/cyclewindows.c openbox/actions/directionalwindows.c openbox/frame.c openbox/openbox.c
2008-03-08Remove double newlines.Mikael Magnusson
2008-03-08Don't draw titlebar buttons on top of eachother.Mikael Magnusson
2008-02-29Merge branch 'backport' into workMikael Magnusson
Conflicts: openbox/client.c openbox/screen.c
2008-02-28Very inconsequential changes.Mikael Magnusson
2008-02-15Merge branch 'backport' into workDana Jansens
Conflicts: openbox/frame.c openbox/menuframe.c
2008-02-15make the frame iconify animation go right into the icon geometry area ↵Dana Jansens
instead of stopping before it
2008-01-31Merge branch 'backport' into workDana Jansens
Conflicts: openbox/client.c openbox/config.c openbox/event.c openbox/extensions.c openbox/focus_cycle_indicator.c openbox/focus_cycle_popup.c openbox/menuframe.c openbox/moveresize.c openbox/openbox.c openbox/screen.c openbox/stacking.c openbox/startupnotify.c
2008-01-31make an obt_root() macroDana Jansens
2008-01-31make the window.h interface more consistent with the rest of openbox, hide ↵Dana Jansens
the window_map behind some functions, and make obdockapps not obwindows anymore
2008-01-27we alloc theme elements for every window frame, but really it is unneccesaryDana Jansens
2008-01-20make openbox use the obt prop.c/h stuffDana Jansens
holy search and replace batman
2008-01-20s/ob_display/obt_display/ and remove ob_displayDana Jansens
2008-01-20move the code for tracking what extensions are available on the display into ↵Dana Jansens
the libobt
2008-01-20Move the main loop out into the libobtDana Jansens
2008-01-15the inner border's corners weren't having events handled on them correctly, ↵Dana Jansens
which was messing with resizing. yay akk for finding this.
2008-01-16fix the context given off by the borders in the br cornerDana Jansens