about summary refs log tree commit diff stats
path: root/event.c
Commit message (Collapse)AuthorAgeFilesLines
* applied Alex Elide's tricky patch, thanks!arg@mig292006-11-271-1/+0
|
* returning to old Key structarg@mig292006-11-271-5/+4
|
* changing Key.func into Key.func[NFUNCS], this allows sequences execution of ↵arg@mig292006-11-271-4/+5
| | | | functions per keypress (avoids implementing useless masterfunctions which call atomic ones)
* applied Jukka's sizeof K&R compliance patch, applied Manuels' last-line ↵arg@mig292006-11-261-2/+2
| | | | printage proposal for stdin reading.
* applied Gottox' windowarea patcharg@mig292006-11-161-8/+8
|
* make sure that changing sx has no impact on snapping 2.0arg@mig292006-10-311-1/+1
|
* fixed stupid bug of snap-to-screenarg@mig292006-10-301-4/+4
|
* changing snap priorityarg@mig292006-10-301-3/+3
|
* removed useless abs() callsarg@mig292006-10-301-2/+2
|
* added screen-border snapping in floating mode, feels quite wellarg@mig292006-10-301-0/+8
|
* and another fixarg@mig292006-10-271-1/+2
|
* applied sanders try2 patcharg@mig292006-10-271-1/+1
|
* moved MOUSEMASK into event.c (not used in other places)Anselm R. Garbe2006-10-161-0/+1
|
* do* has no Arg arument anymore (never called directly) 1.9Anselm R. Garbe2006-10-061-2/+2
|
* code polishing, removed unnecessary newlinesAnselm R. Garbe2006-10-061-7/+2
|
* removed the stack position stuffAnselm R. Garbe2006-10-051-6/+2
|
* Button3 click on mode label toggles stack position nowAnselm R. Garbe2006-10-051-0/+2
|
* added the new dotile as described on mlAnselm R. Garbe2006-09-291-2/+3
|
* I changed sanders patch to fix the ff issue to be simplier, though it needs ↵Anselm R. Garbe2006-09-291-3/+2
| | | | testing if this really fixes the issue
* first step to a more flexible dotile() algorithmAnselm R. Garbe2006-09-291-1/+4
|
* fixing the settags issue, preparing 1.7.1 1.7.1Anselm R. Garbe2006-09-271-0/+1
|
* removed an unused vararg@zarathustra2006-09-261-1/+0
|
* removed useless debug infoarg@mmvi2006-09-261-4/+0
|
* added configure(), but this doesn't really fix those frking broken SDL appsarg@mmvi2006-09-261-13/+8
|
* slight change of event handling orderarg@mmvi2006-09-251-6/+6
|
* simplified mouse resizalsarg@mmvi2006-09-251-43/+16
|
* applied sanders jukka patcharg@mmvi2006-09-251-5/+1
|
* applied Jukkas patcharg@mmvi2006-09-251-4/+4
|
* ismax toggling on mouse based actionarg@mmvi2006-09-221-0/+2
|
* patched resizemouse according to sanders remarkarg@mmvi2006-09-221-2/+2
|
* sander check thisarg@mmvi2006-09-221-19/+37
|
* implemented the maximization as I described on the mailinglist, this feels ↵arg@mmvi2006-09-221-2/+2
| | | | better to me.
* added visibility check to enternotify as well 1.6arg@mmvi2006-09-151-1/+1
|
* removed a bunch of lines through making function signatures more consistent ↵Anselm R. Garbe2006-09-121-37/+22
| | | | with my style ( { does not belong to a new line, if function args are single-lined)
* small change to comments, renamed two set* functions in client.c into update*Anselm R. Garbe2006-09-111-2/+2
|
* applied Sanders max_and_focus.patchAnselm R. Garbe2006-09-041-4/+4
|
* simplified buttonpressAnselm R. Garbe2006-09-011-23/+12
|
* applied sanders patchAnselm R. Garbe2006-09-011-5/+8
|
* implemented Button2 press on tags for toggletag on the focused clientAnselm R. Garbe2006-08-311-2/+9
|
* simplified configurerequestAnselm R. Garbe2006-08-291-25/+22
|
* now dwm enforces max screen size also in tiled mode on non-floating clients ↵Anselm R. Garbe2006-08-291-13/+14
| | | | which are maximized
* fixedAnselm R. Garbe2006-08-291-1/+3
|
* configurenotify remembers max geom now, and restores this if necessary, ↵Anselm R. Garbe2006-08-291-1/+11
| | | | however it accepts to touch the max size on configurerequest, this shouldn't break fillscreen apps (tested with mplayer)
* applied sanders focus_ patchesAnselm R. Garbe2006-08-281-1/+1
|
* applied sanders somepatches.patchAnselm R. Garbe2006-08-281-2/+4
|
* trying a different configurationAnselm R. Garbe2006-08-251-13/+11
|
* changed symbols for float/tiled mode, added mouse-driven mode toggle to ↵Anselm R. Garbe2006-08-251-10/+12
| | | | buttonpress()
* new color stuff/new rendering stuffAnselm R. Garbe2006-08-251-1/+3
|
* applied Sanders focus_* patches, removed the unnecessary clean-prefix from ↵Anselm R.Garbe2006-08-211-0/+2
| | | | the new function names
* changed main event loopAnselm R.Garbe2006-08-151-0/+13
|
de'>^
cf1ddc41 ^
8b1da9bb ^
cf1ddc41 ^
8b1da9bb ^
cf1ddc41 ^
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
       
                                                      
                       
                   
              
                    
        
                                                                                        







                                                 

                                                                             







                                                

                                                                             







                                                  















































































                      
 
               
                                  
          
                
                             
 
               
                                  
          
                
                             
 
               
                                  
          
                
                             
 
               
                                  
          
                
                             
 
               
                                  
          
                
                             
 
               
                                  
          
                
                             
 
               
                                  
          
                
                             
 
               
                                  
          
                
                             
== data
Registers:  # (addr stream {(handle array byte), int})
  # a table is a stream
  0x120/imm32/write
  0/imm32/read
  0x120/imm32/length
  # data
  # it is perfectly ok to use fake alloc-ids -- as long as you never try to reclaim them
  0x11/imm32/alloc-id $Register-eax/imm32 0/imm32
  0x11/imm32/alloc-id $Register-ecx/imm32 1/imm32
  0x11/imm32/alloc-id $Register-edx/imm32 2/imm32
  0x11/imm32/alloc-id $Register-ebx/imm32 3/imm32
  0x11/imm32/alloc-id $Register-esp/imm32 4/imm32
  0x11/imm32/alloc-id $Register-ebp/imm32 5/imm32
  0x11/imm32/alloc-id $Register-esi/imm32 6/imm32
  0x11/imm32/alloc-id $Register-edi/imm32 7/imm32
  # for 8-byte registers
  # we don't actually check if these are used when they should be; be careful
  0x11/imm32/alloc-id $Register-al/imm32 0/imm32
  0x11/imm32/alloc-id $Register-cl/imm32 1/imm32
  0x11/imm32/alloc-id $Register-dl/imm32 2/imm32
  0x11/imm32/alloc-id $Register-bl/imm32 3/imm32
  0x11/imm32/alloc-id $Register-ah/imm32 4/imm32
  0x11/imm32/alloc-id $Register-ch/imm32 5/imm32
  0x11/imm32/alloc-id $Register-dh/imm32 6/imm32
  0x11/imm32/alloc-id $Register-bh/imm32 7/imm32
  # for floating-point registers
  # we don't actually check if these are used when they should be; be careful
  0x11/imm32/alloc-id $Register-xmm0/imm32 0/imm32
  0x11/imm32/alloc-id $Register-xmm1/imm32 1/imm32
  0x11/imm32/alloc-id $Register-xmm2/imm32 2/imm32
  0x11/imm32/alloc-id $Register-xmm3/imm32 3/imm32
  0x11/imm32/alloc-id $Register-xmm4/imm32 4/imm32
  0x11/imm32/alloc-id $Register-xmm5/imm32 5/imm32
  0x11/imm32/alloc-id $Register-xmm6/imm32 6/imm32
  0x11/imm32/alloc-id $Register-xmm7/imm32 7/imm32

$Register-eax:
  0x11/imm32/alloc-id
  3/imm32/size
  0x65/e 0x61/a 0x78/x

$Register-ecx:
  0x11/imm32/alloc-id
  3/imm32/size
  0x65/e 0x63/c 0x78/x

$Register-edx:
  0x11/imm32/alloc-id
  3/imm32/size
  0x65/e 0x64/d 0x78/x

$Register-ebx:
  0x11/imm32/alloc-id
  3/imm32/size
  0x65/e 0x62/b 0x78/x

$Register-esp:
  0x11/imm32/alloc-id
  3/imm32/size
  0x65/e 0x73/s 0x70/p

$Register-ebp:
  0x11/imm32/alloc-id
  3/imm32/size
  0x65/e 0x62/b 0x70/p

$Register-esi:
  0x11/imm32/alloc-id
  3/imm32/size
  0x65/e 0x73/s 0x69/i

$Register-edi:
  0x11/imm32/alloc-id
  3/imm32/size
  0x65/e 0x64/d 0x69/i

$Register-al:
  0x11/imm32/alloc-id
  2/imm32/size
  0x61/a 0x6c/l

$Register-cl:
  0x11/imm32/alloc-id
  2/imm32/size
  0x63/c 0x6c/l

$Register-dl:
  0x11/imm32/alloc-id
  2/imm32/size
  0x64/d 0x6c/l

$Register-bl:
  0x11/imm32/alloc-id
  2/imm32/size
  0x62/b 0x6c/l

$Register-ah:
  0x11/imm32/alloc-id
  2/imm32/size
  0x61/a 0x68/h

$Register-ch:
  0x11/imm32/alloc-id
  2/imm32/size
  0x63/c 0x68/h

$Register-dh:
  0x11/imm32/alloc-id
  2/imm32/size
  0x64/d 0x68/h

$Register-bh:
  0x11/imm32/alloc-id
  2/imm32/size
  0x62/b 0x68/h

$Register-xmm0:
  0x11/imm32/alloc-id:fake:payload
  # "xmm0"
  0x4/imm32/size
  0x78/x 0x6d/m 0x6d/m 0x30/0

$Register-xmm1:
  0x11/imm32/alloc-id:fake:payload
  # "xmm1"
  0x4/imm32/size
  0x78/x 0x6d/m 0x6d/m 0x31/1

$Register-xmm2:
  0x11/imm32/alloc-id:fake:payload
  # "xmm2"
  0x4/imm32/size
  0x78/x 0x6d/m 0x6d/m 0x32/2

$Register-xmm3:
  0x11/imm32/alloc-id:fake:payload
  # "xmm3"
  0x4/imm32/size
  0x78/x 0x6d/m 0x6d/m 0x33/3

$Register-xmm4:
  0x11/imm32/alloc-id:fake:payload
  # "xmm4"
  0x4/imm32/size
  0x78/x 0x6d/m 0x6d/m 0x34/4

$Register-xmm5:
  0x11/imm32/alloc-id:fake:payload
  # "xmm5"
  0x4/imm32/size
  0x78/x 0x6d/m 0x6d/m 0x35/5

$Register-xmm6:
  0x11/imm32/alloc-id:fake:payload
  # "xmm6"
  0x4/imm32/size
  0x78/x 0x6d/m 0x6d/m 0x36/6

$Register-xmm7:
  0x11/imm32/alloc-id:fake:payload
  # "xmm7"
  0x4/imm32/size
  0x78/x 0x6d/m 0x6d/m 0x37/7