mikachu/openbox.git
8 years agobe a bit more explicit about what is being copied from one texture to another buttons-merge
Dana Jansens [Tue, 25 Jan 2011 17:02:42 +0000 (12:02 -0500)]
be a bit more explicit about what is being copied from one texture to another

8 years agoSeparate theme options for osd prompt buttons.
Carlos Pita [Wed, 12 Jan 2011 23:49:45 +0000 (20:49 -0300)]
Separate theme options for osd prompt buttons.

I managed to keep backwards compatibility without really cluttering
the code so here is the patch
http://bugzilla.icculus.org/show_bug.cgi?id=4874 too.

Please keep in mind that this is my first piece of code for openbox
and that I'm not a die hard openbox user (yet), not to tell the patch
was not exhaustively tested. Anyway I think it's pretty much in a good
shape but any criticism will be welcome.

Basically the patch add the following theme options for controlling
buttons in osd prompts:

%%%% colors
%
% for the text inside the button
osd.button.unpressed.text.color
osd.button.pressed.text.color
osd.button.focused.text.color
%
% for the line art around the button
%  (if you don't wan't the box just make box.color = bg.color)
osd.button.pressed.box.color
osd.button.focused.box.color

%%%% textures
%
osd.button.unpressed.bg
osd.button.pressed.bg
osd.button.focused.bg

The buttons can be in three states:

 unpressed: neither clicked nor selected
 focused: selected but not clicked
 pressed: clicked (and of course selected)

I discarded the previous distinction between press and pfocus as in
fact it was only a formal distinction, in that both appearances
mimicked each other in every sense. It think that it was just
inherited from the way titlebar buttons are managed so I decided to
simplify it a bit.

All the options default in a way that preserves backwards compatibility:

osd.button.unpressed.text.color  -> osd.active.label.text.color
osd.button.pressed.text.color -> osd.active.label.text.color
osd.button.focused.text.color -> osd.active.label.text.color

osd.button.pressed.box.color ->  window.active.button.pressed.image.color
osd.button.focused.box.color -> window.active.button.hover.image.color

osd.button.unpressed.bg -> window.active.button.unpressed.bg
osd.button.pressed.bg -> window.active.button.pressed.bg
osd.button.focused.bg -> window.active.button.hover.bg

Notice that a good deal of locs where added to theme.c but in
compensation prompt.c is pretty much simpler now because the
appearances and textures are created while loading the theme.

8 years agoMerge branch 'm4/buttons'
Mikael Magnusson [Tue, 2 Aug 2011 19:01:09 +0000 (21:01 +0200)]
Merge branch 'm4/buttons'

8 years agoFix some rebase artifacts
Mikael Magnusson [Thu, 14 Oct 2010 14:05:15 +0000 (16:05 +0200)]
Fix some rebase artifacts

8 years agoRevert "Separate theme options for osd prompt buttons."
Mikael Magnusson [Tue, 2 Aug 2011 18:52:36 +0000 (20:52 +0200)]
Revert "Separate theme options for osd prompt buttons."

This reverts commit 1e427a3358deeadf8abc326e714ee201fddc43d6.

8 years agoRevert "be a bit more explicit about what is being copied from one texture to another"
Mikael Magnusson [Tue, 2 Aug 2011 18:52:32 +0000 (20:52 +0200)]
Revert "be a bit more explicit about what is being copied from one texture to another"

This reverts commit 2288da0ae3b44c987687e3deeb7864fcb7b23bb9.

8 years agoadd --disable options for x extensions
Dana Jansens [Mon, 24 Jan 2011 19:06:56 +0000 (14:06 -0500)]
add --disable options for x extensions

so we can test compiling without them present

8 years agoUpdate Brazilian Portuguese translation
Og Maciel [Mon, 1 Aug 2011 19:47:00 +0000 (21:47 +0200)]
Update Brazilian Portuguese translation

8 years agoadd the 3.4.10+ changes to the CHANGELOG
Dana Jansens [Mon, 1 Aug 2011 17:49:40 +0000 (13:49 -0400)]
add the 3.4.10+ changes to the CHANGELOG

8 years agoAdd 3.5.0 changes
Dana Jansens [Mon, 1 Aug 2011 17:41:44 +0000 (13:41 -0400)]
Add 3.5.0 changes

8 years agoUpdate other po files
Mikael Magnusson [Mon, 1 Aug 2011 16:58:03 +0000 (18:58 +0200)]
Update other po files

8 years agoUpdate swedish translation
Mikael Magnusson [Mon, 1 Aug 2011 16:22:16 +0000 (18:22 +0200)]
Update swedish translation

8 years agoFix some translation string markings
Mikael Magnusson [Tue, 10 May 2011 14:03:33 +0000 (16:03 +0200)]
Fix some translation string markings

8 years agoAllow setting icons for submenus
Mikael Magnusson [Fri, 16 Apr 2010 15:58:20 +0000 (17:58 +0200)]
Allow setting icons for submenus

8 years agoFix menu placement to avoid dead xinerama areas, possibly break other stuff
Mikael Magnusson [Tue, 10 May 2011 14:03:33 +0000 (16:03 +0200)]
Fix menu placement to avoid dead xinerama areas, possibly break other stuff

Use screen_find_monitor(area) instead of screen_find_monitor_point(
topleft corner) in order to find a better monitor when the menu isn't
opening with the mouse cursor in the top left corner.

I made screen_find_monitor return the primary screen when it failed to
find a monitor containing the rect, instead of the total area, no idea
what behaviour this will change but I doubt it will be worse.

8 years agoLink libraries directly to compile on some systems (debian).
Mikael Magnusson [Sun, 22 May 2011 15:42:34 +0000 (17:42 +0200)]
Link libraries directly to compile on some systems (debian).

If program (A) is linked to library (B) which is linked to library (C),
then A must also link C directly in order to use things from it directly.

8 years agoThe environments are passed in from the openbox-session script so use them.
Dana Jansens [Sun, 24 Jul 2011 23:39:47 +0000 (19:39 -0400)]
The environments are passed in from the openbox-session script so use them.

8 years agoFix bug #4877 (Some harmless code quirks involving booleans)
Dana Jansens [Fri, 28 Jan 2011 18:25:32 +0000 (13:25 -0500)]
Fix bug #4877 (Some harmless code quirks involving booleans)

8 years agobe a bit more explicit about what is being copied from one texture to another
Dana Jansens [Tue, 25 Jan 2011 17:02:42 +0000 (12:02 -0500)]
be a bit more explicit about what is being copied from one texture to another

8 years agoSeparate theme options for osd prompt buttons.
Carlos Pita [Wed, 12 Jan 2011 23:49:45 +0000 (20:49 -0300)]
Separate theme options for osd prompt buttons.

I managed to keep backwards compatibility without really cluttering
the code so here is the patch
http://bugzilla.icculus.org/show_bug.cgi?id=4874 too.

Please keep in mind that this is my first piece of code for openbox
and that I'm not a die hard openbox user (yet), not to tell the patch
was not exhaustively tested. Anyway I think it's pretty much in a good
shape but any criticism will be welcome.

Basically the patch add the following theme options for controlling
buttons in osd prompts:

%%%% colors
%
% for the text inside the button
osd.button.unpressed.text.color
osd.button.pressed.text.color
osd.button.focused.text.color
%
% for the line art around the button
%  (if you don't wan't the box just make box.color = bg.color)
osd.button.pressed.box.color
osd.button.focused.box.color

%%%% textures
%
osd.button.unpressed.bg
osd.button.pressed.bg
osd.button.focused.bg

The buttons can be in three states:

 unpressed: neither clicked nor selected
 focused: selected but not clicked
 pressed: clicked (and of course selected)

I discarded the previous distinction between press and pfocus as in
fact it was only a formal distinction, in that both appearances
mimicked each other in every sense. It think that it was just
inherited from the way titlebar buttons are managed so I decided to
simplify it a bit.

All the options default in a way that preserves backwards compatibility:

osd.button.unpressed.text.color  -> osd.active.label.text.color
osd.button.pressed.text.color -> osd.active.label.text.color
osd.button.focused.text.color -> osd.active.label.text.color

osd.button.pressed.box.color ->  window.active.button.pressed.image.color
osd.button.focused.box.color -> window.active.button.hover.image.color

osd.button.unpressed.bg -> window.active.button.unpressed.bg
osd.button.pressed.bg -> window.active.button.pressed.bg
osd.button.focused.bg -> window.active.button.hover.bg

Notice that a good deal of locs where added to theme.c but in
compensation prompt.c is pretty much simpler now because the
appearances and textures are created while loading the theme.

8 years agomove Imlib to the option deps in the git readme
Dana Jansens [Mon, 1 Aug 2011 15:41:34 +0000 (11:41 -0400)]
move Imlib to the option deps in the git readme

8 years agoUpdate note on dependencies wrt autopoint
Mikael Magnusson [Sat, 5 Mar 2011 16:44:26 +0000 (17:44 +0100)]
Update note on dependencies wrt autopoint

8 years agoUpdate README.GIT to the packages in current ubuntu distribution and include imlib2
Dana Jansens [Sat, 23 Jul 2011 22:51:38 +0000 (18:51 -0400)]
Update README.GIT to the packages in current ubuntu distribution and include imlib2

8 years agoComment fix
Dana Jansens [Tue, 26 Jul 2011 19:08:35 +0000 (15:08 -0400)]
Comment fix

8 years agobump version to 3.5.0 and library versions
Dana Jansens [Mon, 1 Aug 2011 15:25:55 +0000 (11:25 -0400)]
bump version to 3.5.0 and library versions

8 years agoFix Java apps always appearing on desktop 0.
Dana Jansens [Fri, 13 May 2011 19:48:53 +0000 (15:48 -0400)]
Fix Java apps always appearing on desktop 0.

Fake managing a window doesn't read a requested desktop, but ended up placing
  a NET_WM_DESKTOP hint on the window (with value 0).  Fake managing doesn't
  need to set the DESKTOP hint since the window is not actually being managed,
  so remove it from the codepath.

8 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

8 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

8 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
size.

8 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.

8 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

8 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.

8 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

8 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)

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

8 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)

8 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)

8 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).

8 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

8 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.

8 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

8 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.)

8 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

8 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.
  else
    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.
else
  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.

8 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

8 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

8 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

8 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.

8 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.

8 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)

8 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.

8 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")

8 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

8 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

8 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

8 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

8 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)

8 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.

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

8 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.

8 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

8 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)

8 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

8 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()

8 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.

8 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

8 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

8 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"

8 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

8 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.

8 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.

9 years agoFix g_slice_new0 call
Mikael Magnusson [Thu, 14 Oct 2010 13:58:03 +0000 (15:58 +0200)]
Fix g_slice_new0 call

9 years agofix 80 cols and clean up the button color loading function
Dana Jansens [Sat, 12 Jan 2008 03:34:23 +0000 (22:34 -0500)]
fix 80 cols and clean up the button color loading function

9 years agocleaning up remnants of bad rebase merges and modernizing some sections
Dave Foster [Wed, 13 Oct 2010 03:59:51 +0000 (23:59 -0400)]
cleaning up remnants of bad rebase merges and modernizing some sections

9 years agoMenu bullet color support.
Dave Foster [Tue, 18 Dec 2007 19:11:04 +0000 (14:11 -0500)]
Menu bullet color support.

9 years agoMake the btn textures use their own image color.
Dave Foster [Thu, 13 Dec 2007 14:12:15 +0000 (09:12 -0500)]
Make the btn textures use their own image color.

9 years agoButtons seem to work!
Dave Foster [Wed, 12 Dec 2007 23:02:38 +0000 (18:02 -0500)]
Buttons seem to work!

9 years ago(non-working) Getting theme started. Button textures read to the right place.
Dave Foster [Fri, 7 Dec 2007 21:43:12 +0000 (16:43 -0500)]
(non-working) Getting theme started.  Button textures read to the right place.

9 years agoButton structure.
Dave Foster [Fri, 7 Dec 2007 19:00:47 +0000 (14:00 -0500)]
Button structure.

9 years agoButton proper freeing/newing.
Dave Foster [Fri, 21 Sep 2007 02:36:52 +0000 (22:36 -0400)]
Button proper freeing/newing.

9 years agoAdding RrButton to libobrender, ref counted appearances.
Dave Foster [Thu, 20 Sep 2007 19:30:18 +0000 (15:30 -0400)]
Adding RrButton to libobrender, ref counted appearances.

9 years agoAnother way of getting at button-*.toggled.unpressed (no unpressed needed).
Dave Foster [Fri, 14 Sep 2007 03:13:56 +0000 (23:13 -0400)]
Another way of getting at button-*.toggled.unpressed (no unpressed needed).

9 years agoRearranged all button appearance reading for logical purposes, better defaults.
Dave Foster [Fri, 14 Sep 2007 02:25:24 +0000 (22:25 -0400)]
Rearranged all button appearance reading for logical purposes, better defaults.

9 years agoFound a bug in one of the specialized button textures.
Dave Foster [Thu, 13 Sep 2007 22:00:24 +0000 (18:00 -0400)]
Found a bug in one of the specialized button textures.

9 years agoNeed to allocate appearances!
Dave Foster [Thu, 13 Sep 2007 20:09:43 +0000 (16:09 -0400)]
Need to allocate appearances!

9 years agoMade specific buttons be button-<name> instead of button.<name>
Dave Foster [Thu, 13 Sep 2007 18:43:02 +0000 (14:43 -0400)]
Made specific buttons be button-<name> instead of button.<name>

9 years agoIndividual button appearances from the theme.
Dave Foster [Thu, 13 Sep 2007 17:03:25 +0000 (13:03 -0400)]
Individual button appearances from the theme.

9 years agoRead into _tmp RrAppearance, not theme->a_*_max
Dave Foster [Thu, 13 Sep 2007 14:24:12 +0000 (10:24 -0400)]
Read into _tmp RrAppearance, not theme->a_*_max

9 years agoTemporary storage locations for texture reads.
Dave Foster [Thu, 13 Sep 2007 13:47:20 +0000 (09:47 -0400)]
Temporary storage locations for texture reads.

9 years agoREAD_COLOR macros done, RrColorCopy added, indentation fixed.
Dave Foster [Fri, 31 Aug 2007 03:11:38 +0000 (23:11 -0400)]
READ_COLOR macros done, RrColorCopy added, indentation fixed.

9 years agodefault for menu overlap
Dave Foster [Wed, 13 Oct 2010 00:44:43 +0000 (20:44 -0400)]
default for menu overlap

9 years agoRemoved trailing spaces and fixed to 80 column width.
Dave Foster [Tue, 11 Sep 2007 17:53:27 +0000 (13:53 -0400)]
Removed trailing spaces and fixed to 80 column width.

9 years agoREAD_APPEARANCE* macros and code cleanups.
Dave Foster [Fri, 31 Aug 2007 15:52:55 +0000 (11:52 -0400)]
READ_APPEARANCE* macros and code cleanups.

9 years agoREAD_COLOR macros done, RrColorCopy added, indentation fixed.
Dave Foster [Fri, 31 Aug 2007 03:11:38 +0000 (23:11 -0400)]
READ_COLOR macros done, RrColorCopy added, indentation fixed.

9 years agoREAD_INT macro.
Dave Foster [Thu, 30 Aug 2007 19:46:53 +0000 (15:46 -0400)]
READ_INT macro.

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

9 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

9 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

9 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

9 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