Commit Graph

248 Commits

Author SHA1 Message Date
Kim Woelders b49d17688c Do not pass disp around everywhere.
SVN revision: 13179
2005-02-02 17:12:07 +00:00
Kim Woelders 69b6ed3314 Bye bye EDBUG/EDBUG_RETURN.
SVN revision: 13097
2005-01-25 21:58:28 +00:00
Kim Woelders bc0bfa22b3 Attempt to improve badly behaving client handling.
SVN revision: 13064
2005-01-23 18:23:04 +00:00
Kim Woelders f07bf60930 Fix dialog segv's.
SVN revision: 12958
2005-01-13 20:12:23 +00:00
Kim Woelders 47dd447061 Enable saving window shadowing state (phriedrich@gmx.de)
Enable saving window opacity.
More window ops in menu.
Fix simultaneous saved settings dialogs for different windows.
Snapshot code cleanups.
Properly destroy dialogs when closed.


SVN revision: 12937
2005-01-12 23:10:24 +00:00
Kim Woelders fbbe386efb 0.16.8
SVN revision: 12619
2004-12-28 23:46:49 +00:00
Kim Woelders 488a602361 Removed some more ";;"s.
SVN revision: 11143
2004-08-03 17:37:45 +00:00
Kim Woelders a5de9656e8 Bye bye Imlib1 and Fnlib.
SVN revision: 11010
2004-07-25 09:34:43 +00:00
Kim Woelders 0163c3ff80 Selective Transparency - basic functionality (Jaron Omega <jaron@sock-stream.net>).
SVN revision: 10427
2004-06-03 18:04:47 +00:00
Kim Woelders a917263310 Clean up setting internal window name/class hints.
SVN revision: 10320
2004-05-22 19:31:13 +00:00
Kim Woelders 2b847dfbe9 Add X_CFLAGS to INCLUDES. Rename root to VRoot to avoid warnings with -Wshadow.
SVN revision: 10053
2004-05-04 19:04:42 +00:00
Kim Woelders c8f1e13b5f Dialog windows do need the KeyPress and Expose events.
SVN revision: 9753
2004-04-16 18:09:01 +00:00
Kim Woelders e47600e918 Attempt to set event masks consistently.
SVN revision: 9736
2004-04-15 19:44:38 +00:00
Kim Woelders 6eb7db0cff Move global queue_up to Mode struct.
SVN revision: 9665
2004-04-09 12:59:56 +00:00
Kim Woelders 7a95ff3a9a Simplify ewin unmap/destroy handling (fixes "losing windows" bug).
SVN revision: 9641
2004-04-07 21:50:19 +00:00
Kim Woelders 3b1f6e7c72 Enable compiling with -Wwrite-strings (trivial fixups).
SVN revision: 9414
2004-03-21 01:39:40 +00:00
Kim Woelders 531c81778c Enable compiling with -Wshadow (trivial name clash fixups).
SVN revision: 9409
2004-03-20 15:49:05 +00:00
Mandrake 68ea5e7268 Thu Mar 18 12:10:13 EST 2004
(Mandrake)

Fixed a boatload of warnings.  Commented out a couple of functions that
were no longer being used.  I fixed some of these warnings a few years ago
and somehow *ahem* they were put back in ;)


SVN revision: 9392
2004-03-18 17:03:50 +00:00
Kim Woelders 14add73059 Change some ALERT macro stuff to function calls.
SVN revision: 9326
2004-03-11 16:58:14 +00:00
Kim Woelders 5e2544a147 Improve on menu transparency. Avoid some unnecessary redraws.
SVN revision: 9256
2004-03-07 08:14:24 +00:00
Kim Woelders 535088a8fb Fix update of E-internal windows after move when theme transparency is on.
SVN revision: 9176
2004-03-01 21:03:54 +00:00
Kim Woelders f43c79641d Renamed duplicate to Estrdup, introduced Estrndup.
SVN revision: 9148
2004-02-28 15:14:02 +00:00
Kim Woelders 489e6cda3f Redraw Dialogs and Menus after move if theme is transparent.
SVN revision: 8996
2004-02-16 23:14:01 +00:00
Kim Woelders 2328bcb7c9 2003 -> 2004.
SVN revision: 8569
2004-01-19 22:30:35 +00:00
Kim Woelders b57dd276cf Fix some const glitches.
SVN revision: 8359
2004-01-12 21:05:00 +00:00
Kim Woelders 1603d7b706 Border event handling code shuffle.
SVN revision: 8343
2004-01-11 13:20:17 +00:00
Kim Woelders 5c66882c39 Trivial session cleanups.
SVN revision: 8265
2004-01-03 12:55:08 +00:00
Kim Woelders 17c34a3959 Trivial dialog cleanups.
SVN revision: 8263
2004-01-03 12:21:52 +00:00
Kim Woelders e8e315db0e A pseudo-transparency support hack.
SVN revision: 8222
2003-12-28 17:57:31 +00:00
Kim Woelders e9550770d7 Fix another pager mini-window tooltip bug.
Minor pager and dialog event handler changes.


SVN revision: 8109
2003-12-13 14:07:14 +00:00
Kim Woelders 091523125a Pager fixups after imlib2 port.
Fix pager mini-window and tooltip unmapping.
Pager code shuffling.


SVN revision: 7972
2003-11-30 15:35:43 +00:00
Kim Woelders 08d131393b Imlib2 - fix images in dialogs.
SVN revision: 7914
2003-11-18 21:16:58 +00:00
Kim Woelders 9560634f4f Initial imlib2 port.
SVN revision: 7898
2003-11-15 22:27:17 +00:00
Kim Woelders 8aee6f4535 Collect dialog stuff in dialog.c.
SVN revision: 7846
2003-11-09 20:28:24 +00:00
Kim Woelders 3da03b6dc9 Copyrights->2003.
SVN revision: 7807
2003-11-05 17:24:47 +00:00
Kim Woelders b5366ed13d Sat Oct 4 14:56:29 CEST 2003
(Kim)

Removed unused scursor.c.


SVN revision: 7503
2003-10-04 13:14:53 +00:00
Kim Woelders 9a1eb87c87 No global var should be named "id".
SVN revision: 7155
2003-07-12 15:04:32 +00:00
Carsten Haitzler 2c07aeb70c hiroaki yoshida's leakage patch
SVN revision: 7115
2003-07-08 02:32:40 +00:00
Mandrake 538d325415 Thu May 22 15:09:11 EDT 2003
(Mandrake)

Updated .h files so that this sucker actually wants to build on my system.
Sorry I've been AWOL for so long, life has been quite busy lately.


SVN revision: 6924
2003-05-22 19:15:03 +00:00
Kim Woelders f38c492356 Ignore internal buttons when placing windows (+I don't like duplicated code).
SVN revision: 6911
2003-05-16 18:06:14 +00:00
Kim Woelders 5c19742992 Include E internal windows (dialogs, menus, iconboxes, and pagers) in _NET_CLIENT_LIST.
Use _NET_WM_STATE_SKIP_PAGER and _NET_WM_STATE_SKIP_TASKBAR to hide them as desired.
(fixes menu's in taskbar problem).


SVN revision: 6895
2003-05-04 10:31:27 +00:00
Michael Jennings b35504b70e Fri Mar 28 00:14:31 EST 2003
(KainX)

More patches from Kim Woelders <kim@woelders.dk>.


SVN revision: 6793
2003-03-28 05:16:21 +00:00
Mandrake 8ea4ff7696 Fri Jul 28 12:31:35 PDT 2000
(Mandrake)

Now with xinerama enabled your alt-tab focus list will appear properly
centered in the current head.  I think I will add an alt-tab feature to only
focus on windows in the current head as well (this will be toggle-able)


SVN revision: 2929
2000-07-28 19:13:13 +00:00
Mandrake c72c14143c Fri Jul 28 10:42:05 PDT 2000
(Mandrake)

the beginning of another xinerama feature "place additional windows on extra
head when current head is full"


SVN revision: 2928
2000-07-28 17:23:35 +00:00
Mandrake f6bbde6273 Wed Jul 26 11:54:23 PDT 2000
(Mandrake)

Same problem when you close the desktop background window


SVN revision: 2925
2000-07-26 18:35:46 +00:00
Mandrake 5f2e7bd222 Wed Jul 26 11:18:29 PDT 2000
(Mandrake)

apparently when you first open up the background settings dialog box it
clobbers the atom that says what the base background should have in it.
This is a hack, but fixes the symptom of the problem :)


SVN revision: 2924
2000-07-26 18:00:47 +00:00
Tom Gilbert 4d21d088e3 Sun Jun 4 20:56:41 GMT 2000
(gilbertt)

Patch from monkeyiq@flashmail.com (real name?) for the option to position
windows centered under the mouse pointer.

(I changed the logic just slightly from the patch, so that windows too big
vertically are positioned so that the top is visible, instead of the other
way around).


SVN revision: 2750
2000-06-04 19:45:55 +00:00
Michael Jennings d0b8bc2b56 Mon Apr 24 15:57:55 PDT 2000
(KainX)

Patch from Johannes Erdfelt <jerdfelt@valinux.com> to give a demo of
each of the move types in the move/resize settings dialog.  Really
cool. :-)


SVN revision: 2528
2000-04-24 22:45:52 +00:00
Michael Jennings c9f4976169 Mon Apr 24 15:33:47 PDT 2000
(KainX)

Patch from Bob Arendt <rdarendt@cwcom.net> for move/resize geometry
box location.


SVN revision: 2527
2000-04-24 22:21:29 +00:00
Mandrake e8984fb081 Mon Apr 10 15:43:56 PDT 2000
(Mandrake)

fix for bringing iconified windows to current head when using the tasklist.


SVN revision: 2460
2000-04-10 22:46:20 +00:00
Mandrake f21e919dbf Mon Apr 10 15:01:10 PDT 2000
(Mandrake)

fixed the rest of xinerama menu usage (please test under non-xinerama)


SVN revision: 2459
2000-04-10 22:03:52 +00:00
Mandrake 6bdf677482 Mon Apr 10 12:45:00 PDT 2000
(Mandrake)

redid all the xinerama menu code


SVN revision: 2457
2000-04-10 19:47:23 +00:00
Mandrake 175f3a0aad Wed Apr 5 16:55:39 PDT 2000
(Mandrake)

a little bit of fixing to the xinerama menu code


SVN revision: 2434
2000-04-06 00:57:55 +00:00
Peter Kjellerstedt 7f0b9c37d3 Thu Apr 6 01:17:06 CEST 2000
(Saur)

Ran the default indent from ecvs on all files to get rid of differences
caused by it (should hopefully give smaller diffs in the future).
Removed all duplicated * * in comments (generated by indent sometimes).


SVN revision: 2431
2000-04-05 23:22:56 +00:00
Mandrake d42b1ae833 Mon Apr 3 16:46:07 PDT 2000
(Mandrake)

more fixes for xinerama-aware menus.


SVN revision: 2424
2000-04-03 23:49:14 +00:00
Mandrake 6c484926f4 Mon Apr 3 15:07:12 PDT 2000
(Mandrake)

beginnings of xinerama menu support.  just have to fix the remainder of the
"stay on screen as I scroll" bits"


SVN revision: 2421
2000-04-03 22:10:47 +00:00
Mandrake 940f327144 Mon Apr 3 12:00:47 PDT 2000
(Mandrake)

the remembered settings dialog was too big.  This has less information in it
but isn't so big when I have a lot of remembered windows on screen.


SVN revision: 2418
2000-04-03 19:04:34 +00:00
Mandrake c4153ac2be Mon Apr 3 10:17:21 PDT 2000
(Mandrake)

fix for iconified windows not getting focus properly when in focuslist.


SVN revision: 2415
2000-04-03 17:05:43 +00:00
Mandrake c4a69d68ef Fri Mar 31 10:38:09 PST 2000
(Mandrake)

some people have problems with this session.c (don't know why)


SVN revision: 2400
2000-03-31 18:41:16 +00:00
Mandrake cb7e3bee1e Thu Mar 30 15:43:39 PST 2000
(Mandrake)

fixed logout dialog box to work properly under xinerama


SVN revision: 2389
2000-03-30 23:47:01 +00:00
Mandrake 23caf31298 Tue Mar 28 10:31:25 PST 2000
(Mandrake)

fixed maximize bug where it would pay attention to iconified windows.


SVN revision: 2359
2000-03-28 18:34:36 +00:00
Mandrake 319302f6af Sun Mar 26 15:40:38 PST 2000
(Mandrake)

new "configpanel" ipc command.  This way I can use my config panels from efm
by building a menu that runs eesh *grin*


SVN revision: 2341
2000-03-26 23:29:58 +00:00
Mandrake 1645050d9a Sun Mar 26 14:16:39 PST 2000
(Mandrake)

added xinerama support for maximizing windows.  They'll stay on the current
had unless you use the "absolute" option, which means you want as much space
as possible


SVN revision: 2340
2000-03-26 22:05:16 +00:00
Mandrake b930be1be0 Sun Mar 26 13:42:23 PST 2000
(Mandrake)

fixed edge resistance between heads when you're using xinerama.


SVN revision: 2338
2000-03-26 21:30:58 +00:00
Mandrake c642472633 Sat Mar 25 20:58:49 PST 2000
(Mandrake)

oops, debugging printfs


SVN revision: 2337
2000-03-26 04:47:03 +00:00
Mandrake 2e2ac95de5 Sat Mar 25 20:51:51 PST 2000
(Mandrake)

more xinerama support.  This time settings dialogs pop up centered on the
current head if there isn't a settings dialog already open.
Next - edge resistance between heads.


SVN revision: 2336
2000-03-26 04:40:38 +00:00
Mandrake 4aff4646d6 Sat Mar 25 18:17:32 PST 2000
(Mandrake)

oops, left a debugging printf in arrange.c


SVN revision: 2335
2000-03-26 02:05:58 +00:00
Mandrake 6c4cc0a561 Sat Mar 25 18:16:11 PST 2000
(Mandrake)

slightly better arranger code for XINERAMA - this should ALSO fix a couple of
KDE arranger problems that people reported, too.


SVN revision: 2334
2000-03-26 02:04:48 +00:00
Mandrake 979cac375a Sat Mar 25 17:32:16 PST 2000
(Mandrake)

This is still slightly hacking xinerama support - needs some more work.
some things will still pop up inbetween heads, but for the most part windows
will pop up on the head that is currently focused and will pop up without
going between heads.


SVN revision: 2332
2000-03-26 01:22:00 +00:00
Mandrake 1f71e1e26e Fri Mar 24 17:53:46 PST 2000
(Mandrake)

working on xinerama (copying home)


SVN revision: 2321
2000-03-25 01:57:02 +00:00
Mandrake 9aa6f39e2c Thu Mar 23 22:02:20 PST 2000
(Mandrake)

redoing libXinerama support.  If you use xinerama, try using the "xinerama"
command.  ALSO - you have to make sure you installed libXinerama.a in the
right place as well as Xinerama.h -- still lots more hacking to do (trying to
do a cleaner implementation than my last hack)


SVN revision: 2312
2000-03-24 05:51:51 +00:00
Tom Gilbert 4a9c871612 Thu Mar 16 23:02:49 GMT 2000
(gilbertt)

Patch from Marius Aamodt Eriksen <marius@linux.com>. Provides option to
include shaded windows in focuslist. Now all we need is an "include
iconified windows" option...


SVN revision: 2249
2000-03-16 23:05:58 +00:00
Tom Gilbert b0193f8997 Tue Mar 14 22:32:08 GMT 2000
(gilbertt)

Patches from Bob Arendt <rdarendt@cwcom.net> to enable a user-configurable
cache-dir. Solves some preformance problems on NFS-mounted home directories.
Also fixes a couple of bugs with the current -econfdir option.

Patches here for scripts and stuff.


SVN revision: 2233
2000-03-14 22:38:14 +00:00
Tom Gilbert 10f1ff3ae7 Tue Mar 14 22:23:27 GMT 2000
(gilbertt)

Patches from Bob Arendt <rdarendt@cwcom.net> to enable a user-configurable
cache-dir. Solves some preformance problems on NFS-mounted home directories.
Also fixes a couple of bugs with the current -econfdir option.

I've tested this fairly well, as has Bob, but let me know if there are any
problems.


SVN revision: 2232
2000-03-14 22:29:04 +00:00
Tom Gilbert ace4dab997 Sun Feb 27 14:55:54 GMT 2000
(gilbertt)

Modified the ipc remember command. It is compatible with the old one
however.

Originally, you'd do:
remember windowid sticky
remember windowid command
remember windowid size
etc

Now you can also do:
remember windowid sticky command size ...

This streamlines epplets in particular, and speeds up Epplet_remember by a
factor of 8. (Significant on certain boxen).


SVN revision: 2138
2000-02-27 15:02:10 +00:00
Tom Gilbert c28e4b58aa Mon Feb 21 20:46:52 GMT 2000
(gilbertt)

Added winops commands/remember options/action definitions for skipping
focus, skipping tasklist, skipping winlist.

The second two work well. skipfocus is not thoroughly implemented in the e
code, ie. you can still focus =) I'm about to go through and add some logic
for that... Then I was gonna make non-ALT button clicks on skip_focus
windows bring up root menus...

Lots of changes, so check for bugs =)


SVN revision: 2114
2000-02-21 20:53:42 +00:00
Tom Gilbert 36de08deae Sun Feb 20 18:10:30 GMT 2000
(gilbertt)

Don't kill meeeee!

;)

People keep asking for this, so I added an option to "Focus Settings",
called "Show sticky windows in focus list". Its selected by default, but if
you deselect it, your ALT+TAB list won't show sticky windows. Keeps loggers
and gkrellm etc out of it...

Feel free to revert the commit if it's inappropriate...


SVN revision: 2110
2000-02-20 18:16:48 +00:00
Tom Gilbert 62423d7e4d Sun Feb 20 17:08:25 GMT 2000
(gilbertt)

Hopefully not too controversial... Added option in "Special FX Settings"
to enable/disable warping the pointer after sliding a menu onscreen. I was
going on about it ages ago, and thought this was the best thing to do...

Default behaviour is not changed, the setting is saved and loaded correctly.

*Clenches and awaits cl00batting*


SVN revision: 2109
2000-02-20 17:15:23 +00:00
Carsten Haitzler e8ec009304 Fri Jan 28 10:30:51 PST 2000
(Raster)

now that was silly - setting mode.xselect afterwards to 1 again,..


SVN revision: 1984
2000-01-28 18:31:13 +00:00
Mandrake 8388b82d62 Thu Jan 6 12:23:56 PST 2000
(Mandrake)

updated copyrights to say 2000. muahahaha.


SVN revision: 1864
2000-01-06 08:13:30 +00:00
Carsten Haitzler aaafb5a652 Tue Dec 21 08:02:15 PST 1999
(Raster)

add in patches from 2 AUTHORS for internationalisation...


SVN revision: 1710
1999-12-21 08:09:27 +00:00
Mandrake fdac851e59 Wed Dec 8 10:57:56 PST 1999
(Mandrake)

nasty indention issues in ipc.c


SVN revision: 1553
1999-12-08 13:46:41 +00:00
Michael Jennings 1f707abe13 Mon Dec 6 21:32:16 PST 1999
(KainX)

Make this sucker build again.


SVN revision: 1524
1999-12-07 00:42:24 +00:00
Carsten Haitzler 92ff0dd54b Mon Dec 6 14:52:40 PST 1999
(Raster)

gettext internationalisation support & patch
fix to allow setting of which mouse button do what on the pager
fix to border width handlign in icccm
fix to warp foucs
some other stuff i probabyl forgot about...


SVN revision: 1507
1999-12-06 17:12:20 +00:00
Carsten Haitzler da14b1fbb1 Mon Oct 4 17:58:33 PDT 1999
(Raster)

my god.. copyright notices..........


SVN revision: 653
1999-10-04 22:06:00 +00:00
Carsten Haitzler bb3534a56e Sat Oct 2 17:27:31 PDT 1999
(Raster)


add dialog to explain pagers and iconboxes arent part of a group... :)


SVN revision: 581
1999-10-02 21:57:52 +00:00
Mandrake 89e517b2ae Sat Oct 2 16:08:43 PDT 1999
(Mandrake)

changed it to where the first dialog that pops up pops up centered, and
subsequent dialogs pop up in an auto-arranged format.


SVN revision: 575
1999-10-02 20:36:38 +00:00
Mandrake 0e6abdc9eb Fri Oct 1 17:01:44 PDT 1999
(Mandrake)

let us place dialog boxes arranged like the rest of the windows in the world


SVN revision: 555
1999-10-01 21:38:22 +00:00
Carsten Haitzler ca017c1f91 Fri Oct 1 12:10:25 PDT 1999
(Raster)

new mantinence submenu form deksktop menu


SVN revision: 537
1999-10-01 16:56:38 +00:00
Mandrake ca3925d884 Fri Oct 1 11:08:10 PDT 1999
(Mandrake)

fixed the bug where remembering any state BESIDES location on a dialog window
would cause it to pop up at -20, -20


SVN revision: 530
1999-10-01 15:48:02 +00:00
Carsten Haitzler e0177f8f44 Fri Oct 1 01:16:46 PDT 1999
(Raster)

fix windowmatch border sige-effect for starting the firts time

fix start/restart/logout on multihead


SVN revision: 524
1999-10-01 06:08:25 +00:00
Carsten Haitzler 9a177bfcc4 Thu Sep 30 19:28:13 PDT 1999
(Raster)

add some mroe window matched to brushed metal to accoutn for dialogs
and have the dialog code and ewin match function work better...


SVN revision: 498
1999-10-01 00:24:36 +00:00
Carsten Haitzler f4291c9bb6 Thu Sep 30 18:54:13 PDT 1999
(Raster)

added pager group move patch and windowmatces pact for dialogs...


SVN revision: 496
1999-09-30 23:50:10 +00:00
Carsten Haitzler 80a8e772f7 Tue Sep 21 19:37:31 PDT 1999
(Raster)

fix possible memory leak

cleaned up some code

fixed positioning on restart/start of internal wins

fixed iconified startup bugs for clients that ask to be iconified on start

fixed icon pixmap bugs

took my iguana for a walk around the block


SVN revision: 359
1999-09-22 02:13:51 +00:00
Carsten Haitzler d7ec8874c9 Sun Sep 12 10:49:14 PDT 1999
(Raster)

and use those snapshot values for the dialogs damnit... :)


SVN revision: 247
1999-09-12 17:49:34 +00:00
Carsten Haitzler d6cfb38be8 Sun Sep 12 10:39:46 PDT 1999
(Raster)

make sure we have name and class set on dialogs so rememebr.. can work on them


SVN revision: 246
1999-09-12 17:40:07 +00:00
Carsten Haitzler 04642ec16c Sat Sep 4 00:35:38 PDT 1999
(Raster)

draw queue for handling expoes on dialogs.. more efficient drawing for dialogs
AND now no drawing bugs in non opaque move and resize modes :)


SVN revision: 175
1999-09-04 07:10:13 +00:00
Carsten Haitzler c79f01a1d9 re-importing E after cvs failure to comply with orders... thus it DIED!
SVN revision: 37
1999-08-17 22:56:46 +00:00