summaryrefslogtreecommitdiff
path: root/src/mypixmap.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant codeAvinash Sonawane2021-12-091-3/+2
| | | | Found by: scan-build
* pixmap: Use a safer strncpy()Olivier Fourdan2020-12-121-2/+12
| | | | | | | | | | strncpy() may not copy the trailing NULL terminator and newer gcc warns about it. Add a safer strncpy() implementation which makes sure to always put a NULL terminator and mute gcc warning. Signed-off-by: Olivier Fourdan <fourdan@xfce.org>
* More XErrors trapsOlivier Fourdan2020-09-191-0/+6
| | | | | | | | | | | | | | | | | | Previously we would leak error traps in free_win_data() causing slowdowns overtime as the list of requests grows. While fixing the leak is crucial, it also unveiled several places where actual error traps are missing, causing xfwm4 to abort more often. Based on XErrors reported, the issue is triggered when freeing pixmaps or render pictures. Add more XErrors traps to catch those errors. Signed-off-by: Olivier Fourdan <fourdan@xfce.org> https://gitlab.xfce.org/xfce/xfwm4/-/issues/433 https://gitlab.xfce.org/xfce/xfwm4/-/issues/435 https://gitlab.xfce.org/xfce/xfwm4/-/issues/436
* cleanup: prefer zero initialized memory allocationOlivier Fourdan2020-08-081-3/+3
| | | | | | | | | Prefer using memory allocation functions which initialize the memory with 0's to be on the safe side. No functional change. Signed-off-by: Olivier Fourdan <fourdan@xfce.org>
* pixmap: Use strncpy()Olivier Fourdan2020-07-251-2/+2
| | | | | | To be on the safe side. Signed-off-by: Olivier Fourdan <fourdan@xfce.org>
* pixmap: Fix rendering without XRenderOlivier Fourdan2020-04-211-1/+1
| | | | | | | | | | | | Bug: 16713 Without XRender, the mask would be misrendered and completely transparent. As a result, the entire pixmap would become totally transparent and all window decorations become invisible. Signed-off-by: Olivier Fourdan <fourdan@xfce.org>
* trace: rework tracesOlivier Fourdan2018-03-311-8/+15
| | | | Make traces more consistent.
* pixmap: Avoid warning without iconOlivier Fourdan2018-01-211-0/+6
|
* Fix some build warningsViktor Odintsev2017-11-221-0/+2
|
* Implement cairo drawingViktor Odintsev2017-07-031-74/+97
|
* Switch back to bilinear interpolationOlivier Fourdan2015-01-241-2/+2
| | | | | | And apply saturation on iconified windows. Signed-off-by: Olivier Fourdan <fourdan@xfce.org>
* Add support for GTK frame extentsOlivier Fourdan2014-12-091-1/+1
| | | | | | | This is required for proper positionning and resizing of CSD windows from GTK3/GNOME. Signed-off-by: Olivier Fourdan <fourdan@xfce.org>
* Memory leak in pixmap codeOlivier Fourdan2011-10-281-0/+1
|
* Allow images without an alpha channel to be used in themes as wellOlivier Fourdan2011-01-261-1/+3
|
* Update copyright year.Olivier Fourdan2011-01-051-1/+1
|
* Mass update: Update (c) yearOlivier Fourdan2010-12-161-1/+1
|
* Don't fool with signedness ^_~Olivier Fourdan2009-09-101-6/+5
|
* Simplify the tabwin/cycle code,Olivier Fourdan2009-09-101-4/+5
| | | | Sanitize build with -Wall -Werror
* * src/events.c, : Fix user time not being taken from the user timeOlivier Fourdan2009-02-071-2/+2
| | | | | | | | | | window for apps which support that protocol, that was breaking focus stealing prevention for all gtk, src/focus.c: Do not automatically give focus to windows placed on lower layers, but focus those on upper layers at first map. (Old svn revision: 29456)
* * src/*.c, src/*.h: Update year.Olivier Fourdan2009-01-181-1/+1
| | | | (Old svn revision: 29275)
* Merge work from Stephan Arts <stephan@xfce.org> (Bug #4065)Olivier Fourdan2008-08-041-4/+4
| | | | (Old svn revision: 27421)
* Update FSF addressOlivier Fourdan2008-05-311-2/+4
| | | | (Old svn revision: 26999)
* Fix xfwm4 hanging with gtk+-2.11.x (Bug #3346) - Patch based on a similar ↵Olivier Fourdan2007-06-211-6/+1
| | | | | | fix for Metacity, see gnome bug #354213 (Old svn revision: 25830)
* Rework a bit the code for hilight and frame drawingOlivier Fourdan2007-06-121-1/+10
| | | | (Old svn revision: 25807)
* CleanupOlivier Fourdan2007-05-091-2/+2
| | | | (Old svn revision: 25698)
* Enlarge the menu button so that it's the same size as other buttons.Olivier Fourdan2006-10-251-2/+4
| | | | (Old svn revision: 23520)
* Remove dependency on micro version, rework error handling in pixbuf loading, ↵Olivier Fourdan2006-10-021-8/+1
| | | | | | add cancel option when cycling (bug #2373), and other fixes (Old svn revision: 23265)
* Set focus flag on windows initially mapped on other desktopsOlivier Fourdan2006-09-111-109/+109
| | | | (Old svn revision: 23128)
* Improve the fix for themes which are missing the menu button.Olivier Fourdan2006-08-211-0/+2
| | | | (Old svn revision: 22848)
* Fix frame repaint error caused by the removal of pixmap caching (Bug #2202), ↵Olivier Fourdan2006-08-211-0/+9
| | | | | | fix an issue with themes that miss that menu button. (Old svn revision: 22847)
* Plug a few leaksOlivier Fourdan2006-08-191-1/+1
| | | | (Old svn revision: 22836)
* Code cleanup.Olivier Fourdan2006-05-151-11/+23
| | | | (Old svn revision: 21694)
* Ignore hot spot definition as we don't use it in xfwm4, typos.Olivier Fourdan2006-05-111-19/+10
| | | | (Old svn revision: 21626)
* Fix rendering of pixmaps that don't have any transparency set.Olivier Fourdan2006-05-111-24/+38
| | | | (Old svn revision: 21625)
* Various typos.Olivier Fourdan2006-05-091-4/+4
| | | | (Old svn revision: 21604)
* jpeg or jpg? I choose jpg, also prefer gif to jpg or bmp as gif has a -1 ↵Olivier Fourdan2006-05-091-2/+1
| | | | | | bit- alpha channel. (Old svn revision: 21603)
* Add support for svg, png, bmp, gif, jpg file formats for themes components.Olivier Fourdan2006-05-091-37/+56
| | | | (Old svn revision: 21602)
* Get rid on libXpm dependency by reimplementing the XPM loader with color ↵Olivier Fourdan2006-05-081-27/+762
| | | | | | symbol substitution (beware, it's a pretty huge change, handle with care). (Old svn revision: 21595)
* Various bug and warning fixes.Olivier Fourdan2006-03-261-1/+1
| | | | (Old svn revision: 20586)
* Update copyright date and add propertiesOlivier Fourdan2006-02-181-1/+1
| | | | (Old svn revision: 19935)
* Rearrange init code of pixmaps.Olivier Fourdan2005-10-311-3/+5
| | | | (Old svn revision: 18571)
* Should fix the crash reported by Brian.Olivier Fourdan2005-10-311-10/+1
| | | | (Old svn revision: 18569)
* Add support for application icon in menu button.Olivier Fourdan2005-10-301-15/+47
| | | | (Old svn revision: 18536)
* IndentationOlivier Fourdan2005-09-251-2/+2
| | | | (Old svn revision: 17831)
* Fixes for ARGB/multiple depth windows.Olivier Fourdan2005-09-251-12/+37
| | | | (Old svn revision: 17820)
* Cache XRender picture and visual format to improve speedOlivier Fourdan2005-09-241-0/+25
| | | | (Old svn revision: 17809)
* Update datesOlivier Fourdan2005-06-201-1/+1
| | | | (Old svn revision: 16034)
* Code cleanupOlivier Fourdan2005-05-021-4/+0
| | | | (Old svn revision: 13878)
* [trivial] remove new lineOlivier Fourdan2005-04-141-1/+0
| | | | (Old svn revision: 13587)
* Fix pixmap depth not being properly set (fixes bug id #895)Olivier Fourdan2005-04-141-2/+4
| | | | (Old svn revision: 13585)