Bert Münnich
c33f2ad355
Corrected & refactored handling of window bar content...
Old snprintf calls could have overflowed the buffers.
pirms 10 gadiem
Bert Münnich
d0ba2c585d
Simplified thumbnail selection and marks
pirms 10 gadiem
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
pirms 10 gadiem
Bert Münnich
e685859a30
Use a checkerboard background for alpha layer; fixes issue #138
pirms 10 gadiem
Bert Münnich
72f1b1ca6f
Removed command line option -F
pirms 11 gadiem
Bert Münnich
524d9de877
Removed fit-win-to-img command
pirms 11 gadiem
Bert Münnich
2e758f78c1
Check if window manager supports fullscreen; related to issue #128
pirms 11 gadiem
Bert Münnich
e2fa49ecfe
Unified X atom initialization
pirms 11 gadiem
Bert Münnich
f3298400e6
Spawn and read from info script without blocking
pirms 12 gadiem
Bert Münnich
6d3bbc6d5e
Updated/corrected license header
pirms 12 gadiem
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.
pirms 12 gadiem
muennich
d6a475e4b1
Simplified status bar, filled by user script
pirms 12 gadiem
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
pirms 12 gadiem
Bert Münnich
3238ef6bf6
Fixed issue #41 , added WIN_FS_COLOR to config.h
pirms 13 gadiem
Bert Münnich
ed2c9f7caa
Display full name in info bar, if there is enough space
pirms 13 gadiem
Bert Münnich
b418df7afc
Removed unneeded members from img type
pirms 13 gadiem
Bert Münnich
c666d30eea
Added it_toggle_bar command; default mapping: XK_b
pirms 13 gadiem
Bert Münnich
d407dd65d5
Already in the year 2012
pirms 13 gadiem
Bert Münnich
b752d5c594
Added symbol BAR_SEPARATOR
pirms 13 gadiem
Bert Münnich
b8458271fb
Added text bar on bottom of window
pirms 13 gadiem
Bert Münnich
36177fb180
Updated contact information
pirms 13 gadiem
Bert
b2a2a62b7b
Added own bool type
pirms 13 gadiem
Bert
d585b86354
Reformated license header
pirms 13 gadiem
Bert
8763f6930f
Corrected FSF address in license headers
pirms 13 gadiem
Bert
49c580c84e
No more need for CLEANMASK macro
pirms 13 gadiem
Bert
a271e16744
Reduced usage of preprocessor macros
pirms 13 gadiem
Bert
d15264ea32
Remove invalid images when loading them; refactorings
pirms 13 gadiem
Bert
55659ffcc3
Use imlib-handles in thumbs.c instead of pixmaps
pirms 14 gadiem
Bert
d982b06eed
White background for images with alpha
pirms 14 gadiem
Bert
955c39a5c5
Shorter typedefs
pirms 14 gadiem
Bert
fde9f5bf85
Hide cursor on redraw or after 1.5s mouse inactivity
pirms 14 gadiem
Bert
ef24ded6af
Highlight selected thumbnail
pirms 14 gadiem
Bert
783213c0bb
Use watch-cursor while loading thumbnails
pirms 14 gadiem
Bert
26c2179be7
Refactored thumbs, new files thumbs.[ch]
pirms 14 gadiem
Bert
8919204a2e
Render thumbnails
pirms 14 gadiem
Bert
7b49740613
First things for thumbnail mode
pirms 14 gadiem
Bert
d731741f04
Handle WM_DELETE_WINDOW messages correctly, thanks to fungt
pirms 14 gadiem
Bert
603e664f7c
Nicer fit window to image
pirms 14 gadiem
Bert
8339bb7ee7
New key mapping: W, resize window to fit image
pirms 14 gadiem
Bert
229830ad18
Replace -w with well-known geometry option
pirms 14 gadiem
Bert
c52c4fa69e
Mouse-panning while pressing button2
pirms 14 gadiem
Bert
8123d63c5b
Added plenty lots of options
pirms 14 gadiem
Bert
f47092cda2
Complete mouse support
pirms 14 gadiem
Bert
2b1c0885fe
Implemented fullscreen mode
pirms 14 gadiem
Bert
c7860b690b
Stricter object encapsulation
pirms 14 gadiem
Bert
029e1208b9
No more expose handling
pirms 14 gadiem
Bert
08018427c6
Put some useful information in the window title
pirms 14 gadiem
Bert
79c7e6178e
Render image on window
pirms 14 gadiem
Bert
fb6411ab5c
Encapsulate window environment in win_env_t
pirms 14 gadiem
Bert
47d107edb5
React to ConfigureNotify
pirms 14 gadiem