Bert Münnich
c280129cef
Use Xft for font loading and text drawing
8 år sedan
Bert Münnich
d3a70a285d
Revised error handling
- Functions warn() and die() replaced by GNU-like error(3) function
- Register cleanup() with atexit(3)
- Functions called by cleanup() are marked with CLEANUP and are not allowed to
call exit(3)
9 år sedan
Bert Münnich
851e4288c1
Prefix safe allocation functions with 'e' instead of 's_'
9 år sedan
Bert Münnich
e574a6d0dd
Removed feature test macro definitions from source files
9 år sedan
Bert Münnich
e0e96977b3
Removed overcautious parameter checks
9 år sedan
Bert Münnich
c33f2ad355
Corrected & refactored handling of window bar content...
Old snprintf calls could have overflowed the buffers.
10 år sedan
Bert Münnich
d0ba2c585d
Simplified thumbnail selection and marks
10 år sedan
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
10 år sedan
Bert Münnich
5d0679b855
Show key handler status in bar while it is running
10 år sedan
Bert Münnich
0b83386bff
Do not center window on screen, workaround for issue #9
10 år sedan
Bert Münnich
e685859a30
Use a checkerboard background for alpha layer; fixes issue #138
10 år sedan
Bert Münnich
72f1b1ca6f
Removed command line option -F
11 år sedan
Bert Münnich
524d9de877
Removed fit-win-to-img command
11 år sedan
Bert Münnich
2e758f78c1
Check if window manager supports fullscreen; related to issue #128
11 år sedan
Bert Münnich
e2fa49ecfe
Unified X atom initialization
11 år sedan
Bert Münnich
135c4f9263
Added window icons; fixes issue #125
11 år sedan
Bert Münnich
593da23cf3
Use bgcol as window background pixel; fixed issue #89
11 år sedan
Bert Münnich
aac28cce7a
Fixed non-ASCII characters in window bar, issue #88
11 år sedan
Bert Münnich
30802cec0f
Spawn info script & update bar contents only when needed
12 år sedan
Bert Münnich
f3298400e6
Spawn and read from info script without blocking
12 år sedan
Bert Münnich
1e2ddc44d8
No checks on window size, use whatever the user has specified
12 år sedan
Bert Münnich
a527025314
Correctly set window height after i_fit_to_img()
12 år sedan
Bert Münnich
cef8d51153
Refined US{Position,Size} & WinGravity handling
12 år sedan
Bert Münnich
f7301cf4f9
Correctly updated window pixmap after i_fit_to_img()
12 år sedan
Bert Münnich
08ae25da22
Refactored function definitions to use dangling brace
12 år sedan
Bert Münnich
6d3bbc6d5e
Updated/corrected license header
12 år sedan
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.
12 år sedan
muennich
d6a475e4b1
Simplified status bar, filled by user script
12 år sedan
Bert Münnich
22a8b66571
Fixed BadDrawable errors caused by invalid window pixmap
12 år sedan
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
12 år sedan
Bert Münnich
6f9b4f5b2e
New option: -N, set X window resource name
12 år sedan
Bert Münnich
d5f0a20de0
Fixed WMProtocols registration order (before mapping window)
12 år sedan
Bert Münnich
bca3666862
Fixed issue #47
13 år sedan
Bert Münnich
8ab3cee6a5
Fixed issue #44
13 år sedan
Bert Münnich
3238ef6bf6
Fixed issue #41 , added WIN_FS_COLOR to config.h
13 år sedan
Bert Münnich
ed2c9f7caa
Display full name in info bar, if there is enough space
13 år sedan
Bert Münnich
2d4264af28
Added option -b: disable bar
13 år sedan
Bert Münnich
c666d30eea
Added it_toggle_bar command; default mapping: XK_b
13 år sedan
Bert Münnich
d407dd65d5
Already in the year 2012
13 år sedan
Bert Münnich
b752d5c594
Added symbol BAR_SEPARATOR
13 år sedan
Bert Münnich
7177270c10
Changed default font string, removed missing fontset warnings
13 år sedan
Bert Münnich
b8458271fb
Added text bar on bottom of window
13 år sedan
Bert Münnich
36177fb180
Updated contact information
13 år sedan
Bert Münnich
8dcf682de9
Made all conditionals more precise
13 år sedan
Bert
b2a2a62b7b
Added own bool type
13 år sedan
Bert
6e575b0f72
Strict conformance to IEEE Std 1003.1-2001
13 år sedan
Bert
d585b86354
Reformated license header
13 år sedan
Bert
de6b58a315
Unified feature test macro requirements
13 år sedan
Bert
8763f6930f
Corrected FSF address in license headers
13 år sedan
Bert
b8ff1677b1
Major code refactoring
- Configurable key and mouse mappings in config.h
- Put event handling code from main.c into events.[ch]
13 år sedan