Bert Münnich
c33f2ad355
Corrected & refactored handling of window bar content...
...
Old snprintf calls could have overflowed the buffers.
2014-10-01 22:35:22 +02:00
Bert Münnich
d0ba2c585d
Simplified thumbnail selection and marks
2014-08-17 23:01:39 +02:00
Bert Münnich
bb6721549b
Overhauled window drawing, yet again; fixes issue #155
...
- Buffer for window content is bigger than the window, minimizes artifacts
when window is resized
- Back to using XSetWindowBackgroundPixmap() instead of XCopyArea(),
no need to handle exposure events; X server can show gray background directly
after resize event before sxiv redraws the window contents
2014-07-28 20:36:32 +02:00
Bert Münnich
e685859a30
Use a checkerboard background for alpha layer; fixes issue #138
2014-04-06 22:47:42 +02:00
Bert Münnich
72f1b1ca6f
Removed command line option -F
2014-02-05 09:58:36 +01:00
Bert Münnich
524d9de877
Removed fit-win-to-img command
2014-02-04 22:38:24 +01:00
Bert Münnich
2e758f78c1
Check if window manager supports fullscreen; related to issue #128
2014-02-02 14:56:01 +01:00
Bert Münnich
e2fa49ecfe
Unified X atom initialization
2014-02-02 14:36:10 +01:00
Bert Münnich
f3298400e6
Spawn and read from info script without blocking
2013-03-19 21:13:44 +01:00
Bert Münnich
bf41012493
Merge remote-tracking branch '4z3/set-user-specified-sizehints' into sizehints
...
Conflicts:
window.c
2013-02-09 01:21:57 +01:00
Bert Münnich
6d3bbc6d5e
Updated/corrected license header
2013-02-08 21:52:41 +01:00
tv
3f25b907bd
When using -g hint the WM that we've got user specified geometry
...
Without this some window managers (e.g. fvwm) will ignore the initial
window position and place it according to it's own rules.
2013-01-30 20:51:20 +01:00
muennich
d6a475e4b1
Simplified status bar, filled by user script
2013-01-12 23:40:16 +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
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
b418df7afc
Removed unneeded members from img type
2012-02-15 22:43:34 +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
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
b2a2a62b7b
Added own bool type
2011-09-11 21:01:24 +02:00
Bert
d585b86354
Reformated license header
2011-09-03 23:11:45 +02:00
Bert
8763f6930f
Corrected FSF address in license headers
2011-08-18 01:18:26 +02:00
Bert
49c580c84e
No more need for CLEANMASK macro
2011-08-12 17:14:28 +02:00
Bert
a271e16744
Reduced usage of preprocessor macros
2011-07-22 14:49:06 +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
955c39a5c5
Shorter typedefs
2011-03-01 14:23:09 +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
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
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
229830ad18
Replace -w with well-known geometry option
2011-01-30 22:00:58 +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
f47092cda2
Complete mouse support
2011-01-26 18:38:54 +01:00
Bert
2b1c0885fe
Implemented fullscreen mode
2011-01-23 16:14:41 +01:00
Bert
c7860b690b
Stricter object encapsulation
2011-01-21 12:57:35 +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
79c7e6178e
Render image on window
2011-01-18 20:11:28 +01:00
Bert
fb6411ab5c
Encapsulate window environment in win_env_t
2011-01-18 16:32:40 +01:00