Commit Graph

167 Commits

Author SHA1 Message Date
Bert Münnich
22a8b66571 Fixed BadDrawable errors caused by invalid window pixmap 2012-10-29 23:23:50 +01:00
Bert Münnich
4a5d5d26aa Overhauled window drawing
- Draw onto pixmap as before, but use the same size for the pixmap as
  for the window, allocate new pixmap after configure requests
- Use XCopyArea() instead of XSetWindowBackgroundPixmap(), which now
  requires handling of Expose events
2012-10-29 18:36:48 +01:00
Bert Münnich
6f9b4f5b2e New option: -N, set X window resource name 2012-10-29 18:32:56 +01:00
Bert Münnich
d5f0a20de0 Fixed WMProtocols registration order (before mapping window) 2012-08-07 12:09:52 +02:00
Bert Münnich
bca3666862 Fixed issue #47 2012-03-28 21:14:01 +02:00
Bert Münnich
8ab3cee6a5 Fixed issue #44 2012-03-16 21:03:49 +01:00
Bert Münnich
3238ef6bf6 Fixed issue #41, added WIN_FS_COLOR to config.h 2012-03-02 19:42:14 +01:00
Bert Münnich
ed2c9f7caa Display full name in info bar, if there is enough space 2012-02-21 12:49:29 +01:00
Bert Münnich
2d4264af28 Added option -b: disable bar 2012-02-16 23:20:27 +01:00
Bert Münnich
c666d30eea Added it_toggle_bar command; default mapping: XK_b 2012-02-15 22:33:39 +01:00
Bert Münnich
d407dd65d5 Already in the year 2012 2012-02-15 19:16:24 +01:00
Bert Münnich
b752d5c594 Added symbol BAR_SEPARATOR 2012-02-15 18:25:45 +01:00
Bert Münnich
7177270c10 Changed default font string, removed missing fontset warnings 2012-02-12 19:06:07 +01:00
Bert Münnich
b8458271fb Added text bar on bottom of window 2012-02-12 19:00:41 +01:00
Bert Münnich
36177fb180 Updated contact information 2011-10-14 10:40:49 +02:00
Bert Münnich
8dcf682de9 Made all conditionals more precise 2011-09-29 12:43:36 +02:00
Bert
b2a2a62b7b Added own bool type 2011-09-11 21:01:24 +02:00
Bert
6e575b0f72 Strict conformance to IEEE Std 1003.1-2001 2011-09-08 20:54:24 +02:00
Bert
d585b86354 Reformated license header 2011-09-03 23:11:45 +02:00
Bert
de6b58a315 Unified feature test macro requirements 2011-09-03 14:22:06 +02:00
Bert
8763f6930f Corrected FSF address in license headers 2011-08-18 01:18:26 +02:00
Bert
b8ff1677b1 Major code refactoring
- Configurable key and mouse mappings in config.h
- Put event handling code from main.c into events.[ch]
2011-07-26 18:01:29 +02:00
Bert
a271e16744 Reduced usage of preprocessor macros 2011-07-22 14:49:06 +02:00
Bert
d227b17d96 Made fullscreen work under buggy window managers 2011-04-19 14:44:26 +02:00
Bert
0b91328181 Fix fullscreen mode 2011-04-14 20:01:11 +02:00
Bert
d15264ea32 Remove invalid images when loading them; refactorings 2011-04-11 16:58:38 +02:00
Bert
55659ffcc3 Use imlib-handles in thumbs.c instead of pixmaps 2011-03-15 13:55:52 +01:00
Bert
d982b06eed White background for images with alpha 2011-03-09 11:37:49 +01:00
Bert
c05fd44bdd Support for external commands like mogrify & jpegtran 2011-03-01 18:49:02 +01:00
Bert
fde9f5bf85 Hide cursor on redraw or after 1.5s mouse inactivity 2011-02-21 18:26:21 +01:00
Bert
ef24ded6af Highlight selected thumbnail 2011-02-17 16:22:54 +01:00
Bert
1c072cc0d0 Fill window before loading thumbs 2011-02-17 14:20:42 +01:00
Bert
783213c0bb Use watch-cursor while loading thumbnails 2011-02-17 11:08:25 +01:00
Bert
26c2179be7 Refactored thumbs, new files thumbs.[ch] 2011-02-16 21:40:20 +01:00
Bert
8919204a2e Render thumbnails 2011-02-16 18:16:00 +01:00
Bert
7b49740613 First things for thumbnail mode 2011-02-16 16:47:12 +01:00
Bert
d731741f04 Handle WM_DELETE_WINDOW messages correctly, thanks to fungt 2011-02-09 10:01:49 +01:00
Bert
a5335e8ddd Slightly refactored fungts utf-8 title commit 2011-02-09 09:45:35 +01:00
fungt
7fb7b1f4fc Show correct utf-8 title 2011-02-09 09:36:55 +01:00
Bert
603e664f7c Nicer fit window to image 2011-02-06 17:40:48 +01:00
Bert
8339bb7ee7 New key mapping: W, resize window to fit image 2011-02-04 00:25:57 +01:00
Bert
8f4af658ae Refactored, new files util.[ch], C89 2011-02-03 10:15:01 +01:00
Bert
f2ceac2f8a New option: -F, fixed/floating window 2011-02-01 16:40:37 +01:00
Bert
8fb3110ebb Bug fix: handle negative offsets in -g arg correctly 2011-02-01 16:21:58 +01:00
Bert
229830ad18 Replace -w with well-known geometry option 2011-01-30 22:00:58 +01:00
Bert
03bfe1015e Explicitly enable printing of warnings 2011-01-30 16:39:16 +01:00
Bert
c52c4fa69e Mouse-panning while pressing button2 2011-01-29 22:37:40 +01:00
Bert
8123d63c5b Added plenty lots of options 2011-01-28 13:34:16 +01:00
Bert
17e2a795bb Added -w cmdline option 2011-01-27 16:15:43 +01:00
Bert
0497a7f69d Merge remote branch 'falconindy/mouse' 2011-01-26 17:48:11 +01:00
Bert
2b1c0885fe Implemented fullscreen mode 2011-01-23 16:14:41 +01:00
Dave Reisner
13eb5ac929 window.c: include ButtonPress events in Input
Signed-off-by: Dave Reisner <d@falconindy.com>
2011-01-23 09:46:25 -05:00
Bert
0f714bccda Handle window resize events properly 2011-01-22 23:27:29 +01:00
Bert
c7860b690b Stricter object encapsulation 2011-01-21 12:57:35 +01:00
Bert
376c0d90c7 Bigger background pixmap 2011-01-20 22:02:19 +01:00
Bert
029e1208b9 No more expose handling 2011-01-20 21:44:34 +01:00
Bert
08018427c6 Put some useful information in the window title 2011-01-20 17:00:59 +01:00
Bert
eeb58886a5 Fixed initial window title 2011-01-20 16:32:16 +01:00
Bert
79c7e6178e Render image on window 2011-01-18 20:11:28 +01:00
Bert
bb4edc756c Renamed FATAL to DIE 2011-01-18 17:21:59 +01:00
Bert
fb6411ab5c Encapsulate window environment in win_env_t 2011-01-18 16:32:40 +01:00
Bert
45b2b45285 Small refactorings 2011-01-17 20:14:15 +01:00
Bert
b5526c9db0 Gray window background 2011-01-17 19:53:48 +01:00
Bert
47d107edb5 React to ConfigureNotify 2011-01-17 19:50:46 +01:00
Bert
6e0db8c88d New BG_COLOR setting in config.h 2011-01-17 17:19:13 +01:00
Bert
49a69a357b Added win_open & win_close 2011-01-17 16:42:49 +01:00
Bert
e7bc3bb71b Non-working skeleton 2011-01-17 14:57:59 +01:00