Kim Woelders
214222e100
desktops: Maintain separate workareas for each desktop
2023-11-26 10:04:33 +01:00
Kim Woelders
5ce609cca7
Change formatting style
...
No tabs, more like K&R.
Also switch to indent 2.2.13.
2023-11-26 10:03:45 +01:00
Kim Woelders
230ee4d9e9
Update non-active desk pagers when background is changed
...
#11
2023-08-12 19:49:47 +02:00
Kim Woelders
f384e2adc0
desks: Prevent nested desk switches
...
Using the mouse wheel (maybe also the keyboard?) it was possible to
start an animated desk switch while one was already in progress.
This could cause some incorrect state and window placement.
Also add a few debug messages.
2023-03-20 13:50:45 +01:00
Kim Woelders
85cdfe857c
desktops: Enable setting desktop names
2022-06-10 20:52:31 +02:00
Kim Woelders
28c1a5fd05
desktops: Introduce DesksGetNames()
2022-06-10 20:49:38 +02:00
Kim Woelders
64e2ef8741
desktops: Cosmetics
2022-06-10 20:49:38 +02:00
Kim Woelders
ed4c748a91
Introduce HintsSetDesktopNames()
2022-06-10 20:49:38 +02:00
Kim Woelders
546c1bb2df
dialogs: Text cleanups
...
In general only capitalize first word.
Capitalization of words was somewhat inconsistent throughout the
dialogs.
2022-04-24 12:41:25 +02:00
Kim Woelders
3c42724f96
Dialog layout adjustments
...
In general left-align text labels.
2022-04-22 07:41:58 +02:00
Kim Woelders
73d9250601
Remove stray quote in help text
2022-03-31 09:44:45 +02:00
Kim Woelders
85912e39e2
New feature - Making windows stick on specific desks/areas
2022-02-05 14:15:01 +01:00
Kim Woelders
0aa2f07e6b
Refactor atoms handling
...
Makes adding/changing atom stuff much easier.
2021-08-27 06:55:34 +02:00
Kim Woelders
204999090e
Shuffle some property stuff around
...
Just somewhat cleaner.
2021-08-21 20:47:00 +02:00
Kim Woelders
358b60baf9
Introduce E_ARRAY_SIZE() and MOD_ITEMS()
...
Just a bit tidier.
2021-03-19 06:36:46 +01:00
Kim Woelders
d767409ee8
Make config dialog edge flip mode changes take effect immediately
...
Previously it required a restart.
2019-05-18 07:08:52 +02:00
Kim Woelders
cd99117378
Correct refresh when switching away from background "None"
2019-04-02 18:28:08 +02:00
Kim Woelders
84788b993c
Optionally don't slide in DeskGotoByEwin()
...
No actual changes yet.
2019-03-05 16:15:28 +01:00
Kim Woelders
ca5040e643
Remove pseudotransparency support - 3
...
- Remove obsolete image type argument.
2018-02-04 13:32:59 +01:00
Kim Woelders
f4b11e47ec
Fix stacking when there is only one window.
...
Thanks to Daniel Nobuto for tracking this one down and reporting it.
2015-05-03 20:37:08 +02:00
Kim Woelders
9c31fe29ed
Clean up header file inclusion order.
...
Fixes building with e.g. -std=c99 and c11 by always including config.h
(which defines _GNU_SOURCE) first.
2015-01-17 19:33:42 +01:00
Kim Woelders
a9a568ffe3
Debug printout cleanups.
2014-10-17 21:25:12 +02: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
4d1bde02ae
Wrap XID and some other X types.
...
Mostly to change longs to ints to reduce memory footprint a bit on 64
bit systems.
2014-04-23 19:13:00 +02:00
Kim Woelders
b3d41f5229
Fix potential use of freed pixmap.
2014-04-21 11:28:38 +02:00
Kim Woelders
b5fbc942ac
Fix memory leak when changing area.
2013-12-29 08:59:39 +01:00
Kim Woelders
e1f062fff5
Use NoXID in stead of None.
2013-12-29 08:59:38 +01:00
Kim Woelders
265815a282
Rename EDrawableCheck to EXDrawableOk and remove unused parameter.
2013-12-28 00:10:57 +01:00
Kim Woelders
05834cf1e1
Tweak button event callback parameter.
2013-06-29 18:14:41 +02:00
Kim Woelders
307d86f555
Cosmetics - paving the way for other changes.
2013-06-14 19:47:07 +02:00
Kim Woelders
c1ebaaae8f
Forgot some 2013.
...
SVN revision: 83994
2013-02-16 14:18:50 +00:00
Kim Woelders
7d12d80ff6
Get frame rate from randr.
...
SVN revision: 83574
2013-02-03 08:06:45 +00:00
Kim Woelders
51a19d26e7
Introduce new animation engine.
...
Based on work by Daniel Manjarres.
One of the major changes is to eliminate the "TimedLoop" construction
where we have "local" animation loops, in which we don't pass through
the main event handler.
SVN revision: 80542
2012-12-09 10:03:07 +00:00
Kim Woelders
7fd4f7a71d
Cosmetics.
...
SVN revision: 78407
2012-10-24 17:20:38 +00:00
Kim Woelders
f244c9a479
Debug tweaks.
...
SVN revision: 77011
2012-09-22 08:29:15 +00:00
Kim Woelders
2feaf20473
Use EobjsSlideBy() to slide desks as well as areas.
...
This changes the desk slide to not be done under a server grab.
This also makes EobjSlideTo() unused.
SVN revision: 75321
2012-08-16 19:33:25 +00:00
Kim Woelders
cb441def79
Alert if root window button events cannot be selected.
...
SVN revision: 75320
2012-08-16 19:33:22 +00:00
Kim Woelders
0b10866fa9
Fix having black solid color background.
...
SVN revision: 73884
2012-07-15 16:17:22 +00:00
Kim Woelders
3f8541b565
Move EObj sliding functions to slide.c too.
...
SVN revision: 73454
2012-07-07 14:05:56 +00:00
Kim Woelders
0786a813d0
EwinMove/Resize - Change various global/ewin flags to function parameter.
...
SVN revision: 70390
2012-04-22 17:39:37 +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
6c56718b7c
Change move/resize mode open coded values to defined values.
...
Partially based on patch by Daniel Manjarres.
SVN revision: 59991
2011-06-06 14:39:57 +00:00
Kim Woelders
01f840a327
Only set _NET_DESKTOP_VIEWPORT when needed.
...
SVN revision: 59971
2011-06-05 14:54:00 +00:00
Kim Woelders
0a91aee4d5
Move desktop hint change to after desk switch has completed.
...
Shouldn't make a difference just now but is required for changes to
come.
SVN revision: 59970
2011-06-05 14:53:58 +00:00
Kim Woelders
3d8e1d431c
Show backgrounds in settings dialogs with same aspect ratio as screen.
...
Make the background images (also used in background selection menu)
screen size/12, which normally will be somewhat larger than the old 64x48.
Based on patches by Daniel Manjarres.
SVN revision: 59080
2011-05-01 10:51:59 +00:00
Kim Woelders
f1d32abed2
Add command ("desk back") to go back to previous active desktop.
...
Suggested by James Bowlin.
SVN revision: 55630
2010-12-18 12:25:39 +00:00
Kim Woelders
54403720f3
Update _NET_WORKAREA when screen size changes.
...
Based on patch by Eriks Jansons.
SVN revision: 55563
2010-12-15 18:41:20 +00:00
Kim Woelders
45c9fabdda
Fix desk/area dialog changes sometimes not being saved.
...
SVN revision: 54281
2010-11-07 20:26:17 +00:00
Kim Woelders
9e11dff4e4
Call XRRUpdateConfiguration on RRScreenChangeNotify.
...
SVN revision: 51495
2010-08-21 14:43:59 +00:00