forked from e16/e16
1
0
Fork 0
Commit Graph

2899 Commits

Author SHA1 Message Date
Kim Woelders 1edb1ff45d Revert incorrect fixes for menu related segvs.
- Don't set m->win to NULL.
- Remove unnecessary check for m->win.

SVN revision: 54049
2010-10-30 18:41:24 +00:00
Kim Woelders c45c753584 Avoid processing events belonging to a previous ewin for a client window.
This hopefully puts an end to various menu related segvs that have been causing
trouble since 1.0.3.

SVN revision: 54048
2010-10-30 18:41:22 +00:00
Kim Woelders 2493319624 Remove incorrect comment. Cosmetics.
SVN revision: 54047
2010-10-30 18:41:20 +00:00
Kim Woelders f4805ad117 Cosmetics.
SVN revision: 54046
2010-10-30 18:41:18 +00:00
Kim Woelders 534611b54d Debug stuff cleanups.
SVN revision: 54045
2010-10-30 18:41:15 +00:00
Kim Woelders 3cec1775de Fix restart (broken in 1.0.6).
SVN revision: 53931
2010-10-27 17:47:35 +00:00
Kim Woelders 4e4a1a3096 Correct recent composite/shape fixes and fix some more related issues.
SVN revision: 53881
2010-10-25 17:45:01 +00:00
Kim Woelders ace6e84b86 Add ERegionIntersectOffset().
SVN revision: 53880
2010-10-25 17:44:59 +00:00
Kim Woelders a0cd34e2d6 Fix compositing bug (shaped ghost windows).
Moving the magnifier when theme has shaped borders was causing major uglyness.

SVN revision: 53834
2010-10-24 14:33:17 +00:00
Kim Woelders 1a62a504e7 Add some missed 2010s.
SVN revision: 53833
2010-10-24 14:33:14 +00:00
Kim Woelders 94bdab5de8 Fix rendering of argb windows in pager when compositing is enabled.
SVN revision: 53809
2010-10-23 10:22:56 +00:00
Kim Woelders d3895d6eec Move some code lines.
SVN revision: 53808
2010-10-23 10:22:54 +00:00
Kim Woelders 15ede64ea1 Introduce PmapMaskInit().
SVN revision: 53807
2010-10-23 10:22:52 +00:00
Kim Woelders 288a6c0541 FreePmapMask() -> PmapMaskFree().
SVN revision: 53806
2010-10-23 10:22:50 +00:00
Kim Woelders e499558af7 Fix rendering of translucent shaped windows.
Once upon a time this did work. It looks like
XRenderComposite(... PictOpOver ...) no longer respects the shape of
a window based source picture. Setting clip on it seems entirely broken.
There were problems anyway when setting use_name_pixmap, and this fix
seems to take care of it all.

SVN revision: 52655
2010-09-23 21:49:24 +00:00
Kim Woelders 28450a10ee Fix potential crash when destroying menus.
Could be triggered by right click on pager, select settings.

SVN revision: 52549
2010-09-21 18:49:32 +00:00
Kim Woelders 1c0f62e99f Trivial cleanup.
SVN revision: 52548
2010-09-21 18:49:30 +00:00
Lucas De Marchi 59ea1f071d Fix typo
nto->not where appropriate



SVN revision: 52494
2010-09-20 17:17:04 +00:00
Lucas De Marchi f6e7ef6d79 Fix typos
"he->the" where appropriate



SVN revision: 52493
2010-09-20 17:09:13 +00:00
Kim Woelders e5fd2ed36e Fix deriving configuration file names with libX11-1.4.
It seems that DisplayString in libX11-1.4 (1.3.99.901, at least) may
return e.g. ":0" where it would return ":0.0" in earlier releases.
Hmm...

This would break the naming of the configuration file prefix.

SVN revision: 52108
2010-09-09 21:19:48 +00:00
Kim Woelders fb6c2cc964 Keep on-screen windows requesting resize on screen.
Suggested by José Romildo Malaquias.

SVN revision: 51951
2010-09-07 15:28:06 +00:00
Kim Woelders 51e8309edb Fix potential crash in menu key press handling.
Could happen e.g. when pressing 'esc' while sliding.

SVN revision: 51945
2010-09-07 14:34:36 +00:00
Kim Woelders 5a98c9373e Indent.
SVN revision: 51725
2010-08-29 13:45:57 +00:00
Sebastian Dransfeld 652510db74 Check y component too
SVN revision: 51722
2010-08-29 10:59:26 +00:00
Lucas De Marchi ed721d79ca Apply double_condition_check.cocci
The offending projects were:

 E16/e/src/backgrounds.c                 |   10 ++++------
 PROTO/eon/src/lib/layout/eon_stack.c    |    4 +---
 ecore/src/lib/ecore_win32/ecore_win32.c |    3 +--
 ecore/src/lib/ecore_wince/ecore_wince.c |    3 +--
 edje/src/lib/edje_edit.c                |    3 +--
 evas/src/lib/cache/evas_cache_image.c   |    2 +-
 exalt/src/lib/libexalt_private.c        |    2 +-


This patch assumes code in these places were insane and the fix is to remove
one condition check. Most likely this is not true, but there's no automatic fix
for that.

Looking at the patch, it seems that some places should use "x" and "y" vars but
used just one of them and therefore they were caught by coccinelle.




SVN revision: 51666
2010-08-26 20:45:09 +00:00
Kim Woelders c7b7bb107e Another attempt to fix pointer focus breakage.
SVN revision: 51582
2010-08-23 16:55:46 +00:00
Kim Woelders a0e1b55b37 Fix unpacking theme from .etheme file. Has been broken since 1.0.2.
SVN revision: 51518
2010-08-22 14:30:41 +00:00
Kim Woelders 9e11dff4e4 Call XRRUpdateConfiguration on RRScreenChangeNotify.
SVN revision: 51495
2010-08-21 14:43:59 +00:00
Kim Woelders 7097f69ead Collect XF86VidMode stuff.
SVN revision: 51494
2010-08-21 14:43:57 +00:00
Kim Woelders 47eeb79d54 In pager "live" mode (compositing enabled), reflect window transparency in pagers.
Noted by Ted Baltz.
Doesn't work properly for argb windows.

SVN revision: 51493
2010-08-21 14:40:01 +00:00
Kim Woelders d46cb831a2 Add EPictureCreatePmap() and EPictureDestroy().
SVN revision: 51492
2010-08-21 14:39:59 +00:00
Kim Woelders 24e722480a Add ECompMgrWinGetAlphaPict().
SVN revision: 51491
2010-08-21 14:39:57 +00:00
Kim Woelders 7aab9bea4b Indent.
SVN revision: 51490
2010-08-21 14:39:55 +00:00
Lucas De Marchi f287759d3e Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
Kim Woelders b9f34cb152 Place new fullscreen windows on xinerama screen containing pointer (unless aleady placed).
Suggested by James Bowlin.

SVN revision: 51471
2010-08-20 22:32:56 +00:00
Kim Woelders 22306dfe2b Fix fullscreening when client has bogus aspect ratio hints.
Just ignore aspect ratio hints when entering fullscreen mode.
Fixes trouble with mplayer for certain combinations of movie format
and screen size.
Noted by James Bowlin.

SVN revision: 51470
2010-08-20 20:07:08 +00:00
Kim Woelders 7d24995988 Attempt to fix sloppy focus breakage on desks other than first.
Focus was being switched back to mouse-over window.
Noted by Ted Baltz.

SVN revision: 51354
2010-08-18 21:16:54 +00:00
Kim Woelders 8fbf449223 Keep windows on one xinerama screen when placing under mouse.
Suggested by James Bowlin.

SVN revision: 51353
2010-08-18 21:16:51 +00:00
Kim Woelders 36caf0654f Fix resizing when using H/V handles and client has aspect ratio limits.
E.g. pagers.

SVN revision: 51132
2010-08-15 14:57:00 +00:00
Kim Woelders c517a00f0b Indent.
SVN revision: 51100
2010-08-13 21:05:00 +00:00
Lucas De Marchi 4d4401c5d3 Apply badzero.cocci, badnull.cocci and badnull2.cocci
Since badzero.cocci depends on coccinelle knowledge about a variable being a pointer
and about a function returning a pointer, maybe there are false negatives.



SVN revision: 51092
2010-08-13 17:04:13 +00:00
Kim Woelders 6bcde2a2b8 Fix segv when menu is created shortly after being destroyed (noted by BitJam).
Could be triggered by left/right clicking the magnifier window border.
Could also be triggered with "while true; do eesh menus show file.menu; done".

SVN revision: 51020
2010-08-11 19:13:14 +00:00
Kim Woelders 131f907194 Add a bit of debug.
SVN revision: 51019
2010-08-11 19:13:11 +00:00
Lucas De Marchi b7564263ad Do not compare pointers to 0
SVN revision: 50973
2010-08-10 19:24:38 +00:00
Kim Woelders 4ac03926da Adjustments for indent 2.2.11.
SVN revision: 50909
2010-08-08 19:03:34 +00:00
Kim Woelders 7dec215508 Re-add ~/.e16 to icon search path.
SVN revision: 50843
2010-08-05 21:17:25 +00:00
Kim Woelders ab66955259 Fix changing move/resize modes in dialog.
SVN revision: 50840
2010-08-05 17:53:57 +00:00
Kim Woelders fbe7f5d2e3 Add sanity check in BorderCreateFiller().
SVN revision: 50839
2010-08-05 17:53:54 +00:00
Kim Woelders 3881d715f8 Enable showing outline for window selected in focuslist.
SVN revision: 50660
2010-07-29 20:39:34 +00:00
Kim Woelders 0da5d0c918 Move "shape window" code to separate file.
SVN revision: 50659
2010-07-29 20:39:30 +00:00