Commit Graph

1108 Commits

Author SHA1 Message Date
Christopher Jeffrey c39010197b ignore WINTYPE_UNKNOWN when determining wintype 2012-01-15 09:19:46 -06:00
Christopher Jeffrey 51e2eec823 add WINTYPE_UNKNOWN to prevent segfaults 2012-01-15 05:02:24 -06:00
Christopher Jeffrey 71d7352659 fix potential segfault 2012-01-14 13:02:58 -06:00
Christopher Jeffrey 01e978a512 ignore override_redirect windows for XSelectInput and get_frame_extents calls 2012-01-14 10:12:54 -06:00
Christopher Jeffrey a6afff2c4a fix potential segfault in win_extents 2012-01-14 09:37:32 -06:00
Christopher Jeffrey b9dbf7701b install trans script as settrans 2012-01-10 14:51:09 -06:00
Christopher Jeffrey 5206eaba74 improvements to trans script 2011-12-23 00:01:17 -06:00
Christopher Jeffrey 1e2bb55744 disable fading opacity changes 2011-12-09 08:48:56 -06:00
Christopher Jeffrey 48e0eccbbc clean makefile, add transset script 2011-12-07 12:35:22 -06:00
Christopher Jeffrey cc7adcd175 fix uninstall in makefile 2011-12-05 06:52:11 -06:00
Christopher Jeffrey 9577fcd344 fix readme 2011-11-16 00:12:42 -06:00
Christopher Jeffrey 2cb499de0b add options to readme 2011-11-16 00:04:38 -06:00
Christopher Jeffrey fd4e9bff7b paint shadows according to opacity, remove commented code 2011-11-15 23:55:11 -06:00
Christopher Jeffrey adadcb92ac add set_opacity, fix focus behavior 2011-11-15 23:41:44 -06:00
Christopher Jeffrey e7ee7018a4 readme, etc 2011-11-06 22:03:18 -06:00
Christopher Jeffrey f46a8d06bf whitespace, license 2011-11-06 19:58:30 -06:00
Christopher Jeffrey b87efad014 fix gcc warning, have shadows be explicitly enabled 2011-11-06 19:29:23 -06:00
Christopher Jeffrey de8b773387 clean tree 2011-11-06 18:20:45 -06:00
Christopher Jeffrey 5f63244a81 macros to make things more intelligible 2011-11-06 16:34:33 -06:00
Christopher Jeffrey 69f003348b Merge branch 'frame_opacity' 2011-11-05 22:59:20 -05:00
Christopher Jeffrey cde4d0c75f complete frame opacity 2011-11-05 22:58:43 -05:00
Christopher Jeffrey d8b437aca3 frame opacity 2011-11-05 21:39:58 -05:00
Christopher Jeffrey 4ef58758c5 add option for inactive opacity value, whitespace 2011-11-05 07:00:39 -05:00
Christopher Jeffrey fbc6d7da0b whitespace 2011-11-05 03:19:29 -05:00
Christopher Jeffrey 7ab9b06a04 fix segfault on focusout 2011-11-04 15:11:31 -05:00
Christopher Jeffrey 47d61d34ae add readme 2011-11-04 13:52:05 -05:00
Christopher Jeffrey 0732a19af2 fix compiler warnings 2011-11-04 13:30:53 -05:00
Christopher Jeffrey a73d02c6a8 implement inactive window transparency 2011-11-04 12:02:17 -05:00
Christopher Jeffrey c50fdf4fd4 more whitespace 2011-11-04 05:16:15 -05:00
Christopher Jeffrey 7d17fcdf1e fix memory leak 2011-11-04 04:14:14 -05:00
Christopher Jeffrey b0608d0c7c allow shadows on argb windows 2011-11-04 03:59:51 -05:00
Christopher Jeffrey 6c9166c36f major refactor, removed other shadow modes 2011-11-04 03:44:48 -05:00
Christopher Jeffrey 4c3bf853f3 whitespace 2011-11-04 02:08:34 -05:00
Javeed Shaikh e89fafef57 Allow the user to specify offsets for server-side (hard) shadows. 2008-02-20 15:45:48 -05:00
Dana Jansens c69769f0ae More fixing for fade-outs.
When a window is destroyed, always override the fade out so that the finish_destroy_win function can be called.
When a ConfigureNotify event is processed on an unmapped window, don't set the clipChanged = True.  Fixes unmap->configure causing flashing during the fade-out.
2008-02-20 11:35:44 -05:00
Dana Jansens f717d14a38 Ignore some X errors that can occur in normal use 2008-02-20 11:35:40 -05:00
Dana Jansens 9339584771 Fix races that occur when a window id is destroyed and recreated very quickly. This behaviour happens when restarting the window manager.
Don't use windows that are destroyed when restacking other windows or when handling events on a window id.  It is possible for the same window id to appear in the window list multiple times if it is destroyed then created before the destroy fade-out completes.
2008-02-20 00:42:46 -05:00
Dana Jansens dde2509cdc Plug 3 memory leaks, and make fading windows always draw so that fast desktop changing doesn't make windows become invisible. 2008-02-15 19:01:37 -05:00
Dana Jansens 27ca5f291c Save ConfigureNotify events for unmapped windows until the window maps. If a window moves while it is unmapped, it should not affect its fade-out.
A window can move/resize while it is fading out.  Even if you don't delete the pixmap in that case, the fade-out will be shown in the wrong place and the wrong area on screen will be marked damaged when the window is gone without this patch.
2008-02-15 11:12:54 -05:00
Dana Jansens db45bafdc4 register the _NET_WM_CM_S hint with the correct screen number 2008-02-15 10:46:01 -05:00
Dana Jansens c213ab27ff Remove some spurious code
If the window is fading out, then the new fade-in will execute the finish_unmap/destroy, and that will kill the pixmap already.
2008-02-15 10:46:01 -05:00
Dana Jansens 873402251a Make shadows, fading, and opacity based on the window type. Add support for the extended window type atoms. Add a "-m" option to set opacity for menu windows. 2008-02-15 10:45:55 -05:00
Dana Jansens 398f722ce1 Fix some rare memory leaks and behaviour when a mapped window is reparented away from root
When a window that is mapped is reparented away from root, that is the same as it being completely unmapped+destroyed from our persective.  The window will no longer be in the same position on screen, and we will no longer want to listen to events on it.
Prior to this, the w->pixmap would not be freed when a mapped window was reparented away from root, and damage would not be updated for the screen correctly.
2008-02-14 17:35:55 -05:00
Dana Jansens 2c1a928e59 Fixes for window fade-outs
When a window resizes while it is unmapped, don't destroy it's pixmap, as that kills and fade going on.
If a window is already unmapped (and therefore already fading out, don't override the fadeout with a new one when the window is destroyed.
When a window maps, if it already has a pixmap, this is stale data, so free it so that a new pixmap can be retrieved from the newly mapped window.
2008-02-14 17:13:05 -05:00
Dana Jansens 73f6ed3310 Fix a server resource leak on destroying windows. 2008-02-13 11:24:32 -08:00
Jamey Sharp 80754042c6 Bug #13073: Fix broken word-wrapping in ChangeLog generation.
Thanks to Peter Dyballa <Peter_Dyballa@Freenet.DE> for pointing out the
bug.
2007-11-05 09:32:44 -08:00
James Cloos 733e29ba0e Add *~ to .gitignore to skip patch/emacs droppings 2007-09-03 05:51:17 -04:00
James Cloos f88dba2d9c Remove deprecated .cvsignore
The repo already has a .gitignore, so just rm the old .cvsignore.

Also removed a blank line from .gitignore.
2007-08-23 21:21:52 -04:00
Tilman Sauerbeck de60732aff Make this loop slightly easier to read. 2007-03-12 14:44:31 +01:00
Tilman Sauerbeck fa689d8b38 Constified some variables. 2007-03-12 14:24:33 +01:00