Dana Jansens
6dedf8f37e
use top_builddir, not builddir variable in Makefile. seems builddir doesn't always exist/anymore
2011-01-24 14:19:22 -05:00
Dana Jansens
a21e9c9cc5
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
2011-01-24 14:19:22 -05:00
Hiltjo Posthuma
6e5de3b57e
Fix icons.c test for 64-bit platforms
2011-01-24 14:19:22 -05:00
Dana Jansens
a8843b58c5
update the last user interaction timestamp during a move/resize of the focused window
2011-01-24 14:19:22 -05:00
Dana Jansens
5ff0d07aba
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)
2011-01-24 14:19:22 -05:00
Dana Jansens
d614bebf6a
don't steal focus from a window if it was used very recently, when someone uses _NET_ACTIVE request.
2011-01-24 14:19:22 -05:00
Dana Jansens
e737150701
mem leak in config.c
2011-01-24 14:19:22 -05:00
Dana Jansens
001f174cf5
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.
2011-01-24 14:19:22 -05:00
Mikael Magnusson
f458d66c7e
Use >= instead of > when comparing timestamps, or we will ignore some events
2011-01-24 14:19:22 -05:00
Dana Jansens
b1fc19711f
add some tests for obt pieces (binary search, .desktop parsking, linkbase, and inotify watch)
2011-01-24 14:19:22 -05:00
Dana Jansens
7eeae03f06
oops, crash if searching for something smaller than * in the array
2011-01-24 14:19:22 -05:00
Dana Jansens
d3660704f1
less redundant calls to screen_update_areas() and client_move_onscreen()
2011-01-24 14:19:22 -05:00
Mikael Magnusson
6f92931f84
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.
2011-01-24 14:19:22 -05:00
Mikael Magnusson
6d0f44e1d1
Use g_list_find instead of weird bouncing loops
2011-01-24 14:19:22 -05:00
Dana Jansens
3ff4162034
Parse multiple keys in one keybind
2011-01-24 14:19:22 -05:00
Dana Jansens
36a437a702
allow the res_class in WM_CLASS to mark a window as a dock app, if it is set to the string "DockApp"
2011-01-24 14:19:21 -05:00
Mikael Magnusson
194bb32cf6
Don't hog the user during the hideDelay
2011-01-24 14:19:21 -05:00
Dana Jansens
5d5714f01e
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.
2011-01-24 14:19:21 -05:00
Dana Jansens
d3d96b572a
Revert "add an inotify watcher for directories (doesnt work without inotify yet)"
...
This reverts commit c36b89ba12
.
2011-01-24 14:18:09 -05:00
Mikael Magnusson
da5441ecec
Fix g_slice_new0 call
2010-10-14 15:58:41 +02:00
Dana Jansens
a621e7a4fc
fix 80 cols and clean up the button color loading function
2010-10-14 15:54:48 +02:00
Dave Foster
95ed843702
cleaning up remnants of bad rebase merges and modernizing some sections
2010-10-14 15:54:48 +02:00
Dave Foster
464ee8996e
Menu bullet color support.
2010-10-14 15:54:48 +02:00
Dave Foster
3c8840a6cc
Make the btn textures use their own image color.
2010-10-14 15:54:47 +02:00
Dave Foster
8058df3f7c
Buttons seem to work!
2010-10-14 15:54:47 +02:00
Dave Foster
5d7c022bb4
(non-working) Getting theme started. Button textures read to the right place.
2010-10-14 15:54:47 +02:00
Dave Foster
f250c9dc2b
Button structure.
2010-10-14 15:54:47 +02:00
Dave Foster
0ae3388b6a
Button proper freeing/newing.
2010-10-14 15:54:47 +02:00
Dave Foster
6d30d66efb
Adding RrButton to libobrender, ref counted appearances.
2010-10-14 15:54:44 +02:00
Dave Foster
b566d3fcfe
Another way of getting at button-*.toggled.unpressed (no unpressed needed).
2010-10-14 15:49:20 +02:00
Dave Foster
9bc70d9373
Rearranged all button appearance reading for logical purposes, better defaults.
2010-10-14 15:49:20 +02:00
Dave Foster
ef8108695f
Found a bug in one of the specialized button textures.
2010-10-14 15:49:20 +02:00
Dave Foster
ccd4d460e5
Need to allocate appearances!
2010-10-14 15:49:20 +02:00
Dave Foster
cc0b1f7569
Made specific buttons be button-<name> instead of button.<name>
2010-10-14 15:49:20 +02:00
Dave Foster
b80a7fa015
Individual button appearances from the theme.
2010-10-14 15:49:20 +02:00
Dave Foster
2593c32930
Read into _tmp RrAppearance, not theme->a_*_max
2010-10-14 15:49:19 +02:00
Dave Foster
b7350d3ebd
Temporary storage locations for texture reads.
2010-10-14 15:49:19 +02:00
Dave Foster
01506d6a74
READ_COLOR macros done, RrColorCopy added, indentation fixed.
2010-10-14 15:48:20 +02:00
Dave Foster
2338bf0aa3
default for menu overlap
2010-10-14 15:46:39 +02:00
Dave Foster
0dd91ba0e2
Removed trailing spaces and fixed to 80 column width.
2010-10-14 15:46:39 +02:00
Dave Foster
c9d74e3da1
READ_APPEARANCE* macros and code cleanups.
2010-10-14 15:43:57 +02:00
Dave Foster
918efe8e49
READ_COLOR macros done, RrColorCopy added, indentation fixed.
2010-10-14 15:43:57 +02:00
Dave Foster
5f963a1fbc
READ_INT macro.
2010-10-14 15:28:01 +02:00
Dana Jansens
27ae9d65c8
fix make distcheck
2010-10-04 17:36:08 -04:00
Dana Jansens
2813d2c161
glib can't handle -Wcast-qual
2010-09-16 14:52:09 -04:00
Dana Jansens
d81f94bf8b
add wmhints test that toggles motif decor hints on a mapped window
2010-09-16 13:50:37 -04:00
Mikael Magnusson
9fcf466aeb
Fix a double free when you have a mousebind without a button attribute
...
Introduced in f307a3feab
2010-09-16 17:24:12 +02:00
Mikael Magnusson
670ff8b4b8
Fix a copypasto that broke interactive keybinds with meta and hyper keys
2010-09-16 17:24:12 +02:00
Dana Jansens
624ffe397b
Revert "add XFlush to g_timeout callbacks"
...
This reverts commit aa3685d16a
.
Mika's commit using a GSource to handle X Events fixes this problem, so this
commit is not needed
2010-09-16 17:24:12 +02:00
Mikael Magnusson
179312f9ae
Fix 3.4 compatibility for SendToDesktop
2010-09-16 17:24:11 +02:00