JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Fix parse_rgb() 8-bit to 16-bit color conversion
authorReginald Kennedy <rk@rejii.com>
Thu, 19 Jul 2012 17:01:04 +0000 (01:01 +0800)
committerReginald Kennedy <rk@rejii.com>
Fri, 20 Jul 2012 22:00:02 +0000 (06:00 +0800)
commitc7532ca6f471773d7ea399f30c935fd531b624a8
treeffccbd836ab09d2efef6ebc1f726d8142097d5e0
parent2daa570c173fef98aa7cd2bf90341d14c3695750
Fix parse_rgb() 8-bit to 16-bit color conversion
For example, 0xff should convert to 0xffff, not 0xff00.

Fix bar_setup to properly convert the color pixel value to XRenderColor.

Rename swm_screen.c[].color to swm_screen.c[].pixel.

Add new get_ws_idx function.

Use 1 and 0 instead of the Xlib macros 'True' and 'False'.

Fix print_win_geom to not crash when the supplied window is invalid.

Fix windows disappearing on restart.
For now, go back to setting the state iconic in unmap_window.

Add '(void)var;' in functions where var is required but unused.
When using the -Wextra compiler flag, the warning for those variables is
suppressed thereby making it easier to spot warnings that could use our
attention.

Fix type conversion warning in swm_hack.c

Use global atoms where applicable.
lib/swm_hack.c
spectrwm.c