Commit graph

23806 commits

Author SHA1 Message Date
Cristian Tibirna
f49c7be018 CT: smart placement code. No! It isn't tested and isn't supposed to work.
One 'if' gets a bad turn. But commit it 'cause I'm reknown for doing stupid
things with unbacked-up code. Matthias, I managed to reduce all from
175 to 125 lines and from 4740 chars to 3260. This is what you wanted?

Don't worry, kwin compiles and works as before.

If somebody finds a way to teleport my office in some other dimension, I
finish this tomorrow (that is, today + a couple of sleep hours). If not ...

svn path=/trunk/kdebase/kwin/; revision=34034
1999-11-16 08:53:02 +00:00
Matthias Ettrich
486f0d604d bugfixes, what else
svn path=/trunk/kdebase/kwin/; revision=34019
1999-11-16 02:03:14 +00:00
Matthias Ettrich
9a0ea6b949 - handle initial state iconic
- handle maprequests when being iconified properly
- do not unshade xemacs 32000 pixels high

svn path=/trunk/kdebase/kwin/; revision=34014
1999-11-16 01:25:42 +00:00
Matthias Ettrich
f1dbea6ae5 fixed client activation
svn path=/trunk/kdebase/kwin/; revision=33993
1999-11-15 22:37:12 +00:00
Matthias Ettrich
bd7c253101 make shading work again (double click on titlebar)
svn path=/trunk/kdebase/kwin/; revision=33918
1999-11-15 15:57:48 +00:00
Daniel M. Duley
bdd8c87006 Switched the order of the sticky button. It makes more sense to show the
current state, not the state it would be if pressed (duh ;-)

svn path=/trunk/kdebase/kwin/; revision=33907
1999-11-15 14:11:29 +00:00
Matthias Ettrich
3293927ed4 found a smart way to get rid of the race conditions (that sometimes
made windows lose their decorations)

svn path=/trunk/kdebase/kwin/; revision=33867
1999-11-15 00:52:05 +00:00
Matthias Ettrich
49eb95bd94 More docking magic: If a window gets iconified that has a docking window,
remove it from the taskbar (in fact, do a withdraw() )

svn path=/trunk/kdebase/kwin/; revision=33759
1999-11-14 06:34:28 +00:00
Matthias Ettrich
a1f8ea357a support for the new docking stuff
svn path=/trunk/kdebase/kwin/; revision=33753
1999-11-14 05:53:53 +00:00
Matthias Ettrich
279fc91240 some debug output removed, small fix to initial sizeflag handling
svn path=/trunk/kdebase/kwin/; revision=33647
1999-11-13 03:48:58 +00:00
Matthias Ettrich
cb5978260f fake being kwm (helps some docking apps out there)
svn path=/trunk/kdebase/kwin/; revision=33646
1999-11-13 03:44:09 +00:00
Matthias Ettrich
b4cc618773 nicer code and (hopefully) even more robust
svn path=/trunk/kdebase/kwin/; revision=33642
1999-11-13 02:35:15 +00:00
Matthias Ettrich
6862ff3dcb transients again
svn path=/trunk/kdebase/kwin/; revision=33640
1999-11-13 02:02:10 +00:00
Matthias Ettrich
eb472b9ed5 Ctrl-Fx desktop switching to make David happy
svn path=/trunk/kdebase/kwin/; revision=33636
1999-11-13 01:51:22 +00:00
Matthias Ettrich
b49242a017 some fixes
svn path=/trunk/kdebase/kwin/; revision=33631
1999-11-13 00:32:36 +00:00
Matthias Ettrich
ecec648c11 more robust raise algorithm
svn path=/trunk/kdebase/kwin/; revision=33562
1999-11-12 03:58:34 +00:00
Matthias Ettrich
231f10c92e basically, it's a good thing to initialize variables
svn path=/trunk/kdebase/kwin/; revision=33556
1999-11-12 03:21:10 +00:00
Matthias Ettrich
a30c061abb shape windows support, some fixes for configure-request handling
svn path=/trunk/kdebase/kwin/; revision=33553
1999-11-12 03:11:19 +00:00
Daniel M. Duley
d94de9b5b6 Updated the color scheme README, and you can now use kcmdisplay to set the
extended color attributes for System.

svn path=/trunk/kdebase/kwin/; revision=33487
1999-11-11 01:41:28 +00:00
Daniel M. Duley
60ba85da36 Use sync() - thought about that right after I committed ;-)
svn path=/trunk/kdebase/kwin/; revision=33485
1999-11-11 01:29:33 +00:00
Daniel M. Duley
c9e72c7700 Read a KConfig key in ClientFactory to select the style and save the key when
choosing from the menu. This will have to change when I do plugins but makes
kwin styles easier to use now.

svn path=/trunk/kdebase/kwin/; revision=33483
1999-11-11 01:27:37 +00:00
Matthias Ettrich
35c7b77082 support for docking windows
svn path=/trunk/kdebase/kwin/; revision=33482
1999-11-11 01:22:41 +00:00
Daniel M. Duley
fc3407aa16 Better key names for titlebutton colors.
svn path=/trunk/kdebase/kwin/; revision=33480
1999-11-11 01:16:41 +00:00
Matthias Ettrich
24b197fd10 changed the default color for the inactive titlebar. i liked the other one better,
but the "open design" requires this.

Small fix to the beclient.

svn path=/trunk/kdebase/kwin/; revision=33438
1999-11-10 19:05:47 +00:00
Daniel M. Duley
40966ef808 Converted the titlebar buttons from using fixed pixmaps to dynamically
calculated pixmaps based on bitmaps for each shade and the extended KDE color
scheme. That means you can now specify button colors for both active
and inactive windows.

svn path=/trunk/kdebase/kwin/; revision=33415
1999-11-10 16:07:19 +00:00
Matthias Ettrich
b47ce2b623 removed red background ;)
svn path=/trunk/kdebase/kwin/; revision=33386
1999-11-10 02:32:34 +00:00
Matthias Ettrich
ec0c1a1a5c use standard colormap (to support themes better) in classic style
svn path=/trunk/kdebase/kwin/; revision=33383
1999-11-10 01:18:56 +00:00
Matthias Ettrich
8824421c5e just one more pixel
svn path=/trunk/kdebase/kwin/; revision=33379
1999-11-10 00:41:57 +00:00
Matthias Ettrich
f7de021a1d move text up a bit
svn path=/trunk/kdebase/kwin/; revision=33378
1999-11-10 00:36:04 +00:00
Matthias Ettrich
c1caeef679 Look closer to the T-shirt
svn path=/trunk/kdebase/kwin/; revision=33377
1999-11-10 00:34:11 +00:00
Matthias Ettrich
ed10ad67b8 small fix when deciding whether to start a drag or not
svn path=/trunk/kdebase/kwin/; revision=33374
1999-11-09 23:37:05 +00:00
Matthias Ettrich
f60d8588b2 small default-colors fix
svn path=/trunk/kdebase/kwin/; revision=33320
1999-11-09 13:20:09 +00:00
Daniel M. Duley
0f3633e3f0 Sticky button for the system theme. I wasn't going to have it but Matthias
brought it up a few times ;-)

svn path=/trunk/kdebase/kwin/; revision=33318
1999-11-09 11:01:31 +00:00
Kurt Granroth
7ef5cb7319 Okay, no more "freezing" X. kwin should be usable again :-)
svn path=/trunk/kdebase/kwin/; revision=33251
1999-11-08 15:57:30 +00:00
Matthias Ettrich
6919a58420 removed minicli stuff
svn path=/trunk/kdebase/kwin/; revision=33160
1999-11-07 20:29:26 +00:00
Daniel M. Duley
8f06701973 Fill brush fix.
svn path=/trunk/kdebase/kwin/; revision=33138
1999-11-07 17:04:17 +00:00
Daniel M. Duley
3f5e6194c6 Working on the new color scheme, little hacks to systemclient.
svn path=/trunk/kdebase/kwin/; revision=33124
1999-11-07 15:48:24 +00:00
Daniel M. Duley
3a9281209d Bye (it's going in kdesktop).
svn path=/trunk/kdebase/kwin/; revision=33110
1999-11-07 14:46:49 +00:00
Kurt Granroth
ae262e92d2 "ported" over the essential minicli from kwm (yipee! now i can use kwin as
my normal window manager!!)

unfortunately, i'm not 100% that the way i did it was the "proper" way.  it
works, but it might not be the best way to do it.  matthias, et al,
definitely need to take a look at it!

svn path=/trunk/kdebase/kwin/; revision=33085
1999-11-07 08:46:36 +00:00
Matthias Ettrich
b8858a8636 better configure handling
svn path=/trunk/kdebase/kwin/; revision=33076
1999-11-07 04:43:59 +00:00
Matthias Ettrich
d21739331f fixed desktop handling
svn path=/trunk/kdebase/kwin/; revision=33068
1999-11-07 02:07:03 +00:00
Matthias Ettrich
1884091309 update, usable with kicker now
svn path=/trunk/kdebase/kwin/; revision=33064
1999-11-07 01:43:06 +00:00
Matthias Ettrich
5b3d19e42d make it work again
svn path=/trunk/kdebase/kwin/; revision=32597
1999-11-02 15:17:15 +00:00
Matthias Ettrich
b62982b6d1 handling close without weird error messages. Dynamic style changes
without jumping.

svn path=/trunk/kdebase/kwin/; revision=32546
1999-11-02 00:32:31 +00:00
Matthias Ettrich
cb82f77388 run, not crash
svn path=/trunk/kdebase/kwin/; revision=32543
1999-11-01 23:41:44 +00:00
Francois-Xavier Duranceau
b626b02a95 Add messages target.
svn path=/trunk/kdebase/kwin/; revision=31668
1999-10-24 12:05:50 +00:00
Daniel M. Duley
c42791563d Started system style. Make sure to read the readme as it requires some new
gradient settings.

svn path=/trunk/kdebase/kwin/; revision=30586
1999-10-11 02:01:17 +00:00
Daniel M. Duley
37b09be6f3 A few fixes, moved colorgroups to the Options class (much nicer there), and
started on a fixed system style. If you try it out make sure to read the new
README, as it requires some gradient settings.

svn path=/trunk/kdebase/kwin/; revision=30585
1999-10-11 02:00:06 +00:00
Daniel M. Duley
b844f223e2 Might as well make colorgroups static too. Also fixed a memleak
(pixmaps_created was never set to true).

svn path=/trunk/kdebase/kwin/; revision=30498
1999-10-10 04:25:28 +00:00
Daniel M. Duley
92e1e869b1 Since Matthias commited something I felt bad for not doing any work on this
like I said I would and only working on style stuff ;-)

I added basic color scheme handling to the Options class. All styles should
use this for color values. Supported are titlebars, titleblends, fonts,
button foreground and background, button blend, frames and handles for both
active and inactive states. Also added active and inactive fonts.

Not all clients have to use all the values, but for the values they do use
they should get them from here.

I also ported StdClient and Beos to the new scheme. I will do a kcm module once
I do the System decoration style ;-)

svn path=/trunk/kdebase/kwin/; revision=30497
1999-10-10 03:22:21 +00:00