Commit graph

20560 commits

Author SHA1 Message Date
Luboš Luňák
dfcc58b00f Fix #49369 and generally try to improve window matching.
Use WM_WINDOW_ROLE also for fake sessions (Save window settings).
Remember also window type.

svn path=/trunk/kdebase/kwin/; revision=185456
2002-10-24 16:22:15 +00:00
Luboš Luňák
7c33e280ef Fix #39172. Send the synthetic configure notify event _after_ reparenting
into WindowWrapper (in WindowWrapper::show() triggered by Client::show()).
Some toolkits go up the window hiearchy when finding the "real" position
of the window (i.e. the topleft decoration border corner), and if they
receive the ReparentNotify after the synthetic ConfigureNotify, they'll
miscalculate it. (Hmm, I wonder how Qt does it since it gets it right.)

CCMAIL: 39172-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=185453
2002-10-24 15:47:09 +00:00
Luboš Luňák
4304971dfd Fix #22189.
CCMAIL: 22189-done@bugs.kde.org

svn path=/trunk/kdebase/kwin/; revision=185452
2002-10-24 15:39:36 +00:00
Luboš Luňák
a6304cef72 Fix #30506 by handling the desktop and sticky flag together. The is_sticky
flag should go, desk == OnAllDesktops should be the same.

svn path=/trunk/kdebase/kwin/; revision=185277
2002-10-23 15:52:18 +00:00
Luboš Luňák
a5e9e177c0 Back to qt_window_role (KWin really shouldn't use Qt's internals :( ).
svn path=/trunk/kdebase/kwin/; revision=185265
2002-10-23 14:38:10 +00:00
Dirk Mueller
9e670223b9 remove debug output I accidentally committed and fix the class documentation
svn path=/trunk/kdebase/kwin/; revision=185193
2002-10-22 20:41:49 +00:00
Dirk Mueller
cb1c1ca86d argh, bloody Qt!!!
they renamed the internal variable we're using here :-)

svn path=/trunk/kdebase/kwin/; revision=185172
2002-10-22 18:17:44 +00:00
Luboš Luňák
9711f8b576 Workaround for stupid xv not setting WM_CLASS correctly.
svn path=/trunk/kdebase/kwin/; revision=185132
2002-10-22 11:57:43 +00:00
Script Kiddy
b95c6d8443 CVS_SILENT made messages
svn path=/trunk/kdebase/ksysguard/; revision=184723
2002-10-20 10:54:38 +00:00
Luboš Luňák
5aaf02f39f Oh boy, was I really so stupid to make assumptions based on what xv does?
svn path=/trunk/kdebase/kwin/; revision=184487
2002-10-18 13:25:19 +00:00
Luboš Luňák
6a1b175c7f Damn, I hate keeping BC in an application.
svn path=/trunk/kdebase/kwin/; revision=184473
2002-10-18 11:26:55 +00:00
Luboš Luňák
a508895993 Damn, I hate keeping BC in an application.
svn path=/trunk/kdebase/kwin/; revision=184470
2002-10-18 11:13:30 +00:00
Script Kiddy
1371ab7064 CVS_SILENT made messages
svn path=/trunk/kdebase/ksysguard/; revision=184466
2002-10-18 10:46:23 +00:00
Simon Hausmann
78cfbe9177 - now that KDE_CHECK_HEADERS takes care of defining HAVE_FOO_H (thx coolo)
we can use KDE_* here to make it look in more paths. Helps freebsd.
-AC_CHECK_HEADERS(X11/extensions/shape.h)
+KDE_CHECK_HEADERS(X11/extensions/shape.h)

svn path=/trunk/kdebase/kwin/; revision=184443
2002-10-18 08:30:38 +00:00
Luboš Luňák
a8f13c1c9b X resource name is the same for all app's windows, X resource class may
differ for the same app.
David says the correct spelling is 'faux pas' :).

svn path=/trunk/kdebase/kwin/; revision=184347
2002-10-17 14:48:34 +00:00
Script Kiddy
045810a50e CVS_SILENT made messages
svn path=/trunk/kdebase/ksysguard/; revision=184313
2002-10-17 11:19:57 +00:00
Script Kiddy
4ba135a478 CVS_SILENT made messages
svn path=/trunk/kdebase/ksysguard/; revision=184131
2002-10-16 10:40:01 +00:00
Luboš Luňák
e494dc3161 Fix #47757. Approved by Gallium.
svn path=/trunk/kdebase/kwin/; revision=184026
2002-10-15 13:42:35 +00:00
Luboš Luňák
35c890d029 Fix #44133. Approved by Gallium.
svn path=/trunk/kdebase/kwin/; revision=184025
2002-10-15 13:41:37 +00:00
Script Kiddy
097802e89d CVS_SILENT made messages
svn path=/trunk/kdebase/ksysguard/; revision=184004
2002-10-15 10:14:31 +00:00
Script Kiddy
2070165db3 CVS_SILENT made messages
svn path=/trunk/kdebase/ksysguard/; revision=183448
2002-10-12 10:41:21 +00:00
Script Kiddy
b32ed8c275 CVS_SILENT made messages
svn path=/trunk/kdebase/kcontrol/; revision=181890
2002-10-03 11:24:08 +00:00
Luboš Luňák
9003c81c4b Only added a comment.
svn path=/trunk/kdebase/kwin/; revision=181849
2002-10-03 10:04:10 +00:00
Script Kiddy
9d2b6d0f29 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=181492
2002-10-01 10:23:48 +00:00
Luboš Luňák
1a598b9bc0 Fix #33146 - don't create KNotify events e.g. for toplevel menubar.
Introduced Client::isDialog() and Client::isNormalWindow() checking
for NET::Dialog and NET::Normal, including NET::Unknown and workaround
for Qt<3.1 not setting NET::Dialog.

svn path=/trunk/kdebase/kwin/; revision=181308
2002-09-30 13:32:58 +00:00
Luboš Luňák
a70edeb06c I'd like to be able to send KWin KNotify evets to a file.
svn path=/trunk/kdebase/kwin/; revision=181297
2002-09-30 12:57:59 +00:00
Luboš Luňák
c8c79c3a02 Don't fix the window position if it will be placed using a placement policy.
svn path=/trunk/kdebase/kwin/; revision=181274
2002-09-30 12:00:08 +00:00
Luboš Luňák
826765b1df Don't remove focus from an auto-shaded window. That's the focus policy's
job to do it if it wants.

svn path=/trunk/kdebase/kwin/; revision=181231
2002-09-30 09:34:54 +00:00
Luboš Luňák
ad2369b5ac Fix #48378.
svn path=/trunk/kdebase/kwin/; revision=181220
2002-09-30 08:34:24 +00:00
Script Kiddy
6cdde35010 CVS_SILENT made messages
svn path=/trunk/kdebase/ksysguard/; revision=180858
2002-09-28 11:00:10 +00:00
Michael Brade
13a6aebdb3 Fixed "KNotes not movable with LMB", ok'ed by Lubos.
@@ -3011,7 +3011,7 @@ bool Client::isMovable() const
 {
     return may_move &&
         ( windowType() == NET::Normal || windowType() == NET::Dialog || windowType() == NET::Toolbar
-            || windowType() == NET::Menu ) &&
+            || windowType() == NET::Menu || windowType() == NET::Override ) &&
         ( !isMaximized() || ( options->moveResizeMaximizedWindows || max_mode != MaximizeFull ) );
 }

svn path=/trunk/kdebase/kwin/; revision=180738
2002-09-27 18:21:45 +00:00
Luboš Luňák
4c9d70a011 Fix #34085.
svn path=/trunk/kdebase/kwin/; revision=180512
2002-09-26 11:56:21 +00:00
Luboš Luňák
827740d489 Fix #47239 - if the window has specified resize increments, don't
remove left/right border for it when it's maximized, that would resize the window

svn path=/trunk/kdebase/kwin/; revision=180151
2002-09-24 17:18:02 +00:00
Luboš Luňák
eb23058aef <stdlib.h> for abort()
svn path=/trunk/kdebase/kwin/; revision=180149
2002-09-24 17:01:49 +00:00
Luboš Luňák
29b6f2b279 Fix #47625.
svn path=/trunk/kdebase/kwin/; revision=180142
2002-09-24 16:29:20 +00:00
Luboš Luňák
20696ccf38 Looks like r1.53 didn't get it right for translated texts. I hope this
version of the mess is better.

svn path=/trunk/kdebase/kwin/; revision=180134
2002-09-24 16:03:45 +00:00
Ellis Whitehead
f86f8f1378 Only print out the primary shortcuts (not the secondary) in Workspace::clientPopup()
svn path=/trunk/kdebase/kwin/; revision=180120
2002-09-24 14:23:13 +00:00
Aaron J. Seigo
4706a46264 disambiguate the window manager references in the titlebar menu
Sto&re Settings => Sto&re Window Settings
Configur&e => Configur&e Window Behavior...

svn path=/trunk/kdebase/kwin/; revision=179542
2002-09-22 03:33:06 +00:00
Aaron J. Seigo
afc58ef42e wrong event raised on shading, bug #21417
-        Events::raise( s ? Events::ShadeDown : Events::ShadeUp );
+        Events::raise( s ? Events::ShadeUp : Events::ShadeDown );

svn path=/trunk/kdebase/kwin/; revision=179541
2002-09-22 03:31:12 +00:00
Script Kiddy
283e6873ff CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=179393
2002-09-21 12:10:33 +00:00
Waldo Bastian
8b8418c3e8 QMetaObject::findSignal:KWinDecorationModule: Conflict with KCModule::changed(bool)
svn path=/trunk/kdebase/kwin/; revision=179300
2002-09-20 23:51:27 +00:00
Matthias Ettrich
251c8ec906 disable the close icon (rather than not-checking it!) on non-closeable
windows. Make toolbars closeable by default (I really love to be able
to close kpager again)

svn path=/trunk/kdebase/kwin/; revision=178978
2002-09-19 17:22:31 +00:00
Waldo Bastian
2877125bb1 * Don't delete the config twice
* Keep the individual panels working.

svn path=/trunk/kdebase/kwin/; revision=178335
2002-09-16 20:54:23 +00:00
Waldo Bastian
a2b61de367 Merge tabs back into one panel. (Partial revert)
KDE 3.1 Control Center reorganisation.
See http://usability.kde.org/activity/kcontrol_structure_3_1.html

svn path=/trunk/kdebase/kwin/; revision=178308
2002-09-16 19:03:20 +00:00
Luboš Luňák
88c7d513f6 Use KLibrary::hasSymbol() before actually using symbol() in order to
avoid warning from KLibrary in case the symbol doesn't exist.

svn path=/trunk/kdebase/kwin/; revision=178239
2002-09-16 14:14:29 +00:00
Script Kiddy
3c76926248 CVS_SILENT made messages
svn path=/trunk/kdebase/kwin/; revision=178183
2002-09-16 10:13:02 +00:00
Fredrik Höglund
76a41a4709 - Changed the filename regexp based on a suggestion from Charles.
svn path=/trunk/kdebase/kwin/; revision=178060
2002-09-15 19:19:52 +00:00
Fredrik Höglund
ae8a8f227d - Rewrote the mouse position code and increased the size of
the bottom diagonal resize corners for usability reasons.

svn path=/trunk/kdebase/kwin/; revision=178059
2002-09-15 19:13:38 +00:00
Waldo Bastian
244ed91882 KDE 3.1 Control Center reorganisation.
See http://usability.kde.org/activity/kcontrol_structure_3_1.html

svn path=/trunk/kdebase/kcontrol/; revision=177885
2002-09-15 05:02:49 +00:00
Script Kiddy
4426ca02a9 CVS_SILENT made messages
svn path=/trunk/kdebase/ksysguard/; revision=177730
2002-09-14 11:46:36 +00:00