Commit Graph

349 Commits

Author SHA1 Message Date
Kim Woelders e01bbc1421 Fix issue with placement of windows present before e16 is started.
SVN revision: 42101
2009-08-30 14:04:31 +00:00
Kim Woelders 2ec0640a1c Add some window size sanity checks.
SVN revision: 41594
2009-08-04 16:11:44 +00:00
Kim Woelders afabf24589 Remove cruft.
SVN revision: 41593
2009-08-04 16:11:38 +00:00
Kim Woelders cdaddb3376 Remove unused parameter.
SVN revision: 41510
2009-07-27 16:46:54 +00:00
Kim Woelders bb53ec7781 Fix size (container window shape) of windows resized by a window match.
SVN revision: 41106
2009-06-18 20:04:27 +00:00
Kim Woelders 64311e0acb Enable move/resize using keyboard.
SVN revision: 39015
2009-02-14 11:09:06 +00:00
Kim Woelders b18416800b Prepare for move/resize using keyboard.
SVN revision: 39014
2009-02-14 11:09:03 +00:00
Kim Woelders 9fc923f6ab Add autoshade window option (suggested by Don Harrop).
SVN revision: 38883
2009-02-01 10:15:13 +00:00
Kim Woelders fb522bde1f Tweak Grab/UngrabButtonGrabs prototype.
SVN revision: 37834
2008-11-27 20:15:23 +00:00
Kim Woelders 619b95c289 Indent.
SVN revision: 37675
2008-11-16 17:20:30 +00:00
Kim Woelders 70bdea29ed Update donthide state if window properties change.
SVN revision: 37665
2008-11-15 14:16:28 +00:00
Kim Woelders cbe16b83b0 Tweak "wop alone" and "show desktop" window selection.
SVN revision: 37599
2008-11-12 18:59:52 +00:00
Kim Woelders d2d5df5969 Add winop "alone" to iconify windows on desktop excexpt the selected one
(patch by Pietro Cerutti).


SVN revision: 37535
2008-11-07 19:50:57 +00:00
Kim Woelders 5986de532a A bit more consistent naming and minor cleanup (snaps).
SVN revision: 36782
2008-10-18 16:00:14 +00:00
Kim Woelders 9a10eee2c1 Fix build on Solaris 10 (Don Harrop).
SVN revision: 36505
2008-10-07 19:41:57 +00:00
Kim Woelders ee094afa72 Cleanups around closing internal windows.
SVN revision: 35390
2008-08-07 23:17:04 +00:00
Kim Woelders 08a86c83af Fix various gravity issues.
SVN revision: 35069
2008-07-11 19:38:18 +00:00
Kim Woelders 880b149f23 Correctly place/size new apps requesting _NET_WM_STATE_MAXIMIZED_...
SVN revision: 34892
2008-06-22 22:26:00 +00:00
Kim Woelders 70ad8a0f38 Enable not using ARGB frame for ARGB clients (selected by window match).
SVN revision: 34755
2008-06-05 17:59:51 +00:00
Kim Woelders ced10e2311 Change some values to defines.
SVN revision: 34754
2008-06-05 17:45:01 +00:00
Kim Woelders 3e237fb247 Enable fading/shadow when desired (in stead of disabling when not).
SVN revision: 34753
2008-06-05 17:42:59 +00:00
Kim Woelders fd39d6628a Simplify shape functions.
SVN revision: 34745
2008-06-05 08:55:21 +00:00
Kim Woelders 1dad1ef28f Simplify timers.
SVN revision: 34656
2008-05-24 18:13:17 +00:00
Kim Woelders 26f7112636 Remove/comment out unused stuff.
SVN revision: 34533
2008-05-10 23:22:31 +00:00
Kim Woelders 6eaca2639c Eliminate redundant VRoot vars.
SVN revision: 34106
2008-03-24 11:12:40 +00:00
Kim Woelders 45ae68ae79 Eliminate redundant RRoot variables.
SVN revision: 34105
2008-03-24 10:24:28 +00:00
Kim Woelders e9230a8aa5 Eliminate Constraints.
SVN revision: 34104
2008-03-24 09:47:50 +00:00
Kim Woelders e7f01c2d6f Add -brs to indent profile.
SVN revision: 34096
2008-03-23 11:54:24 +00:00
Kim Woelders c4b035680b Cleanups.
SVN revision: 34085
2008-03-22 15:00:07 +00:00
Kim Woelders 137c4f8aba Add shadow and fading flags to the remembered flag list.
SVN revision: 34006
2008-03-12 22:27:03 +00:00
Kim Woelders 0a05aafc82 Assume free(0) is ok (if not HAVE_FREE_NULL_BUG will have to be defined).
SVN revision: 33818
2008-02-23 12:09:38 +00:00
Kim Woelders c9b1c47dfe Stuff for checking if various XSync's are really needed.
SVN revision: 33741
2008-02-13 21:31:29 +00:00
Kim Woelders 5ab71de162 Cleanups.
SVN revision: 33740
2008-02-13 20:51:00 +00:00
Kim Woelders 11164d37fb Add configuration of default opacities.
SVN revision: 33724
2008-02-10 20:21:53 +00:00
Kim Woelders 86f6b7dec7 Add a number of window flags to the remembered flag list.
SVN revision: 33672
2008-02-03 17:08:38 +00:00
Kim Woelders 62a6c2150e Prepare for handling additional window flags in snapshots/across restart.
SVN revision: 33671
2008-02-03 17:03:23 +00:00
Kim Woelders 53b7d488ef Introduce EwinWarpTo().
SVN revision: 33535
2008-01-19 13:44:54 +00:00
Kim Woelders c3fc3050ec Don't set mouse-over win on desk enter, should be handled via enter events.
SVN revision: 33534
2008-01-19 13:38:51 +00:00
Kim Woelders 90110fc471 Eliminate obsolete EventsConfigure stuff.
SVN revision: 33533
2008-01-19 13:32:30 +00:00
Kim Woelders 942e108d71 Fix more breakage around window movement.
SVN revision: 33225
2007-12-24 00:04:55 +00:00
Kim Woelders 967903fbad Fix incorrect tracking of pointer motion when dragging window (noted by Jon Foster).
SVN revision: 33196
2007-12-21 22:04:55 +00:00
Kim Woelders ee2f91f7c5 Fix application resize locking.
SVN revision: 32983
2007-12-04 21:13:25 +00:00
Kim Woelders 05086b00f3 Don't mask off events while switching area/desk. The amount of enter/leave
events during switches has been reduced considerably, and changing the event
masks causes more trouble than worth while (I think...).


SVN revision: 30944
2007-07-23 18:59:42 +00:00
Kim Woelders a9e89ce1d8 Fix showing root window tooltips (broken recently).
SVN revision: 30894
2007-07-18 11:09:49 +00:00
Kim Woelders c6ef57d637 Fix set/unset of raise grabs in certain situations.
SVN revision: 30758
2007-07-11 09:30:58 +00:00
Kim Woelders 929d220cbb Simplify initial window management at startup (fix initially iconified).
SVN revision: 30755
2007-07-11 09:16:46 +00:00
Kim Woelders c093e8c957 Move some window property derivation to allow tweaking stuff in snapshots.
SVN revision: 30754
2007-07-11 09:14:12 +00:00
Kim Woelders d85b5d77e2 Simplify initial window management at startup.
SVN revision: 30750
2007-07-11 09:05:43 +00:00
Kim Woelders 698869fa54 Eliminate some pointer event processing.
SVN revision: 30748
2007-07-11 08:54:19 +00:00
Kim Woelders de1e2af094 Disable slide-ins until startup windows are gone.
SVN revision: 30371
2007-06-17 08:33:22 +00:00
Kim Woelders 4c80c1de2a Fix window sliding in new boxed mode.
SVN revision: 30341
2007-06-16 08:41:53 +00:00
Kim Woelders 4e1398d8a4 Move argb bit from Eobj down to Win struct.
SVN revision: 30040
2007-05-20 08:08:59 +00:00
Kim Woelders 848f5195a3 Oops - fix crash when closing internal window.
SVN revision: 30028
2007-05-18 22:46:44 +00:00
Kim Woelders 9d9e4686e7 Fix several issues around setting internal window title/class.
SVN revision: 30022
2007-05-18 21:18:24 +00:00
Kim Woelders ea321254c3 Cleanups around unused SM_CLIENT_ID property.
SVN revision: 29559
2007-04-16 20:31:33 +00:00
Kim Woelders d9d96086f7 Don't use atom name in property change processing.
SVN revision: 29557
2007-04-16 16:36:10 +00:00
Kim Woelders 225f169b20 Split client message processing into client and root message parts.
SVN revision: 29536
2007-04-15 14:34:46 +00:00
Kim Woelders 7965494d63 Minor reorganization of internal window ops.
SVN revision: 29428
2007-04-06 21:44:22 +00:00
Kim Woelders 7b951769f7 Fix resizing normal->maximized->fullscreen and back.
Fix preserving maximised state across restart.


SVN revision: 28787
2007-03-17 15:49:41 +00:00
Kim Woelders 0ea436497d Move/rename some functions.
SVN revision: 28558
2007-03-04 23:25:11 +00:00
Kim Woelders f53600e1e8 Cleanups, enable compiling everything as if it were C++.
SVN revision: 28022
2007-01-17 01:10:44 +00:00
Kim Woelders 01d8e455b3 Add more sanity checks in client container event handler.
SVN revision: 27985
2007-01-15 02:19:05 +00:00
Kim Woelders a70fdcfb70 Fix segv in some obscure client exit scenarios involving reparent/destroy.
SVN revision: 27984
2007-01-15 00:29:17 +00:00
Kim Woelders 83bcbbaee1 2007.
SVN revision: 27952
2007-01-13 19:14:29 +00:00
Kim Woelders 056a824115 Remove unneeded grab parameter (we always grab).
SVN revision: 27935
2007-01-13 01:41:34 +00:00
Kim Woelders 67882e6394 Minor reorganisation of some ewin internals.
SVN revision: 27574
2006-12-27 16:17:27 +00:00
Kim Woelders 6fed0108ad Clean up move/resize event handling.
SVN revision: 27218
2006-11-26 17:10:40 +00:00
Kim Woelders 07ca8444cd Enable matching override-redirect windows by WM_CLASS.
SVN revision: 27214
2006-11-26 14:40:05 +00:00
Kim Woelders e7dfb7595b Rewrap more stuff related to WM_NAME/CLASS.
SVN revision: 27213
2006-11-26 12:42:05 +00:00
Kim Woelders d31b01dfee EwinGetName -> EwinGetTitle.
SVN revision: 27212
2006-11-26 11:30:59 +00:00
Kim Woelders 9590bdc739 Bad - revert.
SVN revision: 27187
2006-11-20 17:32:12 +00:00
Kim Woelders 63a8acc721 Split up, shuffle around, rename.
SVN revision: 27181
2006-11-19 21:55:52 +00:00
Kim Woelders e1d074a76c Move move/resize event handling to more appropriate location.
SVN revision: 27180
2006-11-19 20:43:28 +00:00
Kim Woelders d8dcbc390b Enable setting focused/non-focused opacity independently.
- Based on patch from Grant Wier.


SVN revision: 26934
2006-11-03 23:44:32 +00:00
Kim Woelders ebf31bd1e5 Ignore bogus unmap events (before window is mapped) and synthetic unmap events.
- Either would fix trouble with misbehaving client (gnome-terminal
  configuration window).


SVN revision: 26932
2006-11-03 19:29:17 +00:00
Kim Woelders 61d37a137e Center unplaced dialogs on "parent"(if transient) or root.
SVN revision: 26802
2006-10-26 20:25:30 +00:00
Kim Woelders 93f5215b2a Remove duplicate const.
SVN revision: 26429
2006-10-08 14:54:20 +00:00
Kim Woelders 07acdc4c7a Trivial re-wrapping of XQueryPointer().
SVN revision: 25092
2006-08-24 21:52:28 +00:00
Kim Woelders b582007fa1 Fix some segv's in obscure situations.
SVN revision: 24450
2006-08-07 23:26:36 +00:00
Kim Woelders ca544e09ba Change som macros to functions, adding check to avoid segv in certain (debug) situations.
SVN revision: 24444
2006-08-07 20:26:05 +00:00
Kim Woelders 32eed4b5a2 Rename some macros (_Ewin...) for consistency.
SVN revision: 24442
2006-08-07 20:20:16 +00:00
Kim Woelders 2157a8c9ad Fix window stack getting messed up due to bug in handling of particular case
of misbehaving clients (yet another variant of unmap/map without waiting for
withdrawal).


SVN revision: 23837
2006-07-11 03:05:30 +00:00
Kim Woelders aee9424bc1 ARGB window tweaks and testing stuff.
SVN revision: 23145
2006-06-03 14:11:34 +00:00
Kim Woelders 10cac01945 Avoid useless operations on destroyed windows.
SVN revision: 23101
2006-06-02 22:53:23 +00:00
Kim Woelders 5e65f016d0 Shuffle some stuff around. Add function to find ARGB visual.
SVN revision: 23057
2006-06-01 20:18:40 +00:00
Kim Woelders 23a891cbf8 Eliminate obsolete ARGB client mode selection hack.
SVN revision: 22807
2006-05-21 12:17:57 +00:00
Kim Woelders 61946c7db1 Eliminate a number of attribute fetches.
SVN revision: 22806
2006-05-21 12:09:14 +00:00
Kim Woelders 12adaa0f68 Fix killing clients (hmm... was broken quite a while back).
SVN revision: 22651
2006-05-16 16:51:26 +00:00
Kim Woelders 866d795c13 Fix segv when destroying client.
SVN revision: 22449
2006-05-03 21:04:08 +00:00
Kim Woelders 2a431b38e7 Trivial renaming.
SVN revision: 22448
2006-05-03 20:52:15 +00:00
Kim Woelders f02b00ad9d Change internal window handling API. Now passing Win (pointer to EXID struct) in stead of window XID.
SVN revision: 22397
2006-04-29 19:39:21 +00:00
Kim Woelders 4f4c6523e4 Window handling function api rename/rewrap continued.
SVN revision: 22329
2006-04-23 23:18:23 +00:00
Kim Woelders f7f0293cbc Fix bug when reparenting to nested E.
SVN revision: 22327
2006-04-23 22:14:32 +00:00
Kim Woelders 60b882006c Window handling function api rename/rewrap continued.
SVN revision: 22326
2006-04-23 22:11:26 +00:00
Kim Woelders 6eb1fbcb72 Change some stuff to const. Minor config tweaks.
SVN revision: 22284
2006-04-21 22:52:59 +00:00
Kim Woelders 558a43764f Trivial cleanups.
SVN revision: 22235
2006-04-19 17:23:34 +00:00
Kim Woelders 1978ce5aa5 Window handling function api rename/rewrap continued.
SVN revision: 22200
2006-04-18 16:26:51 +00:00
Kim Woelders 27050fe8cc Split off timers.h
SVN revision: 22161
2006-04-16 13:27:38 +00:00
Kim Woelders 71fafe5f70 Improve window repositioning on screen size change.
SVN revision: 22134
2006-04-15 18:32:54 +00:00
Kim Woelders e0b0ca87e2 Set window operation source some more places.
SVN revision: 22058
2006-04-12 15:19:40 +00:00
Kim Woelders 3a23e7b348 Fix build without composite.
SVN revision: 22015
2006-04-11 06:55:14 +00:00
Kim Woelders 1b8f4b1fe7 Make window opaque when focused (window option, enabled by default).
Clean up handling of opacity settings, move config options to misc.opacity.
Opacity values in configuration are now 0-100 in stead of 0-255.


SVN revision: 21722
2006-04-02 09:45:40 +00:00
Kim Woelders c80dcf7341 Attempt do useful window repositioning on screen size change.
SVN revision: 21585
2006-03-29 23:45:32 +00:00
Kim Woelders e8a0530707 Fix pager update on internal window unmap (revert recent change).
SVN revision: 21483
2006-03-22 18:43:13 +00:00
Kim Woelders 0b8e4578b7 Only slide windows in on current desk.
SVN revision: 21111
2006-03-08 19:45:37 +00:00
Kim Woelders 78100df843 Update pagers after fading.
SVN revision: 21052
2006-03-06 22:38:05 +00:00
Kim Woelders e052f9aceb Move lists to Ecore_List.
SVN revision: 20557
2006-02-18 08:30:09 +00:00
Kim Woelders 4a15488595 Unselect client window events on withdraw. This fixes trouble with certain
kde(?) systray apps when not using the e16 systray. Thanks to Peter Hyman
for going on about this :)


SVN revision: 19974
2006-01-22 22:47:49 +00:00
Kim Woelders 55d6bdbb3c Track top-level window shepedness.
SVN revision: 19969
2006-01-22 18:25:41 +00:00
Kim Woelders b32a8c914f Fix potential missing server ungrab.
SVN revision: 19967
2006-01-22 18:12:03 +00:00
Kim Woelders 0bfe63c730 Allow setting border on windows with borderless hint.
SVN revision: 19931
2006-01-20 22:04:49 +00:00
Kim Woelders 93787aa709 Avoid setting shape to default (unshaped) on ShapeNotify when already set.
This fixes an event looping problem on Xsun where doing so generates
Shape (and Visibility) Notify events (Xsun bug?).
- Thanks again to Mark Bowyer for help to track this down.
Additional shape debug stuff.


SVN revision: 19747
2006-01-12 22:50:09 +00:00
Kim Woelders 8e59873414 Fix bug with initially maximized/fullscreen windows.
SVN revision: 19611
2006-01-07 15:02:15 +00:00
Kim Woelders 056248c884 2006.
SVN revision: 19591
2006-01-07 07:20:58 +00:00
Kim Woelders f87f2f53aa Always set name on EObj's (debug).
SVN revision: 19544
2006-01-05 21:56:13 +00:00
Kim Woelders ff86323831 Split off borders.h.
SVN revision: 19238
2005-12-22 18:43:15 +00:00
Kim Woelders ea78c23bc1 Fix some more click-raises issues.
SVN revision: 18915
2005-12-08 18:45:41 +00:00
Kim Woelders 64e15839e7 Split off aclass.h. Cleanups.
SVN revision: 18665
2005-11-27 13:11:06 +00:00
Kim Woelders c24b411115 Split off groups.h. Fix certain hint updates. Cleanups.
SVN revision: 18538
2005-11-19 15:47:10 +00:00
Kim Woelders da95e509e3 Remember various flags.
SVN revision: 18535
2005-11-19 07:39:30 +00:00
Kim Woelders eaa3bb7e71 Focus debug stuff.
SVN revision: 18489
2005-11-15 23:24:20 +00:00
Kim Woelders ff36fcda6a Inhibit resize when fixed size.
SVN revision: 18471
2005-11-14 19:25:17 +00:00
Kim Woelders b8d230d659 Action source handling - continued.
SVN revision: 18447
2005-11-13 01:22:28 +00:00
Kim Woelders 5b2513c0b2 Action source handling - part 1. Mostly renaming and shuffling around.
SVN revision: 18443
2005-11-12 17:51:11 +00:00
Kim Woelders 1666e8ba76 Don't inhibit fullscreen when maximized but forget maximized state.
SVN revision: 18344
2005-11-06 14:35:26 +00:00
Kim Woelders 24f10641c9 Fix several window group bugs.
SVN revision: 18323
2005-11-05 17:12:53 +00:00
Kim Woelders b5ed1b5fe7 Change window restart property to include only state not available elsewhere.
Fix various fullscreen/maximized state bugs wrt. restart and locking.


SVN revision: 18231
2005-11-02 23:03:03 +00:00
Kim Woelders 0dfa113313 General bug hunt - Found a few, pedantic cleanups, dead code removal.
SVN revision: 18153
2005-10-30 19:40:49 +00:00
Kim Woelders 0922022489 Client adoption changes - continued.
SVN revision: 18112
2005-10-29 19:57:06 +00:00
Kim Woelders 20429a1f72 Client adoption changes - continued.
SVN revision: 18110
2005-10-29 15:35:39 +00:00
Kim Woelders 9dca3e88f1 EWM hint support is no longer optional. Split off hints.h.
SVN revision: 18049
2005-10-27 23:18:35 +00:00
Kim Woelders 3eb7cd2d95 Fix various issues with iconification of transients and state updates.
SVN revision: 18047
2005-10-27 22:26:37 +00:00
Kim Woelders 382e5182f3 Fix some snapshot bugs introduced recently (handle empty lines in config, get group info before used).
SVN revision: 18041
2005-10-27 20:38:12 +00:00
Kim Woelders 1d7eb3a8bc Clean up client adoption.
SVN revision: 17895
2005-10-24 17:35:09 +00:00
Kim Woelders 2f28227b14 Avoid some X-errors caused by operations on destroyed windows.
SVN revision: 17817
2005-10-23 15:02:51 +00:00
Kim Woelders a8e94bdae1 Tweak click-raises (raise if lowered after getting focus).
SVN revision: 17664
2005-10-18 19:21:25 +00:00
Kim Woelders ae4477d0d8 Place new windows at top of focus stack.
SVN revision: 17663
2005-10-18 19:05:22 +00:00
Kim Woelders ff964b63ac Set ICCCM configure position relative to desk origin.
SVN revision: 17661
2005-10-18 18:00:53 +00:00
Kim Woelders 9690a907a0 Cleanups.
SVN revision: 17599
2005-10-16 09:33:49 +00:00
Kim Woelders 9e9c8769b7 Fix geometry indicator during non-opaque resizing.
Yet another partial cleanup of client window property/state stuff.


SVN revision: 17466
2005-10-12 17:20:42 +00:00
Kim Woelders 093d30f946 Fix dialog layout bug. Shuffle some dialog contents around.
SVN revision: 17351
2005-10-09 18:01:30 +00:00
Kim Woelders d70b5454ff Fix bogus "Already managing A" messages.
SVN revision: 16930
2005-09-25 13:08:09 +00:00
Kim Woelders ccb844716d Provide control over match conditions for saved settings.
SVN revision: 16871
2005-09-23 16:12:13 +00:00
Kim Woelders 4864ea4c70 Remove eobj.h from E.h, include where needed.
SVN revision: 16749
2005-09-18 06:35:38 +00:00
Kim Woelders cf2a9850a7 Speed up stacking.
SVN revision: 16690
2005-09-11 17:20:32 +00:00
Kim Woelders c49b832638 Oops - fix.
SVN revision: 16686
2005-09-11 09:50:46 +00:00
Kim Woelders 277c1bac72 Event handling tweaks. Global action events must occur on root window.
SVN revision: 16679
2005-09-10 21:24:26 +00:00
Kim Woelders 4ae7217564 Shuffle stuff around to more appropriate locations.
SVN revision: 16522
2005-09-04 12:43:13 +00:00
Kim Woelders 9ebaf4a103 Change most desk references from integer to pointer to desk object.
SVN revision: 16515
2005-09-04 07:27:20 +00:00
Kim Woelders 45b5261a38 Fix toggling fixedpos, neverfocus, add fixedsize.
SVN revision: 16359
2005-08-25 22:28:48 +00:00