10 years agodon't re-run the startup command on reconfigure
Dana Jansens [Wed, 30 Mar 2011 15:23:11 +0000 (11:23 -0400)]
don't re-run the startup command on reconfigure

10 years agofix global autostart installation, and the pointer to it so it is run
Dana Jansens [Wed, 30 Mar 2011 15:13:06 +0000 (11:13 -0400)]
fix global autostart installation, and the pointer to it so it is run

10 years agoResizing removes maximization now, so don't only snap "grow to edge" to screen edges.
Dana Jansens [Tue, 4 Jan 2011 20:13:07 +0000 (15:13 -0500)]
Resizing removes maximization now, so don't only snap "grow to edge" to screen edges.

This caused a serious annoyance when shrinking a maximized window, it would
shrink to the other end of the monitor, effectively reducing it to its minimum

10 years agoFix compiling without sync extension present.
Dana Jansens [Wed, 15 Dec 2010 20:11:33 +0000 (15:11 -0500)]
Fix compiling without sync extension present.

Make waiting_for_sync always present, but it is set to 0 (not waiting) if we aren't using sync.

10 years agoFix regression: hitting a key accel in a menu didn't move focus to the submenu
Dana Jansens [Tue, 9 Nov 2010 01:20:36 +0000 (20:20 -0500)]
Fix regression: hitting a key accel in a menu didn't move focus to the submenu

10 years agoShow the submenu and move focus there with the enter key when the submenu isn't shown...
Dana Jansens [Mon, 8 Nov 2010 18:07:02 +0000 (13:07 -0500)]
Show the submenu and move focus there with the enter key when the submenu isn't shown yet.

10 years agodon't free the XIC if it wasn't created. this appears to cause a crash
Dana Jansens [Thu, 4 Nov 2010 14:12:42 +0000 (10:12 -0400)]
don't free the XIC if it wasn't created.  this appears to cause a crash

10 years agocap the client (and frame) window's dimensions at the range of an unsigned short...
Dana Jansens [Wed, 20 Oct 2010 19:30:29 +0000 (15:30 -0400)]
cap the client (and frame) window's dimensions at the range of an unsigned short (bug #4596)

10 years agoextra \n in debug output
Dana Jansens [Sun, 17 Oct 2010 00:16:35 +0000 (20:16 -0400)]
extra \n in debug output

10 years agoMove focus to a window when the mouse enters a window during a pointer grab, if using...
Dana Jansens [Sat, 16 Oct 2010 22:51:09 +0000 (18:51 -0400)]
Move focus to a window when the mouse enters a window during a pointer grab, if using "focus under mouse" (Fixes bug #4617)

10 years agowhen focus=yes in the per-app settings, then the focus request for the new window...
Dana Jansens [Sat, 16 Oct 2010 21:36:46 +0000 (17:36 -0400)]
when focus=yes in the per-app settings, then the focus request for the new window is from a user.  also if allow_other_desktops is false, then always disallow other desktops (Fixes bug #4752)

10 years agoMake NET_ACTIVE messages always treated as from the user. Loosen up focus stealing...
Dana Jansens [Sat, 16 Oct 2010 21:19:24 +0000 (17:19 -0400)]
Make NET_ACTIVE messages always treated as from the user.  Loosen up focus stealing for user-requested focusing.

Seems panels such as xfce's and gnome's still treat their activation requests
  as being from an application when a user has requested it.

Make the focus stealing code more lenient for user-requested focusings
  (_NET_ACTIVE).  But treat new windows as not user-requested unless they
  gave a launch time.

When activating a window, if another window would be the one to actually get
  focused, then activate that instead (avoid clicking a window in the panel and
  nothing happens).

10 years agodon't use -Wextra unless --enable-super-warnings
Dana Jansens [Sat, 16 Oct 2010 21:13:27 +0000 (17:13 -0400)]
don't use -Wextra unless --enable-super-warnings

10 years agosetenv and unsetenv dont exist in Solaris 9. (Fixes bug #4663)
Philip Brown [Sat, 16 Oct 2010 20:16:51 +0000 (16:16 -0400)]
setenv and unsetenv dont exist in Solaris 9.  (Fixes bug #4663)

Seeing as how you already use glib, I just substituted g_setenv and g_unsetenv
as appropriate, and it now works for me.

10 years agoSome versions of X, have the Shape extension, but apparently not "ShapeInput" (Fixes...
Philip Brown [Sat, 16 Oct 2010 20:13:36 +0000 (16:13 -0400)]
Some versions of X, have the Shape extension, but apparently not "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

10 years agomake the default drag threshold 1. it is smooth and feels and looks nice.
Dana Jansens [Sat, 16 Oct 2010 19:47:33 +0000 (15:47 -0400)]
make the default drag threshold 1.  it is smooth and feels and looks nice.

(also macos has it and i liked it.)

10 years agoXML_PARSE_XINCLUDE flag seems to do nothing. Use xmlXIncludeProcessFlags() instead
Dana Jansens [Sat, 16 Oct 2010 19:32:35 +0000 (15:32 -0400)]
XML_PARSE_XINCLUDE flag seems to do nothing. Use xmlXIncludeProcessFlags() instead

10 years agoif no launch time is provided for an application, make one up.
Dana Jansens [Fri, 15 Oct 2010 19:06:16 +0000 (15:06 -0400)]
if no launch time is provided for an application, make one up.

if the window is related to other existing windows
  and one of those windows was the last used
    then we will give it a launch time equal to the last user time,
    which will end up giving the window focus probably.
    the window is related to other windows, but you are not working in them?
    seems suspicious, so we will give it a launch time of NOW - STEAL_INTERVAL,
    so it will be given focus only if we didn't use something else during the
    steal interval.
  the window is all on its own, so we can't judge it.  give it a launch time
  equal to the last user time, so it will probably take focus.

this way running things from a terminal will give them focus, but popups
without a launch time shouldn't steal focus so easily.

10 years agofix segfault for placing windows without a group
Dana Jansens [Fri, 15 Oct 2010 18:43:56 +0000 (14:43 -0400)]
fix segfault for placing windows without a group

10 years agoadd primary monitor stuff to rc.xsd
Dana Jansens [Fri, 15 Oct 2010 15:47:32 +0000 (11:47 -0400)]
add primary monitor stuff to rc.xsd

10 years agoFix small leak in If action option parsing
Mikael Magnusson [Sat, 9 Oct 2010 22:51:36 +0000 (00:51 +0200)]
Fix small leak in If action option parsing

10 years agoBig changes to placement across multiple monitors.
Dana Jansens [Thu, 14 Oct 2010 23:40:41 +0000 (19:40 -0400)]
Big changes to placement across multiple monitors.

Add a Primary option for which monitor to place new windows on.  Make "Active" the default instead of "Any", which is just totally crazy.

When a window is being placed in the FOREGROUND, use a monitor chosen in
  the following order:
  1. same monitor as parent
  2. primary monitor if placement=PRIMARY
     active monitor if placement=ACTIVE
     pointer monitor if placement=MOUSE
  3. primary monitor
  4. other monitors where the window has group members on the same desktop
  5. other monitors where the window has group members on other desktops
  6. other monitors

When a window is being placed in the BACKGROUND, use a monitor chosen in the
  following order:
  1. same monitor as parent
  2. other monitors where the window has group members on the same desktop
   2a. primary monitor in this set
   2b. other monitors in this set
  3. other monitors where the window has group members on other desktops
   3a. primary monitor in this set
   3b. other monitors in this set
  4. other monitors
   4a. primary monitor in this set
   4b. other monitors in this set

Decide to focus the new window before placing it, so we know if it will be
  placed in the foreground or background.

Always choose a single monitor, then place on it, rather than possibly moving
  to a "backup" monitor.  Unpredictable monitor placement is horrible.

10 years agoadd function screen_compare_desktops()
Dana Jansens [Thu, 14 Oct 2010 23:39:34 +0000 (19:39 -0400)]
add function screen_compare_desktops()

tells if two windows' current desktops are considered logically on the same
  desktop (taking "all desktops" into account)
if a window is on "all desktops" it is considered to be on the current desktop
  only - windows can only be in one place at a time.

10 years agodon't steal focus if someone used a window within 1 second ago
Dana Jansens [Thu, 14 Oct 2010 23:38:46 +0000 (19:38 -0400)]
don't steal focus if someone used a window within 1 second ago

(instead of 0.5 seconds)

10 years agoFixing commit 066a15d7aa64eaa0. Don't ever use CurrentTime as event_curtime.
Dana Jansens [Thu, 14 Oct 2010 23:37:36 +0000 (19:37 -0400)]
Fixing commit 066a15d7aa64eaa0.  Don't ever use CurrentTime as event_curtime.

Force event_curtime to be some valid timestamp.

10 years agoAllow XIncludes in xml documents we read.
Dana Jansens [Sun, 10 Oct 2010 00:11:28 +0000 (20:11 -0400)]
Allow XIncludes in xml documents we read.

Add the XInclude namespace in the default config file (named "xi")

10 years agouse top_builddir, not builddir variable in Makefile. seems builddir doesn't always...
Dana Jansens [Sun, 10 Oct 2010 00:21:16 +0000 (20:21 -0400)]
use top_builddir, not builddir variable in Makefile.  seems builddir doesn't always exist/anymore

10 years agoadd some more warning flags for debug builds
Dana Jansens [Mon, 4 Oct 2010 22:46:32 +0000 (18:46 -0400)]
add some more warning flags for debug builds

-Wno-write-strings so that "foo" is treated as a const char* not a char*.
-Wextra for more fun

10 years agoFix icons.c test for 64-bit platforms
Hiltjo Posthuma [Mon, 27 Sep 2010 18:12:50 +0000 (14:12 -0400)]
Fix icons.c test for 64-bit platforms

10 years agoupdate the last user interaction timestamp during a move/resize of the focused window
Dana Jansens [Wed, 29 Sep 2010 20:15:01 +0000 (16:15 -0400)]
update the last user interaction timestamp during a move/resize of the focused window

10 years agoupdate the user-interaction timestamp when running a (non-interactive) action on...
Dana Jansens [Wed, 29 Sep 2010 20:04:53 +0000 (16:04 -0400)]
update the user-interaction timestamp when running a (non-interactive) action on the focused window
update it at the end of running actions instead of multiple times (once for
 each action)

10 years agodon't steal focus from a window if it was used very recently, when someone uses _NET_...
Dana Jansens [Wed, 29 Sep 2010 19:45:37 +0000 (15:45 -0400)]
don't steal focus from a window if it was used very recently, when someone uses _NET_ACTIVE request.

10 years agomem leak in config.c
Dana Jansens [Fri, 24 Sep 2010 21:00:40 +0000 (17:00 -0400)]
mem leak in config.c

10 years agoBig rework of image.c and the image cache system.
Dana Jansens [Tue, 21 Sep 2010 18:23:57 +0000 (14:23 -0400)]
Big rework of image.c and the image cache system.

Added a lot of comments, simplified call graphs.
Added full (not second-class) support for images coming from named sources (files, icon themes).
RrImage holds an RrImageSet.  RrImageSet holds a bunch of RrImagePic, which are different sizes of a logical image.
RrImageSet objects can be merged if it is discovered they (will) share an RrImagePic.  The RrImage objects are updated to use the new merged RrImageSet.

10 years agoUse >= instead of > when comparing timestamps, or we will ignore some events
Mikael Magnusson [Sun, 19 Sep 2010 17:05:55 +0000 (19:05 +0200)]
Use >= instead of > when comparing timestamps, or we will ignore some events

10 years agoadd some tests for obt pieces (binary search, .desktop parsking, linkbase, and inotif...
Dana Jansens [Tue, 21 Sep 2010 00:57:09 +0000 (20:57 -0400)]
add some tests for obt pieces (binary search, .desktop parsking, linkbase, and inotify watch)

10 years agooops, crash if searching for something smaller than * in the array
Dana Jansens [Tue, 21 Sep 2010 00:02:16 +0000 (20:02 -0400)]
oops, crash if searching for something smaller than * in the array

10 years agoless redundant calls to screen_update_areas() and client_move_onscreen()
Dana Jansens [Sun, 19 Sep 2010 15:06:49 +0000 (11:06 -0400)]
less redundant calls to screen_update_areas() and client_move_onscreen()

10 years agoIgnore MotionNotify on menus, it reset the submenudelay timer
Mikael Magnusson [Fri, 17 Sep 2010 02:00:38 +0000 (04:00 +0200)]
Ignore MotionNotify on menus, it reset the submenudelay timer

It also caused the slightest cursor movement to activate the entry under
the cursor when navigating via the keyboard.

10 years agoUse g_list_find instead of weird bouncing loops
Mikael Magnusson [Mon, 14 Jun 2010 01:14:37 +0000 (03:14 +0200)]
Use g_list_find instead of weird bouncing loops

10 years agoParse multiple keys in one keybind
Dana Jansens [Tue, 14 Sep 2010 22:49:09 +0000 (00:49 +0200)]
Parse multiple keys in one keybind

10 years agoallow the res_class in WM_CLASS to mark a window as a dock app, if it is set to the...
Dana Jansens [Thu, 16 Sep 2010 23:34:14 +0000 (19:34 -0400)]
allow the res_class in WM_CLASS to mark a window as a dock app, if it is set to the string "DockApp"

10 years agoDon't hog the user during the hideDelay
Mikael Magnusson [Mon, 23 Aug 2010 16:30:38 +0000 (18:30 +0200)]
Don't hog the user during the hideDelay

10 years agoHandle STRING and COMPOUND_TEXT type text properties.
Dana Jansens [Thu, 16 Sep 2010 18:52:49 +0000 (14:52 -0400)]
Handle STRING and COMPOUND_TEXT type text properties.

STRING should be latin1 text (plus TAB and LF)
COMPOUND_TEXT should be encoded in the current locale.

10 years agoRevert "add an inotify watcher for directories (doesnt work without inotify yet)"
Dana Jansens [Mon, 24 Jan 2011 19:18:09 +0000 (14:18 -0500)]
Revert "add an inotify watcher for directories (doesnt work without inotify yet)"

This reverts commit c36b89ba12eae18d3011c8516906c21e9abb89dc.

11 years agofix make distcheck
Dana Jansens [Mon, 4 Oct 2010 21:30:22 +0000 (17:30 -0400)]
fix make distcheck

11 years agoglib can't handle -Wcast-qual
Dana Jansens [Thu, 16 Sep 2010 18:52:09 +0000 (14:52 -0400)]
glib can't handle -Wcast-qual

11 years agoadd wmhints test that toggles motif decor hints on a mapped window
Dana Jansens [Thu, 16 Sep 2010 17:50:11 +0000 (13:50 -0400)]
add wmhints test that toggles motif decor hints on a mapped window

11 years agoFix a double free when you have a mousebind without a button attribute
Mikael Magnusson [Mon, 16 Aug 2010 01:08:56 +0000 (03:08 +0200)]
Fix a double free when you have a mousebind without a button attribute

Introduced in f307a3feabedd9bcadeaafd0fa8e1b1a60736eb2

11 years agoFix a copypasto that broke interactive keybinds with meta and hyper keys
Mikael Magnusson [Tue, 10 Aug 2010 21:01:11 +0000 (23:01 +0200)]
Fix a copypasto that broke interactive keybinds with meta and hyper keys

11 years agoRevert "add XFlush to g_timeout callbacks"
Dana Jansens [Sat, 10 Jul 2010 03:58:21 +0000 (20:58 -0700)]
Revert "add XFlush to g_timeout callbacks"

This reverts commit aa3685d16af4a565eecdc39047ee8d140ef5cd99.

Mika's commit using a GSource to handle X Events fixes this problem, so this
commit is not needed

11 years agoFix 3.4 compatibility for SendToDesktop
Mikael Magnusson [Thu, 1 Jul 2010 13:17:02 +0000 (15:17 +0200)]
Fix 3.4 compatibility for SendToDesktop

11 years agoCorrect typo occured -> occurred in function name
Mikael Magnusson [Wed, 30 Jun 2010 10:47:16 +0000 (12:47 +0200)]
Correct typo occured -> occurred in function name

11 years agoAdd signal handling with the GMainLoop
Dana Jansens [Sun, 27 Jun 2010 16:02:44 +0000 (12:02 -0400)]
Add signal handling with the GMainLoop

Provided through a very simplistic interface in obt, found in the
 obt/signal.[ch] files

11 years agoadd stackabove test, that lets you move a client window just above a specified window...
Dana Jansens [Sun, 27 Jun 2010 13:38:50 +0000 (09:38 -0400)]
add stackabove test, that lets you move a client window just above a specified window in the stacking order

11 years ago80 cols
Dana Jansens [Sat, 26 Jun 2010 22:59:16 +0000 (00:59 +0200)]
80 cols

11 years agoContinue parsing contexts when an unsupported one is encountered
Mikael Magnusson [Sat, 26 Jun 2010 14:08:30 +0000 (16:08 +0200)]
Continue parsing contexts when an unsupported one is encountered

11 years agoMake the dock a context and add actions LowerDock and RaiseDock
Mikael Magnusson [Sat, 26 Jun 2010 13:55:40 +0000 (15:55 +0200)]
Make the dock a context and add actions LowerDock and RaiseDock

11 years agoMove usage of iconh into the branch that assigns it
Mikael Magnusson [Sat, 26 Jun 2010 11:55:39 +0000 (13:55 +0200)]
Move usage of iconh into the branch that assigns it

11 years agosettings can't be NULL here, or we'd have already crashed anyway
Mikael Magnusson [Sat, 26 Jun 2010 11:45:45 +0000 (13:45 +0200)]
settings can't be NULL here, or we'd have already crashed anyway

11 years agoUse a gsource instead of gio channels for watching x events
Mikael Magnusson [Fri, 25 Jun 2010 11:04:39 +0000 (13:04 +0200)]
Use a gsource instead of gio channels for watching x events

Fixes not getting some focusin events sometimes.

11 years agoobt returns libxml2 structures directly, so anyone linking against it better also...
Dana Jansens [Wed, 16 Jun 2010 17:25:39 +0000 (13:25 -0400)]
obt returns libxml2 structures directly, so anyone linking against it better also link to libxml2

11 years agoadd XFlush to g_timeout callbacks
Dana Jansens [Mon, 14 Jun 2010 17:52:21 +0000 (13:52 -0400)]
add XFlush to g_timeout callbacks

GMainLoop doesn't cause an flush to occur after handling a timeout.

11 years agoFix the EXTENTS reported on window frames.
Dana Jansens [Mon, 14 Jun 2010 16:15:02 +0000 (12:15 -0400)]
Fix the EXTENTS reported on window frames.

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.

11 years agokeep stacking_list_tail a pointer to the tail of the stacking list
Dana Jansens [Wed, 9 Jun 2010 14:38:55 +0000 (10:38 -0400)]
keep stacking_list_tail a pointer to the tail of the stacking list

11 years agoallow a user to set "undecorated" on a window without decorations
Dana Jansens [Wed, 9 Jun 2010 13:31:06 +0000 (09:31 -0400)]
allow a user to set "undecorated" on a window without decorations

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.

11 years agoadd an inotify watcher for directories (doesnt work without inotify yet)
Dana Jansens [Thu, 3 Jun 2010 20:08:18 +0000 (16:08 -0400)]
add an inotify watcher for directories (doesnt work without inotify yet)

11 years agoUse GMainLoop instead of ObtMainLoop
Dana Jansens [Tue, 8 Jun 2010 21:50:23 +0000 (17:50 -0400)]
Use GMainLoop instead of ObtMainLoop

11 years agosave the list of mime types listed as supported by an application
Dana Jansens [Thu, 3 Jun 2010 17:57:47 +0000 (13:57 -0400)]
save the list of mime types listed as supported by an application

11 years agoparse app Categories better. parse a list of strings into a gchar**
Dana Jansens [Thu, 3 Jun 2010 17:53:19 +0000 (13:53 -0400)]
parse app Categories better.  parse a list of strings into a gchar**

11 years agoparse Categories tag and save them as an array of GQuarks
Dana Jansens [Thu, 3 Jun 2010 17:09:38 +0000 (13:09 -0400)]
parse Categories tag and save them as an array of GQuarks

11 years agoimproved .desktop parsing.
Dana Jansens [Thu, 3 Jun 2010 16:10:54 +0000 (12:10 -0400)]
improved .desktop parsing.

properly (and quickly) check for existence of required keys
figure out what an app can open from its exec key
validate the %fields in an app's exec key

11 years agofree the user's group ids
Dana Jansens [Thu, 3 Jun 2010 15:58:13 +0000 (11:58 -0400)]
free the user's group ids

11 years agofree the path dirs
Dana Jansens [Thu, 3 Jun 2010 15:56:15 +0000 (11:56 -0400)]
free the path dirs

11 years agoparse Path, Terminal, and StartupNotify
Dana Jansens [Sat, 22 May 2010 00:10:34 +0000 (20:10 -0400)]
parse Path, Terminal, and StartupNotify

11 years agoparse OnlyShowIn/NotShowIn
Dana Jansens [Sat, 22 May 2010 00:03:21 +0000 (20:03 -0400)]
parse OnlyShowIn/NotShowIn

11 years agoallow new windows on other desktops to get focused if specified in a per-app rule
Dana Jansens [Fri, 21 May 2010 20:51:45 +0000 (16:51 -0400)]
allow new windows on other desktops to get focused if specified in a per-app 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

11 years agoAllow sending windows on other desktops to the current desktop.
Mikael Magnusson [Thu, 6 Mar 2008 19:06:38 +0000 (20:06 +0100)]
Allow sending windows on other desktops to the current desktop.

11 years agoAdd some more conditions to the If action
Mikael Magnusson [Sat, 1 Mar 2008 15:42:06 +0000 (16:42 +0100)]
Add some more conditions to the If action

It can now match on window titles, virtual desktop (number, "current",
demands_attention, and undecoratedness.

11 years agodon't need a force_reply when changing the decor for a window
Dana Jansens [Thu, 20 May 2010 01:27:40 +0000 (21:27 -0400)]
don't need a force_reply when changing the decor for a window

it will send a configurenotify if the client's rootwindow position changed

11 years agoclient_update_protocols() doesnt change anything that would affect a client's decor...
Dana Jansens [Thu, 20 May 2010 01:05:14 +0000 (21:05 -0400)]
client_update_protocols() doesnt change anything that would affect a client's decor or functions

11 years agoallows a window to unmax by resizing.
Dana Jansens [Tue, 18 May 2010 22:47:54 +0000 (18:47 -0400)]
allows a window to unmax by resizing.

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.

11 years agoset the frame's initial size to something invalid so the extents hint will be
Dana Jansens [Wed, 19 May 2010 20:11:59 +0000 (16:11 -0400)]
set the frame's initial size to something invalid so the extents hint will be
set for sure the first time.

11 years agoset the interactive action to NULL before doing its cleanup phase
Dana Jansens [Tue, 18 May 2010 01:58:44 +0000 (21:58 -0400)]
set the interactive action to NULL before doing its cleanup phase

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.

11 years agofix focus when starting up, especially when replacing another instance of openbox
Dana Jansens [Tue, 18 May 2010 00:10:06 +0000 (20:10 -0400)]
fix focus when starting up, especially when replacing another instance of openbox

adds a function event_reset_time() that forces event_time() to look for a new (future) timestamp

11 years agoremove a debug print in the keyboard obt stuff
Dana Jansens [Mon, 17 May 2010 23:34:41 +0000 (19:34 -0400)]
remove a debug print in the keyboard obt stuff

11 years agoavoid new gcc warning (casting ** to const** is not valid for good reason)
Dana Jansens [Mon, 17 May 2010 23:04:06 +0000 (19:04 -0400)]
avoid new gcc warning (casting ** to const** is not valid for good reason)

11 years agomerge some contexts together in the default rc.xml mouse bindings
Dana Jansens [Mon, 17 May 2010 23:28:27 +0000 (19:28 -0400)]
merge some contexts together in the default rc.xml mouse bindings

11 years agoallow multiple contexts separated by space in a mouse binding
Dana Jansens [Fri, 14 May 2010 02:16:44 +0000 (22:16 -0400)]
allow multiple contexts separated by space in a mouse binding

example: context="Top Left Right Bottom"

11 years agoturn off focuslast and on undermouse in mouse focus config example
Dana Jansens [Thu, 13 May 2010 22:10:30 +0000 (18:10 -0400)]
turn off focuslast and on undermouse in mouse focus config example

11 years agoRemove some unneeded stdlib.h includes
Mikael Magnusson [Fri, 16 Apr 2010 06:37:42 +0000 (08:37 +0200)]
Remove some unneeded stdlib.h includes

11 years agoAdd support for using relative expressions in move and resize actions
Mikael Magnusson [Fri, 16 Apr 2010 16:04:24 +0000 (18:04 +0200)]
Add support for using relative expressions in move and resize actions

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

11 years agonew enum values need to be handled in switches
Dana Jansens [Mon, 17 May 2010 22:39:55 +0000 (18:39 -0400)]
new enum values need to be handled in switches

(the new enum values were added to count the number of entries in the enums)

11 years agofix typo in enum
Dana Jansens [Mon, 17 May 2010 22:39:22 +0000 (18:39 -0400)]
fix typo in enum

11 years agoadd _NUM_TYPES to obrender enums, to allow enumeration of the enum values
Derek Foreman [Thu, 13 May 2010 19:10:02 +0000 (15:10 -0400)]
add _NUM_TYPES to obrender enums, to allow enumeration of the enum values

11 years agoshow empty properties in obxprop
Dana Jansens [Wed, 12 May 2010 03:43:29 +0000 (23:43 -0400)]
show empty properties in obxprop

11 years agoparse number values write in a hex string in obxprop
Dana Jansens [Wed, 12 May 2010 03:31:03 +0000 (23:31 -0400)]
parse number values write in a hex string in obxprop

11 years agoadvance while parsing a hex input in obxprop
Dana Jansens [Wed, 12 May 2010 03:29:18 +0000 (23:29 -0400)]
advance while parsing a hex input in obxprop

11 years agoadd cleanup functions to the client list menus that removes everything from them...
Dana Jansens [Tue, 11 May 2010 23:01:46 +0000 (19:01 -0400)]
add cleanup functions to the client list menus that removes everything from them when they are not being shown (saves iterating thru the list uselessly when a client is unmanaged)

11 years agoadd cleanup function for menus that fires when the menu is no longer visible
Dana Jansens [Tue, 11 May 2010 23:01:33 +0000 (19:01 -0400)]
add cleanup function for menus that fires when the menu is no longer visible