forked from pekwm/pekwm
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathChangeLog
3652 lines (2726 loc) · 133 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2006-02-16 Claes Nästén <me{@}pekdon{.}net>
* src/CfgParserSource.cc (close):
Fix error causing signal handlers not beeing restored.
2006-02-15 Claes Nästén <me{@}pekdon{.}net>
* data/scripts/pekwm_ws_menu.pl:
Using updated pekwm_ws_menu.pl script from Aristotle Pagaltzis
using COMMAND instead of Dynamic to speed up menus.
Workspace can change at runtime using tools outside pekwm, to
reflect the changes one will have to reload pekwm. To avoid having
to do that one can replace COMMAND with
Entry { Actions = "Dynamic path_to_script ..." } and skip the -n
flag.
( Thanks Aristotle Pagaltzis <pagaltzis{@}gmx{.}de> for patch )
* src/CfgParser.cc (parse):
Add missing popping of source name in name list, causing incorrect
search path on includes.
Do not print warning of INCLUDEs failing when path is not used, only
print when path included.
Fix parser error causing last line of buffer not beeing parsed.
2005-09-11 Claes Nasten <pekdon{@}pekdon{.}net>
* src/CfgParser.cc (parse):
Fixed newline handling so now it's possible to start sections
on a new line after the name of the section. Closing #64
( Thanks <angel2k{@}gmail{.}com> for reporting )
* src/AutoProperties.cc (parseAutoGroup):
Fixed incorrect parsing of Group name causing autogrouping not
to work between different applicatiions. Closing #65
( Thanks <nospaulatu{@}gmail{.}com> for reporting )
2005-08-23 Claes Nasten <pekdon{@}pekdon{.}net>
* src/Frame.cc (getState):
Client iconified state was beeing overridden by setWorkspace causing
iconified autoproperty not alwasy working. Closing #56.
( Thanks <nospaulatu{@}gmail{.}com> for reporting )
2005-08-22 Claes Nasten <pekdon{@}pekdon{.}net>
* src/RegexString.cc:
Reimplemented RegexString class, now only updates matched part of the
string, it's possible to reference 0 which is whole match. Reference
syntax has changed from $1 to \1. Remember to escape \ in
configuration files as the configuration file parser while escape it
while parsing.
2005-08-17 Claes Nasten <pekdon{@}pekdon{.}net>
* src/CfgParser.cc:
Reimplemented CfgParser class, now doesn't use stringstream that
behave bad on various version of compilers and platforms. Resolves
issues on PPC. More extensive error reporting of syntax errors and
parsed values. INCLUDE "file" syntax changed to INCLUDE = "file".
2005-08-13 Claes Nasten <pekdon{@}pekdon{.}net>
* src/Config.cc:
Changed ClientUniqueNames to UniqueNames and added bool SetUnique
option.
2005-07-09 Claes Nasten <pekdon{@}pekdon{.}net>
* src/Frame.cc (handleClientMessage):
Fixed incorrect handling of _NET_ACTIVE_WINDOW. Now the window will
be shown, and if not on the current workspace the workspace is
changed.
2005-06-23 Claes Nasten <pekdon{@}pekdon{.}net>
* src/CmdDialog.cc:
Made CmdDialog and WindowMenu use the window object and not only
the client associated with an action.
Made CmdDialog obey stacking rules (were not inserted into the
workspaces stacking list before.)
* src/ActionHandler.cc:
Added extra bool parameter to ShowMenu action settin the sticky state
of windows when showing, defaults to false. Altered the behaviour of
menus unsetting sticky state on close. Closing #54
( Thanks Jyri Jokinen <shared{@}adresh{.}com> for request )
2005-06-20 Claes Nasten <pekdon{@}pekdon{.}net>
* src/WindowManager.cc (doReload):
Reordered loading of themes and loading of autoproperties on reload
to fix issue with old theme data beeing used when setting geometry
from autoproperties, which caused resize and redraw. Closing #53
( Thanks Jyri Jokinen <shared{@}adresh{.}com> for reporting )
2005-06-16 Claes Nasten <pekdon{@}pekdon{.}net>
* src/CmdDialog.cc (mapCenteredOnWORef):
Added sanity checks to CmdDialog::mapCenteredOnWORef to make sure
the CmdDialog gets mapped inside the nearest head. Closing #49
* src/PScreen.cc (getHeadInfoWithEdge):
To unify strut and harbour edge handling harbour edge now is
described by a strut wich greatly decreases complexity.
Frame::fillHeadInfo was moved to PScreen::getHeadInfoWithEdge which
now has replaced most of the calls to PScreen::getHeadInfo and
thus makes things like MouseNotUnder placement respect the Harbour
and Strut applications. Closing #50
2005-06-13 Claes Nasten <pekdon{@}pekdon{.}net>
* src/PTexturePlain.cc:
Added 4 extra boolean parameters to SolidRaise for setting which
corners to draw (Top Bottom Left Right). If omitted all are going
to be drawn, aka old default behaviour. It now also possible to use
line width of 0 to make sure lines are render completly out to the
edges.
2005-06-10 Claes Nasten <pekdon{@}pekdon{.}net>
* src/ScreenResources.hh:
Fixed CursorType enum issue causing invalid cursor beeing displayed
when hoovering decor border. Closing #44
( Thanks Jyri Jokinen <shared{@}adresh{.}com> for reporting )
* src/PDecor.cc (doMove):
Added boolean ShowStatusWindow option to the Screen section of
the main config file determing wheter to show the status window when
doing Move, Resize and KeyboardMoveResize. Closing #41
( Paul Seropian <nospaulatu{@}gmail{.}com> for request )
2005-05-31 Claes Nasten <pekdon{@}pekdon{.}net>
* src/PDecor.cc (restackBorder):
Updated PDecor::restackBorder to include titlebar and child when
restacking. Now child will always appear ontop and windows are
restacked with XRestackWindows instead of individual calls to
raise and lower. Closing #34
* src/PMenu.cc (buildMenuRenderItem):
Added padding of PMenu arrow texture so it won't go over menu entries
text. Padding used is right padding from the text to the arrow and
right padding from the arrow to the right border. Closing #37
( Thanks angel2k{@}gmail{.}com for reporting )
* src/PImageNativeLoaderPng.cc (load):
Added missing fclose to PImageNativeLoaderPng::load. Closing #36
( Thanks dev{@}gim{.}name for reporting )
2005-05-20 Claes Nasten <pekdon{@}pekdon{.}net>
* src/Client.cc (giveInputFocus):
Removed WM_TAKE_FOCUS sending from Client::giveInputFocus. It's not
beeing handled correctly thus disrupting focus. ICCCM and EWMH
compliance should be reworked and verified in the future.
2005-05-19 Claes Nasten <pekdon{@}pekdon{.}net>
* src/WindowManager.cc (sigHandler):
Changed WindowManager::reload to set a reload flag that will be
handled from the main loop to get rid of evil race conditions.
This isn't perfect yet as it needs a better main event loop,
currently reload will wait until an event reaches the queue.
* src/PMenu.cc (selectItem):
Fixed BadDrawable error doing XCopyArea to non-mapped window.
* src/WindowManager.cc (handleFocusOutEvent):
Now making sure we have FocusIn events in the queue when getting
FocusOut events on the currently focused PWinObj. Closing #32
( Thanks <largon{@}largon{.}net for reporting )
* src/Theme.cc (load):
Fixed crash issue when starting pekwm with empty Theme directive,
can be caused by completly missing configuration files or broken
configuration files.
( Thanks Alan Jurgensen <jurgensen{@}berbee{.}com> for reporting )
* src/PImage.hh:
New Image handling code with native backend supporting loading of
JPG (libjpeg), PNG (libpng) and XPM (libXpm) or using Imlib2 as
backend supporting its image formats. Now, pekwm also can be compiled
without any Image support at all thus removing the libXpm dependency.
This code is experimental and incomplete, there is no support for
shaping and Imlib2 backend is still incomplete. Expect updates soon.
2005-05-15 Claes Nasten <pekdon{@}pekdon{.}net>
* src/DockApp.cc (readClassHint):
DockApp::readClassHint were using effective (which can be the iconic)
dock app window when searching for the hint but should instead use
the client window. Fixing issues with harbour sorting.
* src/PDecor.cc (activateChild):
Removed restackBorder from PDecor::activateChild and now raising
active child if any after restacking border. Closing #30
( Thanks Juraj Ziegler <next{@}hysteria{.}cz> for reporting )
2005-05-14 Claes Nasten <pekdon{@}pekdon{.}net>
* src/Workspaces.cc (getTopWO):
Now more carefull validation of what PWinObj to focus when changing
workspace including fallback to root window if focusing fails.
Added check for focusability in Workspaces::getTopWO so only
mapped anf focusable PWinObjs are returned.
2005-05-11 Claes Nasten <pekdon{@}pekdon{.}net>
* src/Theme.cc (load):
Improved theme validation, now pekwm manages to start with empty or
nonexistent theme file. Closing #9
( Thanks Jan Matejek <matejcik{@}gmail{.}com> for reporting )
* src/PDecor.cc (applyBorderShape):
Changed shaped window behaviour, now shaped windows will appear to
be borderless even if they didn't request so however titlebar is
kept. This is basically the behaviour of TWM. Closing #3
( Thanks Jyri Jokinen <shared{@}adresh{.}com> for reporting )
* src/PDecor.cc (getBorderSize):
Added size validation in getBorderSize to fix issues with unsigned
value wrap.
2005-05-09 Jyri Jokinen <shared{@}adresh{.}com>
* data/keys:
Fixed two typos, one that caused half the file not to be parsed
and made it impossible to menu navigate or MoveResize with keys.
( Thanks agnitio and David Frey <dpfrey{@}shaw{.}ca> for reporting )
2005-05-09 Claes Nasten <pekdon{@}pekdon{.}net>
* src/CmdDialog.cc (exec):
Altered CmdDialog::exec behaviour, now when entering commands in
the CmdDialog and it doesn't matches a valid Action we now assume
it's an Exec action.
* src/WindowManager.cc (handleFocusInEvent):
Now flushing Enter and Leave events when found an usable FocusIn
event to stop them from interfering with the focus policy.
Closing #1
NOTE: This might have focusing side effects, please report if
experiencing any weird focus behaviour.
( Thanks Jyri Jokinen <shared{@}adresh{.}com> for reporting )
* src/PDecor.cc (Button):
Removed CWEventMask from PDecor::Button windows so that we can
distinguish wheter or not the pointer were on the button on
button release. Closing #10
( Thanks dbertonus{@}yahoo{.}com for reporting )
2005-05-08 Claes Nasten <pekdon{@}pekdon{.}net>
* src/Client.cc (getEwmhStates):
Extend CfgDeny AutoProperty/StateAction with 7 new properties to
ignore.
* ActiveWindow, used to show and give input focus.
* MaximizedVert, used to maximize window vertically.
* MaximizedHorz, used to maximize window horizontally.
* Hidden, used to show/hide window.
* Fullscreen, used to set windot to fullscreen mode.
* Above, used to make window (always) above other windows.
* Below, used to make window (always) below other windows.
* src/Frame.cc (getState):
Fixed bug in Frame::getState caused initial fullscreen mode not to
work properly by syncing titlebar and border state after setting
fullscreen state and thus overriding the removal fullscreen caused.
* src/Frame.cc (Frame):
Added Client::setConfigureRequestLock which is used when doing
multiple tasks (like unsetting border and titlebar decor) at the
same time to minimize the number of ConfigureRequest events beeing
sent.
* src/PDecor.cc (PDecor):
Resource usage fixes. Add missing returnPixmap for the title
background on PDecors.
2005-05-07 Claes Nasten <pekdon{@}pekdon{.}net>
* src/Client.cc (Client):
Modified the behaviour of ApplyOn Start autogrouping, now groups
are preserved when doing restart in such a sense previously pekwm
managed windows will remain in their groups. New clients however
will be added to the groups if suitable. Closing #17
( Thanks Anders Engstrom <ankan{@}nianze{.}com for request )
* src/PDecor.cc (setTitlebar):
Updated PDecor::setTitlebar, PDecor::setBorder and PDecor::resize to
make it safe from disappearing as shading a non full width title
removes border etc. Closing #23 and #24
( Thanks Jyri Jokinen <shared{@}adresh{.}com> for reporting )
2005-05-03 Claes Nasten <pekdon{@}pekdon{.}net>
* src/Frame.cc: (Frame)
Applied parts of patch from Rob McDonald reenabling DecorRules and
fixing some small errors.
( Thanks Rob McDonald <frobnoid{@}gmail{.}com> for patch )
* src/PDecor.cc (resize):
Now PDecor::resize doesn't unshade if shaded, just updates the
real_height property so that it will unshade to the correct size.
This fixes two known, and probably some unknown issues where
decors have been unshaded unwillingly.
* src/CfgParser.cc (parseCComment):
Fixed infinte loop when garbage / (with no / or * following) were
found in configuration files.
2005-05-02 Claes Nasten <pekdon{@}pekdon{.}net>
* src/Config.cc (copyConfigFiles):
Added vars file to default set of config files.
* src/CfgParser.cc (load):
Now, the INCLUDE directive will first try the current working
directory / absoulte path (old behaviour) and if that fails it
will try to include the file relative from the directory the
current file resides.
Fixed broken testcase in Parser::safeSubstr.
* src/CmdDialog.cc (handleKeyPress):
Added two new actions for CmdDialog. CursBegin and CursEnd. Names
beeing self explanatory.
* src/CmdDialog.cc (bufChanged):
Updated CmdDialog behaviour. HistNext and HistPrev actions now move
the cursor to the end of the line. Also, scrolling of text behaves
more naturally and a position at 0 bug was fixed.
* src/PDecor.cc (PDecor):
Added missing initializer of PDecor member _button. Fixing segfault
caused by using _button pointing on undefined. Closing #22
( Thanks Jyri Jokinen <shared{@}adresh{.}com> for reporting )
2005-05-01 Claes Nasten <pekdon{@}pekdon{.}net>
* src/PDecor.cc (renderTitle):
Initial work of having PWM like titlebars with the border below the
titles. This introduces three new theme options:
* WidthMin, minimum width of title in pixels.
* WidthMax, maximum width of titles in percent relative to width.
This value overides WidthMin if it's smaller.
* WidthSymetric, symetric "tab" width.
To make the title use the old and default style of handling the title
set WidthMin to 0.
* src/PDecor.cc (setFocused):
PDecor::applyBorderShape to actually apply the shape beeing set on the
individual border pieces in PDecor::setBorder. This caused shaped
borders not beeing shaped for real until one resized the window.
Closing #14
( Thanks Jan Matejek <matejcik{@}gmail{.}com> for reporting )
2005-04-27 Claes Nasten <pekdon{@}pekdon{.}net>
* src/Frame.cc (handleConfigureRequest):
Added new AutoProperty and StateAction, CfgDeny. It takes one
parameter which can be Position, Size or Stacking which decides
wheter or not pekwm should listen on those parts of
ConfigureRequest made on the client. Closing #19
Should be extended with overides of EWMH/ICCCM atoms in the future.
* src/Frame.cc (updateInactiveChildInfo):
Making sure all Clients in a Frame now get their state updated before
shutting down pekwm to ensure geometry and state beeing preserved.
* src/Harbour.cc (restack):
Added setting of layer to restack before raise/lower to make
harbour ontop setting be updated on reload. Closing #11
* src/PTexturePlain.cc (render):
Fixed missing replacement of width/height 0 to texture specified
size. This was noticed when trying to use plain textures (no image
to set the size) as separators. Closing #20
( Thanks Jyri Jokinen <shared{@}adresh{.}com> for reporting )
2005-04-25 Claes Nasten <pekdon{@}pekdon{.}net>
* src/Config.cc (parseAction):
Replaced MoveClient{Next,Prev} with MoveClientRel action taking
a integer argument. MoveChildRel 1 equals MoveChildNext and
MoveChildRel -1 equals MoveClientPrev.
Replaced {Next,Prev}InFrame with ActivateClientRel action taking
a integer argument. ActivateClientRel 1 equals NextInFrame and
ActivateClientRel -1 equals PrevInFrame.
* src/PDecor.cc (moveChildRel):
Fixed broken behaviour of MoveClient{Next,Prev} not working
correctly. Closing #21
( Thanks Jyri Jokinen <shared{@}adresh{.}com> for reporting )
2005-04-23 Claes Nasten <pekdon{@}pekdon{.}net>
* src/PScreen.cc (getNearestHead):
Applied patch improving Frame handling in Xinerama mode by replacing
getHead with getNearestHead.
( Thanks David Frey <dpfrey{@}shaw{.}ca > for patch )
2005-04-10 Claes Nasten <pekdon{@}pekdon{.}net>
* src/Frame.cc (handleConfigureRequest):
Now gravity is obeyd when handling configurerequests.
2005-03-29 Claes Nasten <pekdon{@}pekdon{.}net>
* src/CmdDialog.cc (loadTheme):
Fixed issue with CmdDialogs font color not beeing correctly set.
Closing #13
( Thanks Jyri Jokinen <shared{@}adresh{.}com> for reporting )
* src/WindowManager.cc (screenEdgeMapUnmap):
Now screen edge is disable if edge size equals 0.
Closing #12
( Thanks Aristotle Pagaltzis <pagaltzis{@}gmx{.}de> for reporting )
2005-02-27 Claes Nasten <pekdon{@}pekdon{.}net>
* src/ColorHandler.cc (getColor):
Now handling EMPTY colors without issuing a warning, they are
indeed intentionally left empty.
* src/Frame.cc:
Added support for the Viewport keyword in autoproperties, it had
been left dangling for quite some while now.
Example: Viewport = "Col Row"
( Thanks Geir Isene <geir{@}freecode{.}no for request )
2005-02-26 Claes Nasten <pekdon{@}pekdon{.}net>
* src/Client.cc (readEwmhHints):
Added Splash and Dialog type to the handling of _NET_WM_WINDOW_TYPE
hint, applications get completly decorless using that hint.
Closing #8
( Thanks Aristotle Pagaltzis <pagaltzis{@}gmx{.}de> for reporting )
2005-02-09 Claes Nasten <pekdon{@}pekdon{.}net>
* src/WindowManager.cc (familyRaiseLower):
Fixed typo causing {Raise,Lower} True not affecting parent window
if issued on a child. Closing #4
( Thanks Jyri Jokinen <shared{@}surffi{.}net> for reporting )
* src/PDecor.cc (setDecor,setDecorOverride):
Changed decor name setting behaviour, now if one overrides used the
decor with Set Decor action it won't change when toggling border and
titlebar as before. Closing #6
( Thanks Jyri Jokinen <shared{@}surffi{.}net> for request )
* src/Config.cc (parseActionState):
Fixed Set Decor action, SetDecor failed to get updated to the
new format.
* src/Config.cc, src/PMenu.cc :
Fixed issues with extra #ifdef MENUS causing compilation to fail.
Closing #5
( Thanks Fernando Serboncini <fserb{@}gentoo{.}org> for reporting )
2005-01-30 Claes Nasten <pekdon{@}pekdon{.}net>
* src/Config.cc:
Added more bounds checking in parser.
* src/WindowManager.cc (familyRaiseLower):
Fixed logic in {Raise,Lower} True actions, now parent window will lie
under the child window as expected.
( Thanks Jyri Jokinen <shared{@}surffi{.}net> for request )
2005-01-28 Claes Nasten <pekdon{@}pekdon{.}net>
* src/Action.hh, src/ActionHandler.cc, src/Config.cc:
Applied patch removing {Raise,Lower}Family actions, instead using bool
parameter.
( Thanks Matt Hayes <nobomb{@}gmail{.}com> for patch )
2005-01-27 Claes Nasten <pekdon{@}pekdon{.}net>
* src/PDecor.cc (getChildFromPos):
Fixed logic, didn't like weird values before causing clients to perform
actions on not beeing executed.
* src/Viewport.cc (moveToWO):
Added sanity check making sure the PWinObj actually is inside the visible
area of the screen.
2005-01-16 Claes Nasten <pekdon{@}pekdon{.}net>
* data/themes/default/theme:
New default theme by Christoph Strake imported.
( Thanks Christoph Strake <me{@}chr1z{.}de> )
* src/Client.cc:
Fixed ICCCM compliance issue causing windows not being drawn in
fbpanel's pager when beeing on other than the current workspace.
( Thanks pooh for reporting )
* src/PDecor.cc:
Fixed bug causing window to "jump" border + title height/width when
initiating move.
( Thanks Jyri Jokinen <shared{@}surffi{.}net> for reporting )
2005-01-06 Claes Nasten <pekdon{@}pekdon{.}net>
* src/Image.cc:
Fixed ops causing incorrect alignment of images. Caused by missing
GCTileStpYOrigin flag set.
* src/PMenu.cc, src/Theme.cc, src/Theme.hh:
Applied patch to add texture indicating submenus. To configure add
Arrow parameter the different states in the Menu section of themes.
Parameter is an ordinary Texture.
( Thanks Matt Hayes <nobomb{@}gmail{.}net> for patch )
2004-12-29 Claes Nasten <pekdon{@}pekdon{.}net>
* src/PWinObj.hh, src/PDecor.cc, src/PDecor.hh, src/Viewport.cc:
Added do_virtual option to PWinObj::move to control wheter or not
to update virtual position of PWinObjs when moving. This was added to
be able to control setting of _PEKWM_FRAME_VPOS hint needed when
shutting down making all Clients appear inside the "real" screen.
( Thanks Magnus Holmgren <mh{@}pekdon{.}net> for reporting )
2004-12-23 Claes Nasten <pekdon{@}pekdon{.}net>
* src/*:
Looked over setFocusedPWinObj and getFocusedPWinObj which should fix
issues with FocusToggle action and FocusedFirst property of autogrouping
always going to the same Frame.
* src/FrameListMenu.cc:
Changed the / | \ style group indication to using menu separators instead.
2004-12-22 Claes Nasten <pekdon{@}pekdon{.}net>
* src/ActionHandler.cc, src/WindowManager.cc:
Moved FocusDirectional and FocusToggle actions over to ActionHandler
where they belong.
* src/PWinObj.cc, src/PWinObj.hh:
Added new hidden state to PWinObjs for non-Frame PWinObjs so that they
can be considered in stacking etc but not mapping/unmapping. Fixed bug
that caused StatusWindow go under the menus.
* src/PMenu.cc:
Fixed bug caused menus beeing unmapped when dragged (WarpToWorkspace)
to a new workspace.
2004-12-20 Claes Nasten <pekdon{@}pekdon{.}net>
* src/Client.cc:
_NET_WM_STATE property should be correct now.
* src/WindowManager.cc:
_NET_ACTIVE_WINDOW wasn't set correctly on Frames with more
than one Client.
* src/Config.cc, src/Config.hh:
Removed GrabWhenResize option as it used anymore.
2004-12-18 Claes Nasten <pekdon{@}pekdon{.}net>
* src/PDecor.cc, src/FontHandler.cc, src/PFont.hh:
Fixed various compile-issues with old gcc-2.95.
2004-12-13 Claes Nasten <pekdon{@}pekdon{.}net>
* src/Config.cc:
Renamed some sections in the mouse file, Frame now is FrameTitle and
FrameBorder is Border. Added section OtherTitle ( actions for decors
such as the menu or command dialog )
* src/PMenu.cc, Theme.cc:
Implemented menu separators, texture in the theme file is named
Separator and a separator currently is added to the menu by adding
an empty section named Separator: Separator { }
2004-12-12 Claes Nasten <pekdon{@}pekdon{.}net>
* src/PDecor.cc, src/PDecor.hh, src/Frame.cc, src/Frame.cc:
Moved handling of ButtonPress and ButtonRelease over to PDecor so that
button presses on decor buttons works for menus and command dialog too.
* src/Viewport.hh(isInside):
Changed criteria to decide wheter or not a PWinObj is inside the viewport,
should resolve some focus issues.
* src/PDecor.cc(placeButtons,getChildFromPos):
Fixed bug causing clicks on the titlebar not beeing applied on any client
if width of the button was greater than the width of the decor.
( Thanks Jyri Jokinen <shared{@}surffi{.}net> for reporting )
2004-12-02 Claes Nasten <pekdon{@}pekdon{.}net>
* src/PDecor.cc(setWorkspace), src/Client.cc(setWorkspace):
Fixed bug causing infinite loop when client set sticky.
( Thanks Oliver Kraitschy <okraits{@}compuserve{.}de> for reporting )
* src/WindowManager.cc (handleButtonPressEvent, handleButtonReleaseEvent):
Fixed bug causing Frames with more than Client in it not reacting on
button press/release on decor buttons.
( Thanks Jyri Jokinen <shared{@}surffi{.}net> for reporting )
* src/WindowManager.cc, src/Client.hh:
Overloaded handleButtonPress and handleButtonRelease for Client to
unify handling of events in WindowManager.
2004-11-29 Claes Nasten <pekdon{@}pekdon{.}net>
* src/PDecor.cc:
Using selected color on single client decors.
( Thanks Oliver Kraitschy <okraits{@}compuserve{.}de> for request )
2004-11-28 Claes Nasten <pekdon{@}pekdon{.}net>
* src/ActionMenu.cc:
Fixed crash issue with dynamic menus and submenus.
( Thanks Oliver Kraitschy <okraits{@}compuserve{.}de> for reporting )
* src/Frame.cc, src/Client.cc:
Fixed issue with autorop geometry and workspace not beeing set correctly.
( Thanks Oliver Kraitschy <okraits{@}compuserve{.}de> for reporting )
2004-11-27 Claes Nasten <pekdon{@}pekdon{.}net>
* src/Frame.cc, src/Client.cc, src/Config.cc:
Added two new actions, SetTitle and UnsetTitle for setting titles on
client windows.
2004-11-24 Claes Nasten <pekdon{@}pekdon{.}net>
* src/PDecor.cc, PDecor.hh, PMenu.cc, CmdDialog.cc, StatusWindow.cc:
Added more standard decors than DEFAULT, now there also is MENU,
CMDDIALOG and STATUSWINDOW.
2004-11-04 Claes Nasten <pekdon{@}pekdon{.}net>
* src/CmdDialog.cc, src/CmdDialog.hh, src/Config.cc, src/Action.hh:
CmdDialog work, added three new actions Close, HistNext and HistPrev
and renamed Add to Insert and {Next,Prev} to Curs{Next,Prev}.
Hist{Next,Prev} lets you access the last issued commands.
2004-10-31 Claes Nasten <pekdon{@}pekdon{.}net>
* src/Workspaces.cc, src/Config.cc:
Added new placementmodel MouseNotUnder placing the windows trying to
make it not end up under the cursor instead it places the windows
in the screen corners.
2004-10-25 Claes Nasten <pekdon{@}pekdon{.}net>
* src/Config.cc:
Fixed two opses causing MoveVertical do resize instead of move and
ViewportGoto not working correctly.
( Thanks Peter Nelson <rufus{@}hackish{.}org> for reporting )
* src/Client.cc:
Tweaked focus + autogroup (behind) behaviour as it caused trouble
giving input focus on a non activated child.
( Thanks Jyri Jokinen <shared{@}surffi{.}net> for reporting )
2004-10-24 Claes Nasten <pekdon{@}pekdon{.}net>
* src/PDecor.cc:
Incorrect event_mask causing ConfigureRequest not beeing handled
properly making applications like gkrellm and xmms behave weird.
2004-10-18 Claes Nasten <pekdon{@}pekdon{.}net>
* src/*:
Renamed EnterMovingFrame to EnterMoving as it should apply on all
PDecor derived objects.
* src/PMenu.cc:
Fixed bug causing columns other than the first beeing non-functional (
selecting, execing etc )
Fixed ops causing items in the Goto series of menus not to react on
button presses.
( Thanks Jyri Jokinen <shared{@}surffi{.}net> for reporting )
* src/PDecor.cc:
Fixed decor not beeing updated correctly when toggling titlebar/border.
( Thanks Jyri Jokinen <shared{@}surffi{.}net> for reporting )
* src/Client.cc, src/Frame.cc:
Fixed autoproperties ClientGeometry and FrameGeometry not working as
they should.
( Thanks Jyri Jokinen <shared{@}surffi{.}net> for reporting )
* src/FrameListMenu.cc:
Fixed ops causing GotoClient menus not to do any actual work, just list
clients.
( Thanks Jyri Jokinen <shared{@}surffi{.}net> for reporting )
* src/Config.cc:
Fixed ops causing the Menu section in the main config file not beeing
parsed properly.
( Thanks Jyri Jokinen <shared{@}surffi{.}net> for reporting )
2004-10-17 Claes Nasten <pekdon{@}pekdon{.}net>
* src/PDecor.cc:
Fixed crash bug caused when mapping title/border less applications.
( Thanks amongst others mh and okraits for reporting )
2004-10-13 Claes Nasten <pekdon{@}pekdon{.}net>
* src/*:
Removed optional compile of keygrabber as code is shared with the
CmdDialog making it have very little effect.
2004-10-09 Claes Nasten <pekdon{@}pekdon{.}net>
* src/CmdDialog.cc, src/CmdDialog.hh, src/Config.cc, src/Config.hh:
Added CmdDialog, simple text field that lets you enter pekwm commands
and then execute them. Valid actions are currently all actions valid
for the keygrabber. To configure the behaviour of the dialog one
section in the keys file and one in the mouse file has been added.
In the mouse file an Other section has been added mainly to control
focus behaviour of all PDecor based objects with non reimplemented
handle*Event methods.
In the keys file an CmdDialog section has been added, valid actions
are Add, Erase, Next ( move cursor ), Prev ( move cursor ), Clear, Exec.
The way to use Add is to put it as the last action configured and
make it support any mod/key to let you add text to box, example:
KeyPress = "Any" { Actions = "Add" }
Usefull actions are amongst other FindClient, Exec and RestartOther
2004-10-06 Claes Nasten <pekdon{@}pekdon{.}net>
* src/FontHandler.cc, src/FontHandler.hh, src/Theme.cc, src/Theme.hh:
Changed Font syntax from the old section orientated to a string
orientated. New format: "Font#Justify#Offset#Type" where Font is the
only field needed, Type field need to be last.
2004-10-03 Claes Nasten <pekdon{@}pekdon{.}net>
* src/PWinObj.hh:
Extended PWinObj event interface with KeyPress, KeyRelease and Expose.
2004-09-19 Claes Nasten <pekdon{@}pekdon{.}net>
* src/Harbour.cc, src/Harbour.hh, src/DockApp.cc, src/DockApp.hh:
Added a new option to the Harbour section of the main config file
named Sort. If set to true dockapps will be placed in order configured
via the Harbour section of the autoproperties file. Position is a
signed int and order goes as follows 1 2 3 0 0 0 -3 -2 -1 where numbers
other than 0 are offset relative to the start and end of dockapps.
Example of Harbour section of autoproperties file:
Harbour {
Property = "^obpager,^obpager" {
Position = "-1";
}
}
* src/PMenu.cc, src/PMenu.hh, src/Config.cc, src/Config.hh:
Made menu behaviour configurable, in the main config file a new
Menu section has been added containing three keywords: Select,
Enter and Exec which all can contain a space separate list of events
that should trigger respective action.
Example:
Menu {
Select = "Motion ButtonPress";
Enter = "ButtonPress";
Exec = "ButtonRelease";
}
2004-09-16 Claes Nasten <pekdon{@}pekdon{.}net>
* src/Config.cc, src/Config.hh:
Renamed FrameAttract and FrameResist options in MoveResize section to
WindowAttract and WindowResist.
2004-09-15 Claes Nasten <pekdon{@}pekdon{.}net>
* src/PScreen.cc, src/PScreen.hh, src/*:
Made getHead, getCurrHead and getHeadInfo availible even when xinerama
isn't enabled to reduce amount of #ifdef HAVE_XINERAMA in the code.
2004-09-10 Claes Nasten <pekdon{@}pekdon{.}net>
* src/WindowManager.cc:
Made WindowManger::RooWO focusable by setting _mapped property to true.
What does focus issues have to say about that?
2004-08-23 Claes Nasten <pekdon{@}pekdon{.}net>
* src/PFont.cc, src/PFont.hh, src/Theme.cc, src/Theme.hh:
Added support for alpha with Xft fonts, add ,alpha value to the color.
Alpha beeing a value between 0 to 65535.
Example: #203040,30000 and rgb:20/30/50,60200
2004-08-21 Claes Nasten <pekdon{@}pekdon{.}net>
* src/CfgParser.cc, src/CfgParser.hh, *:
Renamed BaseConfig.{cc,hh} to CfgParser.
2004-08-05 Claes Nasten <pekdon{@}pekdon{.}net>
* src/PScreen.cc, src/PScreen.hh:
Renamed Screen.{cc,hh} to PScreen.{cc,hh} to match with PScreen class.
* src/*:
Updated Copyright years.
2004-07-28 Claes Nasten <pekdon{@}pekdon{.}net>
* src/PWinObj.cc, src/PWinObj.hh, *:
Renamed WindowObject to PWinObj.
2004-07-14 Claes Nasten <pekdon{@}pekdon{.}net>
* src/FrameListMenu.cc (handleGotomenu):
Applied patch from Alexandra Walford <chroma{@}delusion{.}de>
adding a new menu, GotoClient which acts like the Goto menu but
lists all Clients instead of Frames.
* src/ActionHandler.cc (actionFindClient):
Applied patch from Alexandra Walford <chroma{@}delusion{.}de>
adding a new action, FindClient which searches the client list
for a Client which has a matching title ( Using RegexString ).
* src/WindowManager.cc (MATCH_GROUP):
Fixed signed vs unsigned compile warning introducing together with
infinte group size.
2004-07-13 Claes Nasten <pekdon{@}pekdon{.}net>
* src/Workspaces.cc:
Applied one line patch from Walter Mundt <emage{@}spamcop{.}net>
closing #46. Walter Mundt's comment on the bug:
"I think the problem is that when Workspaces gives input focus to
the last-focused window in the new workspace, it forgets to tell
the WindowObject class that it has done so. When the unmap events
come through, WindowObject says there's no focused object, so
WindowManager picks a new one -- the sticky window. Claes Nasten <pekdon{@}pekdon{.}net>
This patch fixes things."
2004-05-16 Jyri Jokinen <shared{@}surffi{.}net>
* data/*:
Continued reforming the configuration files.
( Thanks agnitio for testing and reporting oddities )
2004-05-15 Jyri Jokinen <shared{@}surffi{.}net>
* data/*:
Brought some new features to config files,
changing the mouse and keyboard config files most.
2004-04-27 Claes Nasten <pekdon{@}pekdon{.}net>
* src/Client.cc (Client):
Fixed infinite grouping ( size = 0 ).
2004-04-04 Jyri Jokinen <shared{@}surffi{.}net>
* autogen.sh:
Added an autogen.sh script for generating configure&make stuff.
2004-02-21 Claes Nasten <pekdon{@}pekdon{.}net>
* src/ActionHandler.cc (handleStateAction):
Fixed handling of menu sticky state. Closing #49
( Thanks Jyri Jokinen <shared at surffi.net> for reporting )
2004-02-01 Claes Nasten <pekdon{@}pekdon{.}net>
* data/themes/horizon/theme:
Added new theme named horizon by Alexandra Walford.
( Thanks Alexandra Walford <chroma{@}delusion{.}de> )
* src/BaseConfig.cc (parseCComment):
Added support for C ( /* */ ) and C++ ( // ) style comments.
2004-01-30 Claes Nasten <pekdon{@}pekdon{.}net>
* src/AutoProperties.cc (parseAutoProperty):
Added Focusable autoproperty. Closes #45
( Thanks Frank Frejes <frank{@}oopdreams{.}com> for request )
* src/BaseConfig.cc (variableDefine,variableReplace):
Added support for getting and setting variables from and to the
environment in config files. To access or set a global variable
use $_ instead of $ as a prefix.
* src/Client.cc (giveInputFocus,close):
Changed from WindowManager::getLastEventTime to CurrentTime as
to fix gtk2 spinbutton issue. Closes #10
( Thanks Frank Fejes <frank{@}oopdreams{.}com> for fix )
2004-01-18 Claes Nasten <pekdon{@}pekdon{.}net>
* src/Util.cc (setenv):
Rewrote setenv making parameters const and setting errno on
errors.
2004-01-15 Claes Nasten <pekdon{@}pekdon{.}net>
* src/Config.cc (parseKey):
Added support for specifying keys with keycodes instead of with
XString format. No changes needs to be made to old keybindings,
specifying keycodes is done by prefixing them with #.
2004-01-13 Claes Nasten <pekdon{@}pekdon{.}net>
* data/config.in:
Added ConfigUniqueNames section.
* src/Client.cc (titleFindID), src/Config.cc, src/Config.hh:
Added support for configuring unique window names, this is done
via a new sub-section in the Screen section of the config file
named ClientUniqueNames. Sample:
ClientUniqueNames = "True" {
Pre = " <";
Post = ">";
}
Would give: Title <2>
* data/scripts/pekwm_themeset.sh:
Fixed extra fi and made /bin/bash to /usr/bin/env bash to make it
work on systems with bash in a nonstandard place.
( Thanks Leo Costela <costela{@}debian{.}org> for reporting )
* src/WindowManager.cc (setupDisplay):
Added support for old RANDR input selection to fix compilation
issues with XFree86 < 4.3.
( Thanks Leo Costela <costela{@}debian{.}org> for reporting )
2004-01-12 Claes Nasten <pekdon{@}pekdon{.}net>
* src/Client.cc:
Added support for unique window names with the help of <1> style
indicators making them unique.
* src/main.cc (main), data/scripts/pekwm_themeset.{pl,sh}:
Added support for reading $PEKWM_CONFIG_FILE environment variable
at startup and setting it on configuration file so that it reflects
the active configuration file. Updated themeset scripts so that
they take advantage of this.
2004-01-11 Claes Nasten <pekdon{@}pekdon{.}net>
* src/Workspaces.cc (setWorkspace,gotoWorkspace):
Moved setWorkspace, gotoWorkspace ( and related ) methods over to
Workspaces class where they belong.
* src/FrameListMenu.cc:
Changed parent class to WORefMenu instead of BaseMenu directly.
Now Attach* and Goto menus don't display the currently focused
Frame ( as this makes most sense, as you can't attach to yourself
etc )
* src/ActionHandler.cc (handleAction):
Fixed bug causing ShowMenu beeing issued from Frame title clicks
referencing the incorrect Client.
* src/WORefMenu.cc, src/WORefMenu.hh:
Added new class which is used as a common interface for Window and
Decor menus which adds functionality of showing the clients name
in the title of the menu.
2004-01-09 Claes Nasten <pekdon{@}pekdon{.}net>
* src/WindowManager.cc (handleXRandrEvent):
Added support for XRANDR extension, on resolution change things
now should run smoothly.
* debian/*:
Removed debian/ directory as requested by Leo Costela.
( Thanks Leo Costela <costela at debian dot org for request )
* configure.ac:
Added check for XRANDR extension. ( enable by default if availible )
Made Xft2 check default to yes.
2004-01-03 Claes Nasten <pekdon{@}pekdon{.}net>