Commit Graph

147 Commits

Author SHA1 Message Date
Kim Woelders c2e9649cd5 groups.c: Fix snapshot updating 2020-05-05 22:42:08 +02:00
Kim Woelders 9c18d93735 groups.c: Add some debug 2020-05-05 22:42:08 +02:00
Kim Woelders 0df0320da6 groups.c: Fix group deletion
The loop construct did not delete all groups.

Do group destruction after loop to avoid accessing deleted
group->num_members.
2020-05-05 22:42:08 +02:00
Kim Woelders 924518956c groups.c: Add group del command 2020-05-05 22:42:08 +02:00
Kim Woelders 1399c7bf7d groups.c: Fix showing empty group 2020-05-05 22:42:08 +02:00
Kim Woelders d28388ad70 groups.c: Fix handling groups with negative id 2020-05-05 22:42:08 +02:00
Kim Woelders cc7fe7a2fb groups.c: Mostly cosmetic tweaks 2020-05-05 22:42:08 +02:00
Kim Woelders c2be7e7c14 groups.c: _GroupEwinDestroy() -> _GroupDelete()
Drop the possibility to delete all groups to which an EWin belongs.
It wasn't possible to go down that path anyway.
2020-05-05 22:42:08 +02:00
Kim Woelders d80bf8305c groups.c: Enable popping up ewin group configuration dialogs from ipc 2020-05-05 22:42:08 +02:00
Kim Woelders 3c5f33648e groups.c: Fold "group_info" into "group" IPC command 2020-05-05 22:42:08 +02:00
Kim Woelders 32f4255270 groups.c: Refactor _GroupEwinRemove() 2020-05-05 22:42:08 +02:00
Kim Woelders 4e97cbb637 groups.c: Rename functions for more consistency
Swap a couple of arguments too.
No functional changes.
2020-05-05 22:42:08 +02:00
Kim Woelders c4026c585c groups.c: Reshuffle code to avoid forward declarations 2020-05-05 22:42:08 +02:00
Kim Woelders 02001e632d groups.c: Mostly cosmetic changes around group configuration 2020-05-05 22:42:08 +02:00
Kim Woelders 5a131b00b1 groups.c: Eliminate BuildWindowGroup() 2020-05-05 22:42:08 +02:00
Kim Woelders 864009da54 groups: Eliminate EwinGetGroups()
Not particularly useful.
2020-05-05 22:42:08 +02:00
Kim Woelders cee07a720a groups.c: Correct debug stuff 2020-03-07 17:30:56 +01:00
Kim Woelders 7011dc150d Hide Group struct internals 2020-03-07 17:30:56 +01:00
Kim Woelders b9a9946a0a Update copyright to 2018 2018-12-22 11:44:22 +01:00
Kim Woelders 22b5e58dcd Refactor/rename/use _EFREE type macros 2018-12-22 11:44:22 +01:00
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 edfa30aeb1 Refactor group dialog data handling. 2014-04-26 11:01:55 +02:00
Kim Woelders 49669bafa2 Forgot some 2013. 2013-11-24 16:37:17 +01:00
Kim Woelders e287b37e78 Switch to new list implementation.
Faster, less code, less memory usage.
Not that it matters much - mostly for fun.
2013-08-09 11:43:48 +02:00
Kim Woelders ba7d9cc4a9 Fix various issues reported by clang. Minor cleanups.
SVN revision: 81671
2012-12-24 10:41:50 +00:00
Kim Woelders 7fd4f7a71d Cosmetics.
SVN revision: 78407
2012-10-24 17:20:38 +00:00
Kim Woelders 10f6a232d0 Move GetTimeMs/Us() to time.c.
SVN revision: 69545
2012-03-21 21:10:59 +00:00
Kim Woelders af5dcb3987 Change some longs to ints where long is not needed.
SVN revision: 66973
2012-01-08 12:54:08 +00:00
Kim Woelders a649a2e005 Use GetTimeMs/Us() in stead of GetTime().
SVN revision: 55892
2011-01-05 18:05:59 +00:00
Kim Woelders 4ac03926da Adjustments for indent 2.2.11.
SVN revision: 50909
2010-08-08 19:03:34 +00:00
Kim Woelders 0466673fbf Trim whitespace from translatable strings.
SVN revision: 48723
2010-05-09 19:03:19 +00:00
Kim Woelders e6beff1eaf Use ConfigFileLoad some more.
SVN revision: 47704
2010-04-02 15:28:20 +00:00
Kim Woelders a7e538be10 Trivial fixes (clang).
SVN revision: 45718
2010-01-29 19:45:04 +00:00
Kim Woelders c0c9da09de Simplify handling of dialog configuration data.
SVN revision: 43467
2009-11-05 18:45:58 +00:00
Kim Woelders 42ad2b8836 Add missing newlines on IPC messages.
SVN revision: 42288
2009-09-06 09:59:40 +00:00
Kim Woelders 5ded0d38d6 Remove (useless, afaict) group mirror option.
SVN revision: 39605
2009-03-21 09:53:08 +00:00
Kim Woelders 287bbf4c3b Enable building without dialogs.
SVN revision: 38754
2009-01-24 08:31:50 +00:00
Kim Woelders e42a80764f Play sounds by number in stead of by name. Enable disabling specific sounds.
SVN revision: 38142
2008-12-14 16:44:45 +00:00
Kim Woelders 20e9396c05 Restore group border show/hide feature.
SVN revision: 37749
2008-11-22 21:16:55 +00:00
Kim Woelders 25c27e2cfd Change some function names.
SVN revision: 37677
2008-11-16 17:20:37 +00:00
Kim Woelders b395cd2dca Fix handling of windows in multiple groups after restart.
SVN revision: 37551
2008-11-08 15:47:09 +00:00
Kim Woelders 5a88e79163 Fix various issues noted by Don Harrop
- Fix using tiles in iconbox background
- Fix breaking window group using winops menu
- Fix virtual desktop configuration area when SETTINGS_AREADESK_AREA is shaped


SVN revision: 37548
2008-11-08 12:21:10 +00:00
Kim Woelders 0563113280 Fix group info sometimes not being saved.
SVN revision: 36788
2008-10-18 16:16:47 +00:00
Kim Woelders 28c4a83441 A bit more consistent naming and minor tweaks (groups).
SVN revision: 36787
2008-10-18 16:13:54 +00:00
Kim Woelders 05b1f91c04 Fix breakage when group in snapshot is unknown.
SVN revision: 36785
2008-10-18 16:10:11 +00:00
Kim Woelders 1fb55ecc06 Fix certain group menu operations on unfocused window groups (e.g. pagers, noted by Don Harrop).
SVN revision: 36783
2008-10-18 16:04:09 +00:00
Kim Woelders 70a6cc695c Simplify activating configuration dialogs.
SVN revision: 36681
2008-10-15 15:19:12 +00:00
Kim Woelders e7f01c2d6f Add -brs to indent profile.
SVN revision: 34096
2008-03-23 11:54:24 +00:00
Kim Woelders 4ef9558c14 Forgot 2008.
SVN revision: 34083
2008-03-22 14:51:24 +00:00