Commit Graph

4669 Commits

Author SHA1 Message Date
Kim Woelders 23872b2cac Simplify dialog data handling. 2014-04-29 19:42:15 +02:00
Kim Woelders 5fc86cc6ad Refactor dialog apply/exit handling.
Split into separate functions so we don't have to check on val all over
to figure out if it is one or the other.

This also avoids that the apply stuff may be done twice on exit a couple
of places.
2014-04-29 19:42:15 +02:00
Kim Woelders 7729a91424 Fix glitch in "Refactor background dialog data handling". 2014-04-29 19:42:04 +02:00
Kim Woelders 3179979226 Eliminate some use of EspawnApplication(). 2014-04-26 11:02:51 +02:00
Kim Woelders 71d85605f4 Exec/spawn function tweaks.
EexecCmd() -> Eexec().
Espawn() -> _Espawn().
EspawnCmd() -> Espawn().
2014-04-26 11:02:22 +02:00
Kim Woelders edfa30aeb1 Refactor group dialog data handling. 2014-04-26 11:01:55 +02:00
Kim Woelders 5656a9d806 Refactor background dialog data handling. 2014-04-26 10:14:06 +02:00
Kim Woelders 2bf2bfd88e Use initially created GC for various operations.
A general "root window GC" is fine for most operations needing one.
Using this we can avoid some GC caching and in certain situations
numerous GC create/use/destroy sequences.

As part of this the default GC subwindow_mode is changed to
IncludeInferiors, which reduces the number of places we need a
non-default GC.
2014-04-23 19:45:36 +02:00
Kim Woelders 4d1bde02ae Wrap XID and some other X types.
Mostly to change longs to ints to reduce memory footprint a bit on 64
bit systems.
2014-04-23 19:13:00 +02:00
Kim Woelders c74b331998 Tweak screen info printout. 2014-04-23 16:20:44 +02:00
Kim Woelders 1dab5ff5c2 Move EDBUG_TYPE_ANIM to where it belongs. 2014-04-23 16:20:43 +02:00
Kim Woelders ccfc04f813 Randr may report FPS = 0. 2014-04-23 11:19:51 +02:00
Kim Woelders b78b8f5b14 Avoid unnecessary FP calculation. 2014-04-23 11:19:50 +02:00
Kim Woelders 1d3c4bb49c Cosmetics (key->keysym). 2014-04-23 07:39:36 +02:00
Kim Woelders 9d9fa0edf5 Cosmetics (key->keycode). 2014-04-23 07:38:27 +02:00
Kim Woelders d1f00956aa Remove ancient unused code. 2014-04-23 07:35:07 +02:00
Kim Woelders c6e5a48817 Debug tweaks (pager). 2014-04-21 16:30:52 +02:00
Kim Woelders d1b7b142cf Wrap XDraw/FillRectangle. 2014-04-21 14:56:32 +02:00
Kim Woelders f334de50cf Change some operations to render ones. 2014-04-21 14:56:32 +02:00
Kim Woelders e48cfb2519 Simplify pager background update. 2014-04-21 14:56:32 +02:00
Kim Woelders 6bd90781c1 Move shape window stuff to separate header file. 2014-04-21 11:28:38 +02:00
Kim Woelders b3d41f5229 Fix potential use of freed pixmap. 2014-04-21 11:28:38 +02:00
Kim Woelders 91514a9427 Minor tweak in EXFillAreaSolid(). 2014-04-21 11:27:57 +02:00
Kim Woelders b78ee6c0b5 Minor simplifications in ImagestateDraw...() functions. 2014-04-21 11:24:59 +02:00
Kim Woelders 6ebf4fe167 Cosmetics. 2014-04-21 09:11:05 +02:00
Kim Woelders 1bd13ea812 Fix warnings with gcc 4.9.x. 2014-04-17 11:31:06 +02:00
Kim Woelders 65b58c07fc 1.0.14.000. 2014-04-14 20:49:36 +02:00
Kim Woelders 7c6271bdfb 1.0.14. 2014-03-29 13:08:11 +01:00
Kim Woelders 5ee85ecd1c 2014. 2014-03-29 13:08:11 +01:00
Kim Woelders 68753e0a35 Fix placement of transient dialogs. 2014-03-02 16:03:04 +01:00
Kim Woelders db285ed1dd Autofoo update (AC_PROG_LIBTOOL -> LT_INIT). 2014-02-16 10:53:50 +01:00
Kim Woelders 9fd422c459 1.0.13.004. 2014-02-15 14:43:51 +01:00
Kim Woelders 524a86e701 Update po. 2014-02-15 14:43:50 +01:00
maxerba 72aa0ce15c Updating serbian translation 2014-01-03 18:41:46 +01:00
Kim Woelders 872e4f57c5 Simplify/fix dialog layout code.
The widget and table coordinates were not properly aligned, potentially
causing some widgets (last in a table) to not be rendered properly in
certain themes.
2013-12-31 09:34:00 +01:00
Kim Woelders ce34edc4a3 Reduce nesting in DialogRealizeItem().
Also tweak some (disabled) debug messages.
2013-12-31 09:34:00 +01:00
Kim Woelders f16055966a Update po. 2013-12-29 09:53:21 +01:00
Kim Woelders b5fbc942ac Fix memory leak when changing area. 2013-12-29 08:59:39 +01:00
Kim Woelders a14e2978d8 Wrap some calls to XFillRectangle. 2013-12-29 08:59:39 +01:00
Kim Woelders 9cc77c09c3 Tweak error handler API. 2013-12-29 08:59:39 +01:00
Kim Woelders 248ec63e1e Wrap remaining XCopyArea calls. 2013-12-29 08:59:39 +01:00
Kim Woelders 6a61584f37 Use XCopyArea wrapper function. 2013-12-29 08:59:39 +01:00
Kim Woelders e1f062fff5 Use NoXID in stead of None. 2013-12-29 08:59:38 +01:00
Kim Woelders b7f11e473d Wrap the last XClearArea call. 2013-12-29 08:59:38 +01:00
Kim Woelders 94b5626c9a Trivial type fixes. 2013-12-29 08:59:38 +01:00
Kim Woelders 9fc7dc7f5e Header file tweaks and cosmetics.
Primarily, don't include Xlib.h from other headers than xtypes.h.
2013-12-29 08:59:38 +01:00
Kim Woelders 8afc7eca2e Remove some use of X11 Bool type/values. 2013-12-29 08:59:28 +01:00
Kim Woelders 8612edf52c Update po. 2013-12-28 00:32:22 +01:00
Kim Woelders 3e78ef48f8 Use our own window property functions in stead of various Xlib ones. 2013-12-28 00:26:00 +01:00
Kim Woelders 497b7b8c14 Use our own window property functions in stead of various Xlib ones. 2013-12-28 00:10:58 +01:00